USN-7885-1

Source
https://ubuntu.com/security/notices/USN-7885-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7885-1.json
JSON Data
https://api.test.osv.dev/v1/vulns/USN-7885-1
Upstream
Related
Published
2025-11-24T12:14:30.425780Z
Modified
2025-11-26T10:59:31.239119Z
Summary
openjdk-21 vulnerabilities
Details

Jinfeng Guo discovered that the Security component of OpenJDK 21 did not correctly handle certain representations of encoded strings. An unauthenticated remote attacker could possibly use this issue to modify files or leak sensitive information. (CVE-2025-53057)

Darius Bohni discovered that the JAXP component of OpenJDK 21 was vulnerable to a XML External Entity (XEE) attack. An unauthenticated remote attacker could possibly use this issue to modify files or leak sensitive information. (CVE-2025-53066)

Yakov Shafranovich discovered that the Libraries component of OpenJDK 21 contained an issue where certain Strings built with StringBuilder returned an incorrect result for String.equals() checks. An unauthenticated remote attacker could possibly use this issue to update, insert, or delete accessible data. (CVE-2025-61748)

In addition to security fixes, the updated packages contain bug fixes, new features, and possibly incompatible changes.

Please see the following for more information: https://openjdk.org/groups/vulnerability/advisories/2025-10-21

References

Affected packages

Ubuntu:Pro:20.04:LTS / openjdk-21

Package

Name
openjdk-21
Purl
pkg:deb/ubuntu/openjdk-21@21.0.9+10-1~20.04?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
21.0.9+10-1~20.04

Affected versions

21.*

21.0.1+12-2~20.04.1
21.0.2+13-1~20.04.1
21.0.3+9-1ubuntu1~20.04.1
21.0.4+7-1ubuntu2~20.04
21.0.5+11-1ubuntu1~20.04
21.0.6+7-1~20.04.1
21.0.7+6~us1-0ubuntu1~20.04
21.0.8+9~us1-0ubuntu1~20.04.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "openjdk-21-demo",
            "binary_version": "21.0.9+10-1~20.04"
        },
        {
            "binary_name": "openjdk-21-jdk",
            "binary_version": "21.0.9+10-1~20.04"
        },
        {
            "binary_name": "openjdk-21-jdk-headless",
            "binary_version": "21.0.9+10-1~20.04"
        },
        {
            "binary_name": "openjdk-21-jre",
            "binary_version": "21.0.9+10-1~20.04"
        },
        {
            "binary_name": "openjdk-21-jre-headless",
            "binary_version": "21.0.9+10-1~20.04"
        },
        {
            "binary_name": "openjdk-21-jre-zero",
            "binary_version": "21.0.9+10-1~20.04"
        },
        {
            "binary_name": "openjdk-21-source",
            "binary_version": "21.0.9+10-1~20.04"
        },
        {
            "binary_name": "openjdk-21-testsupport",
            "binary_version": "21.0.9+10-1~20.04"
        }
    ],
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}

Database specific

cves_map

{
    "ecosystem": "Ubuntu:Pro:20.04:LTS",
    "cves": [
        {
            "severity": [
                {
                    "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
                    "type": "CVSS_V3"
                },
                {
                    "score": "medium",
                    "type": "Ubuntu"
                }
            ],
            "id": "CVE-2025-53057"
        },
        {
            "severity": [
                {
                    "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N",
                    "type": "CVSS_V3"
                },
                {
                    "score": "medium",
                    "type": "Ubuntu"
                }
            ],
            "id": "CVE-2025-61748"
        }
    ]
}

Ubuntu:22.04:LTS / openjdk-21

Package

Name
openjdk-21
Purl
pkg:deb/ubuntu/openjdk-21@21.0.9+10-1~22.04?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
21.0.9+10-1~22.04

Affected versions

21.*

21.0.1+12-2~22.04
21.0.2+13-1~22.04.1
21.0.3+9-1ubuntu1~22.04.1
21.0.4+7-1ubuntu2~22.04
21.0.5+11-1ubuntu1~22.04
21.0.6+7-1~22.04.1
21.0.7+6~us1-0ubuntu1~22.04
21.0.8+9~us1-0ubuntu1~22.04.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "openjdk-21-demo",
            "binary_version": "21.0.9+10-1~22.04"
        },
        {
            "binary_name": "openjdk-21-jdk",
            "binary_version": "21.0.9+10-1~22.04"
        },
        {
            "binary_name": "openjdk-21-jdk-headless",
            "binary_version": "21.0.9+10-1~22.04"
        },
        {
            "binary_name": "openjdk-21-jre",
            "binary_version": "21.0.9+10-1~22.04"
        },
        {
            "binary_name": "openjdk-21-jre-headless",
            "binary_version": "21.0.9+10-1~22.04"
        },
        {
            "binary_name": "openjdk-21-jre-zero",
            "binary_version": "21.0.9+10-1~22.04"
        },
        {
            "binary_name": "openjdk-21-source",
            "binary_version": "21.0.9+10-1~22.04"
        },
        {
            "binary_name": "openjdk-21-testsupport",
            "binary_version": "21.0.9+10-1~22.04"
        }
    ],
    "availability": "No subscription required"
}

Database specific

cves_map

{
    "ecosystem": "Ubuntu:22.04:LTS",
    "cves": [
        {
            "severity": [
                {
                    "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
                    "type": "CVSS_V3"
                },
                {
                    "score": "medium",
                    "type": "Ubuntu"
                }
            ],
            "id": "CVE-2025-53057"
        },
        {
            "severity": [
                {
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
                    "type": "CVSS_V3"
                },
                {
                    "score": "medium",
                    "type": "Ubuntu"
                }
            ],
            "id": "CVE-2025-53066"
        },
        {
            "severity": [
                {
                    "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N",
                    "type": "CVSS_V3"
                },
                {
                    "score": "medium",
                    "type": "Ubuntu"
                }
            ],
            "id": "CVE-2025-61748"
        }
    ]
}

Ubuntu:24.04:LTS / openjdk-21

Package

Name
openjdk-21
Purl
pkg:deb/ubuntu/openjdk-21@21.0.9+10-1~24.04?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
21.0.9+10-1~24.04

Affected versions

Other

21+35-1

21.*

21.0.1+12-2
21.0.1+12-3
21.0.2+13-1
21.0.2+13-2
21.0.3~7ea-1
21.0.3~7ea-1build1
21.0.3~7ea-1build2
21.0.3+9-1
21.0.3+9-1ubuntu1
21.0.4+7-1ubuntu2~24.04
21.0.5+11-1ubuntu1~24.04
21.0.6+7-1~24.04.1
21.0.7+6~us1-0ubuntu1~24.04
21.0.8+9~us1-0ubuntu1~24.04.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "openjdk-21-demo",
            "binary_version": "21.0.9+10-1~24.04"
        },
        {
            "binary_name": "openjdk-21-jdk",
            "binary_version": "21.0.9+10-1~24.04"
        },
        {
            "binary_name": "openjdk-21-jdk-headless",
            "binary_version": "21.0.9+10-1~24.04"
        },
        {
            "binary_name": "openjdk-21-jre",
            "binary_version": "21.0.9+10-1~24.04"
        },
        {
            "binary_name": "openjdk-21-jre-headless",
            "binary_version": "21.0.9+10-1~24.04"
        },
        {
            "binary_name": "openjdk-21-jre-zero",
            "binary_version": "21.0.9+10-1~24.04"
        },
        {
            "binary_name": "openjdk-21-source",
            "binary_version": "21.0.9+10-1~24.04"
        },
        {
            "binary_name": "openjdk-21-testsupport",
            "binary_version": "21.0.9+10-1~24.04"
        }
    ],
    "availability": "No subscription required"
}

Database specific

cves_map

{
    "ecosystem": "Ubuntu:24.04:LTS",
    "cves": [
        {
            "severity": [
                {
                    "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
                    "type": "CVSS_V3"
                },
                {
                    "score": "medium",
                    "type": "Ubuntu"
                }
            ],
            "id": "CVE-2025-53057"
        },
        {
            "severity": [
                {
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
                    "type": "CVSS_V3"
                },
                {
                    "score": "medium",
                    "type": "Ubuntu"
                }
            ],
            "id": "CVE-2025-53066"
        },
        {
            "severity": [
                {
                    "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N",
                    "type": "CVSS_V3"
                },
                {
                    "score": "medium",
                    "type": "Ubuntu"
                }
            ],
            "id": "CVE-2025-61748"
        }
    ]
}

Ubuntu:25.10 / openjdk-21

Package

Name
openjdk-21
Purl
pkg:deb/ubuntu/openjdk-21@21.0.9+10-1~25.10?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
21.0.9+10-1~25.10

Affected versions

21.*

21.0.7~8ea-1
21.0.7+6-1
21.0.8~5ea-1
21.0.8+9~us1-0ubuntu1
21.0.8+9-1
21.0.9~5ea-1
21.0.9~8ea-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "openjdk-21-demo",
            "binary_version": "21.0.9+10-1~25.10"
        },
        {
            "binary_name": "openjdk-21-jdk",
            "binary_version": "21.0.9+10-1~25.10"
        },
        {
            "binary_name": "openjdk-21-jdk-headless",
            "binary_version": "21.0.9+10-1~25.10"
        },
        {
            "binary_name": "openjdk-21-jre",
            "binary_version": "21.0.9+10-1~25.10"
        },
        {
            "binary_name": "openjdk-21-jre-headless",
            "binary_version": "21.0.9+10-1~25.10"
        },
        {
            "binary_name": "openjdk-21-jre-zero",
            "binary_version": "21.0.9+10-1~25.10"
        },
        {
            "binary_name": "openjdk-21-source",
            "binary_version": "21.0.9+10-1~25.10"
        },
        {
            "binary_name": "openjdk-21-testsupport",
            "binary_version": "21.0.9+10-1~25.10"
        }
    ],
    "availability": "No subscription required"
}

Database specific

cves_map

{
    "ecosystem": "Ubuntu:25.10",
    "cves": [
        {
            "severity": [
                {
                    "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
                    "type": "CVSS_V3"
                },
                {
                    "score": "medium",
                    "type": "Ubuntu"
                }
            ],
            "id": "CVE-2025-53057"
        },
        {
            "severity": [
                {
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
                    "type": "CVSS_V3"
                },
                {
                    "score": "medium",
                    "type": "Ubuntu"
                }
            ],
            "id": "CVE-2025-53066"
        },
        {
            "severity": [
                {
                    "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N",
                    "type": "CVSS_V3"
                },
                {
                    "score": "medium",
                    "type": "Ubuntu"
                }
            ],
            "id": "CVE-2025-61748"
        }
    ]
}

Ubuntu:25.04 / openjdk-21

Package

Name
openjdk-21
Purl
pkg:deb/ubuntu/openjdk-21@21.0.9+10-1~25.04?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
21.0.9+10-1~25.04

Affected versions

21.*

21.0.5~8ea-1
21.0.5+11-1
21.0.6~6ea-1ubuntu2
21.0.6+7-1
21.0.7~7ea-1
21.0.7~8ea-1
21.0.7+6~us1-0ubuntu1~25.04
21.0.8+9~us1-0ubuntu1~25.04.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "openjdk-21-demo",
            "binary_version": "21.0.9+10-1~25.04"
        },
        {
            "binary_name": "openjdk-21-jdk",
            "binary_version": "21.0.9+10-1~25.04"
        },
        {
            "binary_name": "openjdk-21-jdk-headless",
            "binary_version": "21.0.9+10-1~25.04"
        },
        {
            "binary_name": "openjdk-21-jre",
            "binary_version": "21.0.9+10-1~25.04"
        },
        {
            "binary_name": "openjdk-21-jre-headless",
            "binary_version": "21.0.9+10-1~25.04"
        },
        {
            "binary_name": "openjdk-21-jre-zero",
            "binary_version": "21.0.9+10-1~25.04"
        },
        {
            "binary_name": "openjdk-21-source",
            "binary_version": "21.0.9+10-1~25.04"
        },
        {
            "binary_name": "openjdk-21-testsupport",
            "binary_version": "21.0.9+10-1~25.04"
        }
    ],
    "availability": "No subscription required"
}

Database specific

cves_map

{
    "ecosystem": "Ubuntu:25.04",
    "cves": [
        {
            "severity": [
                {
                    "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N",
                    "type": "CVSS_V3"
                },
                {
                    "score": "medium",
                    "type": "Ubuntu"
                }
            ],
            "id": "CVE-2025-53057"
        },
        {
            "severity": [
                {
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
                    "type": "CVSS_V3"
                },
                {
                    "score": "medium",
                    "type": "Ubuntu"
                }
            ],
            "id": "CVE-2025-53066"
        },
        {
            "severity": [
                {
                    "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N",
                    "type": "CVSS_V3"
                },
                {
                    "score": "medium",
                    "type": "Ubuntu"
                }
            ],
            "id": "CVE-2025-61748"
        }
    ]
}