{"cve":"CVE-2026-89425","nvd":{"published":"2026-09-23T03:17:04.357","modified":"2026-09-24T20:43:32.537","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-400","CWE-770"],"references":["https://github.com/FasterXML/jackson-core/pull/1698","https://github.com/FasterXML/jackson-core/security/advisories/GHSA-7hhh-6rmp-j9qf","https://github.com/FasterXML/jackson-core/security/advisories/GHSA-7hhh-6rmp-j9qf"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:56:02.509636177+00:00"},"epss":{"cve":"CVE-2026-89425","score":0.00532,"percentile":0.44997,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-7hhh-6rmp-j9qf","url":"https://osv.dev/vulnerability/GHSA-7hhh-6rmp-j9qf","summary":"jackson-core: UTF8DataInputJsonParser._reportInvalidToken() missing maxErrorTokenLength limit -> unbounded StringBuilder growth (DoS)","modified":"2026-10-01T15:30:05.552671898Z","packages":[{"ecosystem":"Maven","name":"com.fasterxml.jackson.core:jackson-core","purl":"pkg:maven/com.fasterxml.jackson.core/jackson-core","ranges":[">=2.19.0 <2.21.7"],"fixed":["2.21.7"]},{"ecosystem":"Maven","name":"com.fasterxml.jackson.core:jackson-core","purl":"pkg:maven/com.fasterxml.jackson.core/jackson-core","ranges":[">=2.22.0 <2.22.3"],"fixed":["2.22.3"]},{"ecosystem":"Maven","name":"tools.jackson.core:jackson-core","purl":"pkg:maven/tools.jackson.core/jackson-core","ranges":[">=3.0.0 <3.1.7"],"fixed":["3.1.7"]},{"ecosystem":"Maven","name":"tools.jackson.core:jackson-core","purl":"pkg:maven/tools.jackson.core/jackson-core","ranges":[">=3.2.0 <3.2.3"],"fixed":["3.2.3"]},{"ecosystem":"Maven","name":"com.fasterxml.jackson.core:jackson-core","purl":"pkg:maven/com.fasterxml.jackson.core/jackson-core","ranges":[">=2.8.0 <2.18.11"],"fixed":["2.18.11"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}