CVE-2026-89425 Details
Description
UTF8DataInputJsonParser._reportInvalidToken() in FasterXML jackson-core builds the offending-token text for its error message by appending Java identifier characters to a StringBuilder in a loop that has no upper bound. Unlike the three sibling parser implementations, including UTF8StreamJsonParser, it never consults ErrorReportConfiguration.getMaxErrorTokenLength() (default 256). A malformed token supplied to a parser created through JsonFactory.createParser(DataInput) is therefore accumulated in full. No StreamReadConstraints setting mitigates this: maxDocumentLength cannot be applied to DataInput sources at all, and maxStringLength does not cover this path because the accumulation bypasses ReadConstrainedTextBuffer. The reporter measured a 20,000,109-character exception message from a 20-million-character malformed token on the DataInput path, against 367 characters for identical input on the InputStream path. Scaling the payload drives the StringBuilder, which also incurs byte-to-char expansion and internal array doubling, to many times the raw payload size and can trigger OutOfMemoryError for the whole JVM. UTF8DataInputJsonParser was introduced in 2.8.0 together with createParser(DataInput); releases before 2.8.0 do not contain the affected class.
A denial-of-service vulnerability has been identified in FasterXML Jackson-Core versions 2.8.0 through 2.18.10, 2.19.0 through 2.21.6, and 2.22.0 through 2.22.2. The issue arises in the UTF8DataInputJsonParser component, where the method _reportInvalidToken() improperly handles malformed tokens. Unlike other parser implementations, this method does not enforce a maximum token length, leading to unbounded growth of the error message. This flaw can be exploited by supplying a malformed token through the JsonFactory.createParser(DataInput) method, causing excessive memory consumption that can trigger an OutOfMemoryError, affecting the entire Java Virtual Machine process.
Users can upgrade to FasterXML Jackson-Core versions 2.18.11, 2.21.7, 2.22.3, 3.1.7, or 3.2.3, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 23, 2026CISA-ADP
Assessed Sep 23, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/FasterXML/jackson-core/security/advisories/GHSA-7hhh-6rmp-j9qf | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/FasterXML/jackson-core/pull/1698 | HeroDevs | Source CodeVendor |
| https://github.com/FasterXML/jackson-core/security/advisories/GHSA-7hhh-6rmp-j9qf | HeroDevs | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | HeroDevs |
| CWE-770 | Allocation of Resources Without Limits or Throttling | HeroDevs |
Affected Products
| Product | Versions |
|---|---|
| FasterXML jackson-core | >= 2.8.0, <= 2.18.10 (semver) >= 2.19.0, <= 2.21.6 (semver) >= 2.22.0, <= 2.22.2 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 23, 2026 | CVE Modified | CISA-ADP |
| Sep 23, 2026 | New CVE Received | HeroDevs |
Volerion