Duplicate Advisory: jackson-core: Async parser maxNumberLength bypass via chunked digit accumulation (incomplete fix for GHSA-72hv-8253-57qq)
## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-r7wm-3cxj-wff9. This link is maintained to preserve external references. ## Original 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 connection can be driven to approximately 40 MiB of heap before the validator finally fires when the value completes. The equiva
GHSA-642r-3gj9-2pj5
Primary source · Revision 1 · Withdrawn
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:GHSA-642r-3gj9-2pj5
tools.jackson.core:jackson-core
Source reference: /affected/0/package/name
- Affected versions
- 3.0.0
Source reference:
/affected/0/versions3.0.1Source reference:
/affected/0/versions3.0.2Source reference:
/affected/0/versions3.0.3Source reference:
/affected/0/versions3.0.4Source reference:
/affected/0/versions3.1.0Source reference:
/affected/0/versions3.1.0-rc1Source reference:
/affected/0/versions3.1.1Source reference:
/affected/0/versions3.1.2Source reference:
/affected/0/versions3.1.3Source reference:
/affected/0/versions3.1.4Source reference:
/affected/0/versions3.1.5Source reference:
/affected/0/versions3.1.6Source reference:
/affected/0/versions3.1.7Source reference:
/affected/0/versions3.2.0Source reference:
/affected/0/versions3.2.1Source reference:
/affected/0/versions3.2.2Source reference:
/affected/0/versions3.2.3Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.0.0"
}
]
}
],
"package": {
"name": "tools.jackson.core:jackson-core",
"purl": "pkg:maven/tools.jackson.core/jackson-core",
"ecosystem": "Maven"
},
"versions": [
"3.0.0",
"3.0.1",
"3.0.2",
"3.0.3",
"3.0.4",
"3.1.0",
"3.1.0-rc1",
"3.1.1",
"3.1.2",
"3.1.3",
"3.1.4",
"3.1.5",
"3.1.6",
"3.1.7",
"3.2.0",
"3.2.1",
"3.2.2",
"3.2.3"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-642r-3gj9-2pj5/GHSA-642r-3gj9-2pj5.json",
"last_known_affected_version_range": "< 3.1.4"
}
}
]Publisher severity
high
Source reference: /database_specific/severity
- Event
- #72761 · Revision 1
- Added to Heist Feed
- Publisher date