UBUNTU-CVE-2026-22816

Source
https://ubuntu.com/security/CVE-2026-22816
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22816.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-22816
Upstream
Published
2026-01-16T23:15:00Z
Modified
2026-01-21T18:27:50.652746Z
Severity
  • 8.6 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:H/SA:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Gradle is a build automation tool, and its native-platform tool provides Java bindings for native APIs. When resolving dependencies in versions before 9.3.0, some exceptions were not treated as fatal errors and would not cause a repository to be disabled. If a build encountered one of these exceptions, Gradle would continue to the next repository in the list and potentially resolve dependencies from a different repository. If a Gradle build used an unresolvable host name, Gradle would continue to work as long as all dependencies could be resolved from another repository. An unresolvable host name could be caused by allowing a repository's domain name registration to lapse or typo-ing the real domain name. This behavior could allow an attacker to register a service under the host name used by the build and serve malicious artifacts. The attack requires the repository to be listed before others in the build configuration. Gradle has introduced a change in behavior in Gradle 9.3.0 to stop searching other repositories when encountering these errors.

References

Affected packages

Ubuntu:16.04:LTS

gradle

Package

Name
gradle
Purl
pkg:deb/ubuntu/gradle@2.10-1?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.5-3
2.7-1
2.7-2
2.7-3
2.10-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "gradle",
            "binary_version": "2.10-1"
        },
        {
            "binary_name": "libgradle-core-java",
            "binary_version": "2.10-1"
        },
        {
            "binary_name": "libgradle-plugins-java",
            "binary_version": "2.10-1"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22816.json"

Ubuntu:20.04:LTS

gradle

Package

Name
gradle
Purl
pkg:deb/ubuntu/gradle@4.4.1-10?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.4.1-8
4.4.1-9
4.4.1-10

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "gradle",
            "binary_version": "4.4.1-10"
        },
        {
            "binary_name": "libgradle-core-java",
            "binary_version": "4.4.1-10"
        },
        {
            "binary_name": "libgradle-plugins-java",
            "binary_version": "4.4.1-10"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22816.json"

Ubuntu:22.04:LTS

gradle

Package

Name
gradle
Purl
pkg:deb/ubuntu/gradle@4.4.1-13?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.4.1-13

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "gradle",
            "binary_version": "4.4.1-13"
        },
        {
            "binary_name": "libgradle-core-java",
            "binary_version": "4.4.1-13"
        },
        {
            "binary_name": "libgradle-plugins-java",
            "binary_version": "4.4.1-13"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22816.json"

Ubuntu:24.04:LTS

gradle

Package

Name
gradle
Purl
pkg:deb/ubuntu/gradle@4.4.1-20?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.4.1-18
4.4.1-20

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "gradle",
            "binary_version": "4.4.1-20"
        },
        {
            "binary_name": "libgradle-core-java",
            "binary_version": "4.4.1-20"
        },
        {
            "binary_name": "libgradle-plugins-java",
            "binary_version": "4.4.1-20"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22816.json"

Ubuntu:25.10

gradle

Package

Name
gradle
Purl
pkg:deb/ubuntu/gradle@4.4.1-22?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.4.1-22

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "gradle",
            "binary_version": "4.4.1-22"
        },
        {
            "binary_name": "libgradle-core-java",
            "binary_version": "4.4.1-22"
        },
        {
            "binary_name": "libgradle-plugins-java",
            "binary_version": "4.4.1-22"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22816.json"

Ubuntu:Pro:18.04:LTS

gradle

Package

Name
gradle
Purl
pkg:deb/ubuntu/gradle@4.4.1-5ubuntu2~18.04+esm1?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.2.1-3build2
3.2.1-4
3.2.1-5
3.4.1-4
3.4.1-6
3.4.1-7ubuntu1

4.*

4.4.1-5ubuntu2~18.04
4.4.1-5ubuntu2~18.04+esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "gradle",
            "binary_version": "4.4.1-5ubuntu2~18.04+esm1"
        },
        {
            "binary_name": "libgradle-core-java",
            "binary_version": "4.4.1-5ubuntu2~18.04+esm1"
        },
        {
            "binary_name": "libgradle-plugins-java",
            "binary_version": "4.4.1-5ubuntu2~18.04+esm1"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22816.json"