DHI-7oqx-hjkf-elhy-cs3v
The fix released in jackson-core 2.18.6 and 2.21.1 for CVE-2026-18401 (GHSA-72hv-8253-57qq, number length constraint…
- CVSS
- —
- EPSS
- —
- Published
- 2026-11-19
- Age
- 14d old
- Modified
- 2026-12-02
- Product
- Docker Hardened Images:Alpine:3.23 gradle-8
Description
The fix released in jackson-core 2.18.6 and 2.21.1 for CVE-2026-18401 (GHSA-72hv-8253-57qq, number length constraint bypass in the non-blocking parser) is incomplete. This record covers the remaining bypass. The earlier fix wired validateIntegerLength() into a new _setIntLength() helper and invoked it wherever the integer portion of a number is decided: a terminator byte arrives, a '.' or 'e'/'E' is seen, or input ends inside a fully buffered value. It was not invoked on the attacker-relevant path where the parser runs out of input while still inside the MINOR_NUMBER_INTEGER_DIGITS minor state and returns NOT_AVAILABLE to the caller. As a result, an attacker who streams JSON to a non-blocking parser in many small chunks, without ever sending a terminator byte, keeps the parser inside MINOR_NUMBER_INTEGER_DIGITS indefinitely. _textBuffer.expandCurrentSegment() grows the accumulator on every chunk while validateIntegerLength() is never called. The accumulator is bounded only by maxStringLength (20 MiB by default) rather than by maxNumberLength (1000 by default), an amplification of roughly 20,000x over the documented limit. Because Java char values occupy two bytes, a single connecti
Fixed in
8.14.5-r4
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Docker Hardened Images:Alpine:3.23 | gradle-8 | >=0, <8.14.5-r4 | 8.14.5-r4 |
| Docker Hardened Images:Alpine:3.24 | gradle-8 | >=0, <8.14.5-r4 | 8.14.5-r4 |
Sources
- OSV · first seen 10d ago · CC-BY 4.0
References
- https://scout.docker.com/v/DHI-7oqx-hjkf-elhy-cs3v advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-68494 advisory
- https://alas.aws.amazon.com/AL2023/ALAS-2026-2067.html advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-68494 advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-18401 advisory
- https://security-tracker.debian.org/tracker/CVE-2026-68494 advisory
- https://github.com/advisories/GHSA-r7wm-3cxj-wff9 advisory
- https://github.com/FasterXML/jackson-core/security/advisories/GHSA-r7wm-3cxj-wff9 advisory
- https://github.com/FasterXML/jackson-core/pull/1611 fix
- https://github.com/FasterXML/jackson-core/commit/c5941e5aae7fd5aeac55d66933cfb82b9aabeef8 fix
- https://github.com/FasterXML/jackson-core/commit/4cdd529749da396cc7edf6d4a2aad41d47902641 fix
- https://github.com/FasterXML/jackson-core/commit/050b429804dce2a7e08f0be1b0b4c3d040fdb9cd fix
- https://access.redhat.com/security/cve/CVE-2026-68494 advisory
- https://www.cve.org/CVERecord?id=CVE-2026-68494 fix
- https://github.com/advisories/GHSA-72hv-8253-57qq fix
- https://www.cve.org/CVERecord?id=CVE-2026-18401 fix
- https://ubuntu.com/security/CVE-2026-68494 advisory
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-68494 advisory