Skip to main content
Mallory
LowVulnerability

CVE-2024-21217: Unbounded Memory Allocation in Java MessageFormat

Published Oct 15, 2024 · Updated today
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days17 mentions · peak 14 in a dayToday
CVSS3.7Low · v3.1
EPSS1.2%68th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Oracle Corporation
IdentifiersCVE-2024-21217CWE-789

CVE-2024-21217 is an unbounded memory allocation vulnerability in the Serialization component of Oracle Java SE, Oracle GraalVM for JDK, and Oracle GraalVM Enterprise Edition, also affecting OpenJDK. Excessively large ArgumentIndex values in java.text.MessageFormat can cause an out-of-memory error and partial denial of service. The affected functionality includes MessageFormat pattern processing and deserialization. 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. An unauthenticated network attacker can exploit applications exposing the affected APIs to attacker-controlled data. Sandboxed Java Web Start applications and applets running untrusted code are also exposed. Exploitation has high complexity.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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 exhaust memory in the affected Java runtime, resulting in an out-of-memory error and partial denial of service. The assessed impact is limited to availability, with no confidentiality or integrity impact. The CVSS v3.1 base score is 3.7, with vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L.

Mitigation

If you can’t patch tonight, do this now.

No vendor-confirmed workaround is specified. As defense in depth pending an update, prevent untrusted inputs from reaching MessageFormat pattern processing or deserialization, validate externally supplied patterns to reject ArgumentIndex values of 10,000 or greater, and restrict access to services exposing affected APIs. Avoid running untrusted Java applets or Java Web Start applications. These measures are not substitutes for installing the security update.

Remediation

Patch, then assume compromise.

Apply the vendor security update for the deployed Java distribution. Fixed Oracle Java SE releases include 8u431, 8u431-perf, 11.0.25, 17.0.13, 21.0.5, and 23.0.1. Fixed Red Hat OpenJDK releases include 8u432, 11.0.25, 17.0.13, and 21.0.5. Apply the corresponding Oracle updates for affected GraalVM products; exact fixed GraalVM versions are not specified. The fix limits MessageFormat ArgumentIndex values to less than 10,000: constructors, applyPattern, and the static format method reject excessive values with IllegalArgumentException, while deserialization rejects them with InvalidObjectException.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

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.

VendorProductType
Oracle CorporationGraalvmapplication
Oracle CorporationJava Seapplication
Oracle CorporationJdkapplication
Oracle CorporationJreapplication
Oracle CorporationOracle GraalVM for JDKapplication
FAQ

Frequently asked questions

Is CVE-2024-21217 exploited in the wild?
As of Nov 27, 2026, Mallory has no reports of CVE-2024-21217 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2024-21217?
As of Nov 27, 2026, Mallory has found no public exploit for CVE-2024-21217.
Is there a patch for CVE-2024-21217?
Apply the vendor security update for the deployed Java distribution. Fixed Oracle Java SE releases include 8u431, 8u431-perf, 11.0.25, 17.0.13, 21.0.5, and 23.0.1.
What products are affected by CVE-2024-21217?
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-21217?
CVE-2024-21217 has a CVSS v3.1 score of 3.7 (Low) and an EPSS score of 1.2% (68th percentile) as of Nov 27, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.