← VULNERABILITIES

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…

UnscoredFix available
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

EcosystemPackageRangeFixed
Docker Hardened Images:Alpine:3.23gradle-8>=0, <8.14.5-r48.14.5-r4
Docker Hardened Images:Alpine:3.24gradle-8>=0, <8.14.5-r48.14.5-r4

Sources

  • OSV · first seen 10d ago · CC-BY 4.0

References

JSON