cve.bz

CVE-2025-21502 Incorrect Authorization

4.8 mediumEPSS 1.0%

Medium (4.8). EPSS 1.0% estimated probability of exploitation activity in the next 30 days.

On this page
Vulnerability in the Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Hotspot). Supported versions that are affected are Oracle Java SE: 8u431-perf, 11.0.25, 17.0.13, 21.0.5, 23.0.1; Oracle GraalVM for JDK: 17.0.13, 21.0.5, 23.0.1; Oracle GraalVM Enterprise Edition: 20.3.16 and 21.3.12. Difficult to exploit vulnerability allows unauthenticated attacker with network access via multiple protocols to compromise Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition. Successful attacks of this vulnerability can result in unauthorized update, insert or delete access to some of Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition accessible data as well as unauthorized read access to a subset of Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition accessible data. Note: This vulnerability can be exploited by using APIs in the specified Component, e.g., through a web service which supplies data to the APIs. This vulnerability also applies to Java deployments, typically in clients running sandboxed Java Web Start applications or sandboxed Java applets, that load and run untrusted code (e.g., code that comes from the internet) and rely on the Java sandbox for security. CVSS 3.1 Base Score 4.8 (Confidentiality and Integrity impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N).

Severity

CVSS 3.1

4.8 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 63rd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-01-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-863 Incorrect Authorization
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-21502 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-21502?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-21502?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-21502 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
oracle:graalvm20.3.16
oracle:graalvm21.3.12
oracle:graalvm_for_jdk17.0.13
oracle:graalvm_for_jdk21.0.5
oracle:graalvm_for_jdk23.0.1
oracle:jdk1.8.0:update431
oracle:jdk11.0.25
oracle:jdk17.0.13
oracle:jdk21.0.5
oracle:jdk23.0.1
oracle:jre1.8.0:update431
oracle:jre11.0.25
oracle:jre17.0.13
oracle:jre21.0.5
oracle:jre23.0.1
debian:debian_linux11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11openjdk-1111.0.26+4-1~deb11u1DLA-4037-1
Debian11openjdk-1717.0.14+7-1~deb11u1DLA-4043-1
Debian12openjdk-1717.0.14+7-1~deb12u1DEBIAN-CVE-2025-21502 DSA-5857-1
Debian13, 14openjdk-2121.0.6+7-1DEBIAN-CVE-2025-21502
Ubuntu16.04:LTSopenjdk-9no fix listedUBUNTU-CVE-2025-21502
Ubuntu20.04:LTSopenjdk-13, openjdk-16no fix listedUBUNTU-CVE-2025-21502
Ubuntu20.04:LTSopenjdk-1717.0.14+7-1~20.04UBUNTU-CVE-2025-21502 USN-7253-1
Ubuntu20.04:LTSopenjdk-2121.0.6+7-1~20.04.1UBUNTU-CVE-2025-21502 USN-7254-1
Ubuntu20.04:LTSopenjdk-lts11.0.26+4-1ubuntu1~20.04UBUNTU-CVE-2025-21502 USN-7252-1
Ubuntu22.04:LTSopenjdk-1717.0.14+7-1~22.04.1UBUNTU-CVE-2025-21502 USN-7253-1
Ubuntu22.04:LTSopenjdk-18no fix listedUBUNTU-CVE-2025-21502
Ubuntu22.04:LTSopenjdk-2121.0.6+7-1~22.04.1UBUNTU-CVE-2025-21502 USN-7254-1
Ubuntu22.04:LTSopenjdk-lts11.0.26+4-1ubuntu1~22.04UBUNTU-CVE-2025-21502 USN-7252-1
Ubuntu24.04:LTSopenjdk-1717.0.14+7-1~24.04UBUNTU-CVE-2025-21502 USN-7253-1
Ubuntu24.04:LTSopenjdk-2121.0.6+7-1~24.04.1UBUNTU-CVE-2025-21502 USN-7254-1
Ubuntu24.04:LTSopenjdk-lts11.0.26+4-1ubuntu1~24.04UBUNTU-CVE-2025-21502 USN-7252-1
2 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::appstreamjava-21-openjdk, java-21-openjdk-src, java-21-openjdk-demo and 10 more1:21.0.6.0.7-1.el8RHSA-2025:0426
Red Hatenterprise_linux:8::appstream, rhel_eus:8.8::appstreamjava-17-openjdk, java-17-openjdk-src, java-17-openjdk-demo and 10 more1:17.0.14.0.7-3.el8RHSA-2025:0422
Red Hatenterprise_linux:8::crbjava-21-openjdk-debuginfo, java-21-openjdk-fastdebug, java-21-openjdk-slowdebug and 21 more1:21.0.6.0.7-1.el8RHSA-2025:0426
Red Hatenterprise_linux:8::crb, rhel_eus:8.8::crbjava-17-openjdk-debuginfo, java-17-openjdk-fastdebug, java-17-openjdk-slowdebug and 21 more1:17.0.14.0.7-3.el8RHSA-2025:0422
Red Hatenterprise_linux:8::supplementaryjava-1.8.0-ibm, java-1.8.0-ibm-src, java-1.8.0-ibm-demo and 5 more1:1.8.0.8.40-1.el8_10RHSA-2025:2615
Red Hatenterprise_linux:9::appstream, rhel_eus:9.4::appstreamjava-17-openjdk, java-17-openjdk-src, java-17-openjdk-demo and 10 more1:17.0.14.0.7-2.el9RHSA-2025:0422
Red Hatenterprise_linux:9::appstream, rhel_eus:9.4::appstreamjava-21-openjdk, java-21-openjdk-src, java-21-openjdk-demo and 10 more1:21.0.6.0.7-1.el9RHSA-2025:0426
Red Hatenterprise_linux:9::crb, rhel_eus:9.4::crbjava-17-openjdk-debuginfo, java-17-openjdk-fastdebug, java-17-openjdk-slowdebug and 21 more1:17.0.14.0.7-2.el9RHSA-2025:0422
Red Hatenterprise_linux:9::crb, rhel_eus:9.4::crbjava-21-openjdk-debuginfo, java-21-openjdk-fastdebug, java-21-openjdk-slowdebug and 21 more1:21.0.6.0.7-1.el9RHSA-2025:0426
Red Hatopenjdk_els:11::el7java-11-openjdk, java-11-openjdk-src, java-11-openjdk-demo and 16 more1:11.0.26.0.4-1.el7_9RHSA-2025:0429
Red Hatopenjdk_els:11::el8java-11-openjdk, java-11-openjdk-src, java-11-openjdk-demo and 30 more1:11.0.26.0.4-1.el8RHSA-2025:0429
Red Hatopenjdk_els:11::el9java-11-openjdk, java-11-openjdk-src, java-11-openjdk-demo and 30 more1:11.0.26.0.4-1.el9RHSA-2025:0429
5 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 13 morejava-11-openjdk11.0.26.0-150000.3.122.1SUSE-SU-2025:0338-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 8 morejava-1_8_0-ibm1.8.0_sr8.40-150000.3.98.1SUSE-SU-2025:0674-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 9 morejava-17-openjdk17.0.14.0-150400.3.51.1SUSE-SU-2025:0339-1
SUSELinux Enterprise Module for Basesystem 15 SP6java-21-openjdk21.0.6.0-150600.3.9.1SUSE-SU-2025:0279-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5java-11-openjdk11.0.26.0-3.84.1SUSE-SU-2025:0235-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5java-1_8_0-ibm1.8.0_sr8.40-30.132.1SUSE-SU-2025:0675-1
SUSEPackage Hub 15 SP6java-11-openj911.0.26.0-bp156.4.3.1openSUSE-SU-2025:0066-1
SUSEPackage Hub 15 SP6java-17-openj917.0.14.0-bp156.3.3.1openSUSE-SU-2025:0067-1
openSUSELeap 15.6java-11-openj911.0.26.0-bp156.4.3.1openSUSE-SU-2025:0066-1
openSUSELeap 15.6java-11-openjdk11.0.26.0-150000.3.122.1SUSE-SU-2025:0338-1
openSUSELeap 15.6java-17-openj917.0.14.0-bp156.3.3.1openSUSE-SU-2025:0067-1
openSUSELeap 15.6java-17-openjdk17.0.14.0-150400.3.51.1SUSE-SU-2025:0339-1
openSUSELeap 15.6java-1_8_0-ibm1.8.0_sr8.40-150000.3.98.1SUSE-SU-2025:0674-1
openSUSELeap 15.6java-21-openjdk21.0.6.0-150600.3.9.1SUSE-SU-2025:0279-1
openSUSELeap 16.0java-17-openj917.0.19.0-bp160.1.1openSUSE-SU-2026:20943-1
openSUSELeap 16.0java-21-openj921.0.11.0-bp160.1.1openSUSE-SU-2026:20947-1
openSUSETumbleweedjava-11-openj911.0.26.0-1.1openSUSE-SU-2025:14747-1
openSUSETumbleweedjava-11-openjdk11.0.26.0-1.1openSUSE-SU-2025:14685-1
openSUSETumbleweedjava-17-openj917.0.14.0-1.1openSUSE-SU-2025:14748-1
openSUSETumbleweedjava-17-openjdk17.0.14.0-1.1openSUSE-SU-2025:14682-1
3 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8java-17-openjdk, java-17-openjdk-src, java-17-openjdk-demo and 20 more1:17.0.14.0.7-3.el8ALSA-2025:0422
AlmaLinux8java-21-openjdk, java-21-openjdk-src, java-21-openjdk-demo and 20 more1:21.0.6.0.7-1.el8ALSA-2025:0426
AlmaLinux9java-17-openjdk, java-17-openjdk-src, java-17-openjdk-demo and 20 more1:17.0.14.0.7-2.el9.alma.1ALSA-2025:0422
AlmaLinux9java-21-openjdk, java-21-openjdk-src, java-21-openjdk-demo and 20 more1:21.0.6.0.7-1.el9.alma.1ALSA-2025:0426
Rocky Linux8java-17-openjdk1:17.0.14.0.7-3.el8RLSA-2025:0422
Rocky Linux8java-21-openjdk1:21.0.6.0.7-1.el8RLSA-2025:0426
Rocky Linux9java-21-openjdk1:21.0.6.0.7-1.el9RLSA-2025:0426
Alpinev3.19, v3.20, v3.21 and 3 moreopenjdk1111.0.26_p4-r0ALPINE-CVE-2025-21502
Alpinev3.19, v3.20, v3.21 and 3 moreopenjdk1717.0.14_p7-r0ALPINE-CVE-2025-21502
Alpinev3.19, v3.20, v3.21 and 3 moreopenjdk2121.0.6_p7-r0ALPINE-CVE-2025-21502

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

MODERATE impact affects some Red Hat Enterprise Linux products using OpenJDK and IBM Java. An unauthenticated attacker with network access via multiple protocols may exploit APIs supplied through a web service to cause unauthorized update, insertion, or deletion of accessible Java SE data. The underlying issue is a C2 compiler optimization that incorrectly assumes an unsigned comparison is always true, including when m == -1. The current scope is product- and stream-specific: entries for java-11-openjdk and java-1.8.0-ibm are marked AFFECTED, while multiple java-1.8.0-openjdk entries are marked NOTAFFECTED; other entries are NEW or DELEGATED. The upstream and Red Hat CVSS scores are both 4.8 (MODERATE).

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Build of OpenJDK 17.0.14Fixed 2025-01-22RHSA-2025:0424
Red Hat Build of OpenJDK 17.0.14Fixed 2025-01-22RHSA-2025:0425
Red Hat Build of OpenJDK 21.0.6Fixed 2025-01-22RHSA-2025:0427
Red Hat Build of OpenJDK 21.0.6Fixed 2025-01-22RHSA-2025:0428
Red Hat Build of OpenJDK 8u432Fixed 2025-01-22RHBA-2025:0419
Red Hat Build of OpenJDK 8u432Fixed 2025-01-22RHBA-2025:0420
Red Hat Enterprise Linux 8java-17-openjdk-1:17.0.14.0.7-3.el8Fixed 2025-01-22RHSA-2025:0422
Red Hat Enterprise Linux 8java-21-openjdk-1:21.0.6.0.7-1.el8Fixed 2025-01-22RHSA-2025:0426
Red Hat Enterprise Linux 8java-1.8.0-ibm-1:1.8.0.8.40-1.el8_10Fixed 2025-03-11RHSA-2025:2615
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportjava-17-openjdk-1:17.0.14.0.7-1.el8_4Fixed 2025-01-22RHSA-2025:0421
Red Hat build of OpenJDK 11java-11-openjdk-portableAffected
Red Hat build of OpenJDK 11java-11-openjdk-windowsAffected
Red Hat build of OpenJDK 17java-17-openjdk-portableAffected
Red Hat build of OpenJDK 17java-17-openjdk-windowsAffected
Red Hat build of OpenJDK 1.8java-1.8.0-openjdk-portableNot affected
Red Hat build of OpenJDK 1.8java-1.8.0-openjdk-windowsNot affected
Red Hat build of OpenJDK 21java-21-openjdk-portableAffected
Red Hat build of OpenJDK 21java-21-openjdk-windowsAffected
Red Hat Enterprise Linux 10java-21-openjdkNot affected
Red Hat Enterprise Linux 6java-1.6.0-openjdkOut of support scope
26 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-21502.

References

Check your stackJSON