Com.fasterxml.jackson.core:jackson core: jackson-core: Async parser maxNumberLength bypass via chunked digit accumulation (incomplete fix for GHSA-72hv-8253-57qq)
An incomplete fix in jackson-core's asynchronous JSON parser allows an attacker to bypass the maxNumberLength limit by streaming JSON numbers in many small chunks without terminators, causing unbounded memory allocation. This affects the integer digit accumulation path in the parser, leading to potential memory exhaustion. The vulnerability impacts multiple jackson-core versions prior to patched releases. A patch is available to address this issue.
AI Analysis
Technical Summary
The vulnerability arises from an incomplete fix in jackson-core versions 2.18.6 and 2.21.1 for a prior number length constraint bypass. The fix correctly validates number length on certain code paths but misses validation when the parser runs out of input mid-integer digit accumulation and returns NOT_AVAILABLE without checking length. An attacker can exploit this by streaming JSON numbers in small chunks indefinitely, causing the parser's internal buffer to expand up to the maxStringLength limit (default 20 MiB), which is about 20,000 times larger than the intended maxNumberLength (default 1000). This leads to unbounded memory allocation and potential denial of service. The issue affects multiple jackson-core versions including 2.18.x, 2.19.x through 2.21.3, 2.22.0, and 3.x branches as specified. The fraction number parsing path is correctly validated and not affected. The vulnerability is tracked as GHSA-r7wm-3cxj-wff9 and CWE-770.
Potential Impact
An attacker can cause excessive memory consumption by sending specially crafted JSON streams that keep the parser in an integer digit accumulation state without terminators, leading to unbounded buffer growth. This can result in denial of service due to memory exhaustion. There are no known exploits in the wild at this time.
Mitigation Recommendations
A patch is available for this vulnerability. Users should upgrade to fixed versions beyond the affected ranges to ensure the integer digit length validation is properly enforced in all code paths. The affected versions are: <2.18.8, >=2.19.0 <2.21.4, >=2.22.0 <2.22.1, >=3.0.0 <3.1.4, and >=3.2.0 <3.2.1. No additional mitigations are indicated by the vendor advisory.
Com.fasterxml.jackson.core:jackson core: jackson-core: Async parser maxNumberLength bypass via chunked digit accumulation (incomplete fix for GHSA-72hv-8253-57qq)
Description
An incomplete fix in jackson-core's asynchronous JSON parser allows an attacker to bypass the maxNumberLength limit by streaming JSON numbers in many small chunks without terminators, causing unbounded memory allocation. This affects the integer digit accumulation path in the parser, leading to potential memory exhaustion. The vulnerability impacts multiple jackson-core versions prior to patched releases. A patch is available to address this issue.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from an incomplete fix in jackson-core versions 2.18.6 and 2.21.1 for a prior number length constraint bypass. The fix correctly validates number length on certain code paths but misses validation when the parser runs out of input mid-integer digit accumulation and returns NOT_AVAILABLE without checking length. An attacker can exploit this by streaming JSON numbers in small chunks indefinitely, causing the parser's internal buffer to expand up to the maxStringLength limit (default 20 MiB), which is about 20,000 times larger than the intended maxNumberLength (default 1000). This leads to unbounded memory allocation and potential denial of service. The issue affects multiple jackson-core versions including 2.18.x, 2.19.x through 2.21.3, 2.22.0, and 3.x branches as specified. The fraction number parsing path is correctly validated and not affected. The vulnerability is tracked as GHSA-r7wm-3cxj-wff9 and CWE-770.
Potential Impact
An attacker can cause excessive memory consumption by sending specially crafted JSON streams that keep the parser in an integer digit accumulation state without terminators, leading to unbounded buffer growth. This can result in denial of service due to memory exhaustion. There are no known exploits in the wild at this time.
Mitigation Recommendations
A patch is available for this vulnerability. Users should upgrade to fixed versions beyond the affected ranges to ensure the integer digit length validation is properly enforced in all code paths. The affected versions are: <2.18.8, >=2.19.0 <2.21.4, >=2.22.0 <2.22.1, >=3.0.0 <3.1.4, and >=3.2.0 <3.2.1. No additional mitigations are indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-r7wm-3cxj-wff9
- Osv Schema Version
- 1.4.0
- Aliases
- []
- Ecosystems
- ["Maven"]
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a600aa09c2644c7f8fdfaa4
Added to database: 07/22/2026, 00:11:12 UTC
Last enriched: 08/03/2026, 21:42:27 UTC
Last updated: 09/05/2026, 02:08:54 UTC
Views: 198
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.