{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-89425","id":"CVE-2026-89425","title":"jackson-core: UTF8DataInputJsonParser._reportInvalidToken() does not honor maxErrorTokenLength, allowing unbounded StringBuilder growth","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 toke","descriptionLong":"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.","published":"2026-09-23T02:06:10.571Z","updated":"2026-11-16T18:12:20.104487024Z","reserved":"2026-09-11T18:31:50.311Z","status":"Deferred","rejected":false,"assigner":"HeroDevs","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"HeroDevs"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"HeroDevs"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"36c7be3b-2937-45df-85ea-ca7133ea542c"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["FasterXML jackson-core"],"affectedProducts":[{"vendor":"FasterXML","product":"jackson-core","defaultStatus":"unaffected","versions":[{"status":"affected","version":"2.8.0","lessThanOrEqual":"2.18.10","versionType":"maven"},{"status":"affected","version":"2.19.0","lessThanOrEqual":"2.21.6","versionType":"maven"},{"status":"affected","version":"2.22.0","lessThanOrEqual":"2.22.2","versionType":"maven"}],"platforms":[]},{"vendor":"FasterXML","product":"jackson-core","defaultStatus":"unaffected","versions":[{"status":"affected","version":"3.0.0","lessThanOrEqual":"3.1.6","versionType":"maven"},{"status":"affected","version":"3.2.0","lessThanOrEqual":"3.2.2","versionType":"maven"}],"platforms":[]}],"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",">=2.22.0 <2.22.3",">=2.8.0 <2.18.11"],"fixed":["2.21.7","2.22.3","2.18.11"],"advisory":"GHSA-7hhh-6rmp-j9qf"},{"ecosystem":"Maven","name":"tools.jackson.core:jackson-core","purl":"pkg:maven/tools.jackson.core/jackson-core","ranges":[">=3.0.0 <3.1.7",">=3.2.0 <3.2.3"],"fixed":["3.1.7","3.2.3"],"advisory":"GHSA-7hhh-6rmp-j9qf"}],"cwes":["CWE-770","CWE-400"],"aliases":["GHSA-7hhh-6rmp-j9qf"],"references":[{"url":"https://github.com/FasterXML/jackson-core/security/advisories/GHSA-7hhh-6rmp-j9qf","tags":["vendor-advisory","exploit","advisory","web"]},{"url":"https://github.com/FasterXML/jackson-core/pull/1698","tags":["patch","fix","web"]},{"url":"https://repo1.maven.org/maven2","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89425.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89425","tags":["advisory"]},{"url":"https://github.com/FasterXML/jackson-core","tags":["package"]},{"url":"https://github.com/FasterXML/jackson-core/commit/211cf2c5d91abbec38067f37efc1363cd4e88ee3","tags":["web"]},{"url":"https://github.com/FasterXML/jackson-core/releases/tag/jackson-core-2.18.11","tags":["web"]},{"url":"https://github.com/FasterXML/jackson-core/releases/tag/jackson-core-3.2.3","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00615,"epssPercentile":0.50205,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-89425","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89425","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-89425","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-7hhh-6rmp-j9qf","ok":true,"note":"GHSA-7hhh-6rmp-j9qf"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-89425","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}