{"id":"DHI-ubzy-vmgh-3252-rdb4","aliases":[],"title":"UTF8DataInputJsonParser._reportInvalidToken() in FasterXML jackson-core builds the offending-token text for its error…","originalDescription":"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 createPa","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[{"ecosystem":"Docker Hardened Images:Alpine:3.23","name":"gradle-9","range":">=0, <9.8.1-r0","fixed":"9.8.1-r0"},{"ecosystem":"Docker Hardened Images:Alpine:3.24","name":"gradle-9","range":">=0, <9.8.1-r0","fixed":"9.8.1-r0"},{"ecosystem":"Docker Hardened Images:Debian:13","name":"gradle-9","range":">=0, <9.8.1-0","fixed":"9.8.1-0"}],"references":[{"url":"https://scout.docker.com/v/DHI-ubzy-vmgh-3252-rdb4","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89425","type":"advisory"},{"url":"https://errata.almalinux.org/9/ALSA-2026-86706.html","type":"advisory"},{"url":"https://access.redhat.com/errata/RHSA-2026:86706","type":"advisory"},{"url":"https://errata.almalinux.org/8/ALSA-2026-90909.html","type":"advisory"},{"url":"https://access.redhat.com/errata/RHSA-2026:90909","type":"advisory"},{"url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-3188.html","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-89425","type":"advisory"},{"url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-89407","type":"advisory"},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-89425","type":"advisory"},{"url":"https://github.com/advisories/GHSA-7hhh-6rmp-j9qf","type":"advisory"},{"url":"https://github.com/FasterXML/jackson-core/security/advisories/GHSA-7hhh-6rmp-j9qf","type":"advisory"},{"url":"https://github.com/FasterXML/jackson-core/pull/1698","type":"fix"},{"url":"https://github.com/FasterXML/jackson-core/commit/211cf2c5d91abbec38067f37efc1363cd4e88ee3","type":"fix"},{"url":"https://github.com/FasterXML/jackson-core/releases/tag/jackson-core-3.2.3","type":"web"},{"url":"https://github.com/FasterXML/jackson-core/releases/tag/jackson-core-2.18.11","type":"web"},{"url":"https://linux.oracle.com/cve/ELSA-2026-86706.html","type":"advisory"},{"url":"https://linux.oracle.com/errata/ELSA-2026-86706.html","type":"advisory"},{"url":"https://linux.oracle.com/cve/ELSA-2026-90909.html","type":"advisory"},{"url":"https://linux.oracle.com/errata/ELSA-2026-90909.html","type":"advisory"},{"url":"https://linux.oracle.com/cve/ELSA-2026-98493.html","type":"advisory"},{"url":"https://linux.oracle.com/errata/ELSA-2026-98493.html","type":"advisory"},{"url":"https://access.redhat.com/security/cve/CVE-2026-89425","type":"advisory"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-89425","type":"fix"},{"url":"https://errata.rockylinux.org/RLSA-2026:86706","type":"advisory"},{"url":"https://errata.rockylinux.org/RLSA-2026:90909","type":"advisory"},{"url":"https://errata.rockylinux.org/RLSA-2026:98493","type":"advisory"},{"url":"https://errata.rockylinux.org/RLSA-2026:98606","type":"advisory"},{"url":"https://ubuntu.com/security/CVE-2026-89425","type":"advisory"},{"url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-89425","type":"advisory"},{"url":"https://errata.almalinux.org/9/ALSA-2026-98493.html","type":"advisory"},{"url":"https://access.redhat.com/errata/RHSA-2026:98493","type":"advisory"},{"url":"https://linux.oracle.com/cve/ELSA-2026-98606.html","type":"advisory"},{"url":"https://linux.oracle.com/errata/ELSA-2026-98606.html","type":"advisory"}],"sources":[{"name":"osv","at":"2026-12-04T04:01:24.076Z","url":"https://osv.dev/vulnerability/DHI-ubzy-vmgh-3252-rdb4","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T04:51:54.009Z"}],"firstSeenAt":"2026-11-20T04:51:54.009Z","publishedAt":"2026-11-19T20:59:10.000Z","modifiedAt":"2026-12-04T03:45:12.552Z"}