CVE-2024-21235: Incorrect Range Check in Java HotSpot Compiler
- Vendor
- Oracle Corporation
CVE-2024-21235 is an integer-conversion error in the HotSpot compiler that produces an incorrect range check. It affects Oracle Java SE, Oracle GraalVM for JDK, and Oracle GraalVM Enterprise Edition, as well as corresponding OpenJDK releases. Affected Oracle versions include Java SE 8u421, 8u421-perf, 11.0.24, 17.0.12, 21.0.4, and 23; GraalVM for JDK 17.0.12, 21.0.4, and 23; and GraalVM Enterprise Edition 20.3.15 and 21.3.11. OpenJDK identifies affected release lines 8, 11, 17, 21, and 23. An unauthenticated remote attacker can potentially exploit affected APIs, including through a web service supplying data to those APIs. Deployments executing untrusted sandboxed Java Web Start applications or applets are also affected. Successful exploitation permits limited unauthorized reading and modification of accessible data. Exploitation has high complexity; the CVSS v3.1 base score is 4.8.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can expose a subset of data accessible to the affected Java runtime and permit unauthorized updates, insertion, or deletion of some accessible data. Confidentiality and integrity impacts are rated Low, with no availability impact and unchanged scope under CVSS v3.1. Arbitrary code execution or complete system compromise is not established for this vulnerability.
Mitigation
If you can’t patch tonight, do this now.
No vulnerability-specific workaround is documented. Vendor security updates are the established remediation.
Remediation
Patch, then assume compromise.
Apply the relevant vendor security updates. Oracle Java SE fixes are available in 8u431, 8u431-perf, 11.0.25, 17.0.13, 21.0.5, and 23.0.1. Red Hat OpenJDK fixes are available in 8u432, 11.0.25, 17.0.13, and 21.0.5 through the applicable platform advisories. Eclipse Temurin fixes are available in 8u432-b06, 11.0.25+9, 17.0.13+11, 21.0.5+11, and 23.0.1+11. Use the corresponding vendor-fixed release for affected GraalVM installations. Update bundled Java runtimes through the relevant product vendor's supported update mechanism.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2024-21235 exploited in the wild?
- As of Nov 27, 2026, Mallory has no reports of CVE-2024-21235 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2024-21235?
- As of Nov 27, 2026, Mallory has found no public exploit for CVE-2024-21235.
- Is there a patch for CVE-2024-21235?
- Apply the relevant vendor security updates. Oracle Java SE fixes are available in 8u431, 8u431-perf, 11.0.25, 17.0.13, 21.0.5, and 23.0.1.
- What products are affected by CVE-2024-21235?
- Oracle Corporation Graalvm, Oracle Corporation Java Se, Oracle Corporation Jdk, Oracle Corporation Oracle GraalVM for JDK, and Oracle Corporation Jre.
- How severe is CVE-2024-21235?
- CVE-2024-21235 has a CVSS v3.1 score of 4.8 (Medium) and an EPSS score of 0.79% (53rd percentile) as of Nov 27, 2026.
Recent activity
27 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.