DHI-ubzy-vmgh-3252-rdb4
UTF8DataInputJsonParser._reportInvalidToken() in FasterXML jackson-core builds the offending-token text for its error…
- CVSS
- —
- EPSS
- —
- Published
- 2026-11-19
- Age
- 14d old
- Modified
- 2026-12-04
- Product
- Docker Hardened Images:Alpine:3.23 flink-kubernetes-operator
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 createPa
Fixed in
9.8.1-0 · 9.8.1-r0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Docker Hardened Images:Alpine:3.23 | gradle-9 | >=0, <9.8.1-r0 | 9.8.1-r0 |
| Docker Hardened Images:Alpine:3.24 | gradle-9 | >=0, <9.8.1-r0 | 9.8.1-r0 |
| Docker Hardened Images:Debian:13 | gradle-9 | >=0, <9.8.1-0 | 9.8.1-0 |
Sources
- OSV · first seen 14d ago · CC-BY 4.0
References
- https://scout.docker.com/v/DHI-ubzy-vmgh-3252-rdb4 advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-89425 advisory
- https://errata.almalinux.org/9/ALSA-2026-86706.html advisory
- https://access.redhat.com/errata/RHSA-2026:86706 advisory
- https://errata.almalinux.org/8/ALSA-2026-90909.html advisory
- https://access.redhat.com/errata/RHSA-2026:90909 advisory
- https://alas.aws.amazon.com/AL2023/ALAS-2026-3188.html advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-89425 advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-89407 advisory
- https://security-tracker.debian.org/tracker/CVE-2026-89425 advisory
- https://github.com/advisories/GHSA-7hhh-6rmp-j9qf advisory
- https://github.com/FasterXML/jackson-core/security/advisories/GHSA-7hhh-6rmp-j9qf advisory
- https://github.com/FasterXML/jackson-core/pull/1698 fix
- https://github.com/FasterXML/jackson-core/commit/211cf2c5d91abbec38067f37efc1363cd4e88ee3 fix
- https://github.com/FasterXML/jackson-core/releases/tag/jackson-core-3.2.3 web
- https://github.com/FasterXML/jackson-core/releases/tag/jackson-core-2.18.11 web
- https://linux.oracle.com/cve/ELSA-2026-86706.html advisory
- https://linux.oracle.com/errata/ELSA-2026-86706.html advisory
- https://linux.oracle.com/cve/ELSA-2026-90909.html advisory
- https://linux.oracle.com/errata/ELSA-2026-90909.html advisory
- https://linux.oracle.com/cve/ELSA-2026-98493.html advisory
- https://linux.oracle.com/errata/ELSA-2026-98493.html advisory
- https://access.redhat.com/security/cve/CVE-2026-89425 advisory
- https://www.cve.org/CVERecord?id=CVE-2026-89425 fix
- https://errata.rockylinux.org/RLSA-2026:86706 advisory