jackson-core: async parser does not enforce maxNumberLength on hexadecimal numbers at chunk boundaries (incomplete fix for CVE-2026-18401 / GHSA-72hv-8253-57qq)
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| FasterXMLjackson-core |
3.2.0 – 3.2.3→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
In jackson-core 3.2.0 through 3.2.3, the non-blocking (async) JSON parser does not check the length of a hexadecimal number when an input chunk ends in the middle of it. The fix for CVE-2026-18401 (GHSA-72hv-8253-57qq) added a maxNumberLength check at the chunk-boundary yield points for integer, fraction and exponent digits, but missed _finishHexDigits(). When JsonReadFeature.ALLOW_HEXADECIMAL_NUMBERS is enabled (it is off by default), a hex literal split across input chunks can grow past StreamReadConstraints.maxNumberLength before a later check rejects it, which allows limited excess memory use. This affects tools.jackson.core:jackson-core 3.2.0 through 3.2.3 and is fixed in 3.2.4. Jackson 2.x and 3.0 and 3.1 are not affected, as they do not support hexadecimal numbers.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- web github.com
- web github.com
- web github.com