UBUNTU-CVE-2026-22865

Source
https://ubuntu.com/security/CVE-2026-22865
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22865.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-22865
Upstream
Published
2026-01-16T23:15:00Z
Modified
2026-02-23T07:10:12.327138Z
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
  • 7.4 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A: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. An exception like NoHttpResponseException can indicate transient errors. If the errors persist after a maximum number of retries, Gradle would continue to the next repository. This behavior could allow an attacker to disrupt the service of a repository and leverage another repository to serve malicious artifacts. This attack requires the attacker to have control over a repository after the disrupted repository. 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-22865.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-22865.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-22865.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-22865.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-22865.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-22865.json"