Com.fasterxml.jackson.core:jackson core: jackson-core: Async parser maxNumberLength bypass via chunked digit accumulation (incomplete fix for GHSA-72hv-8253-57qq)
A vulnerability in the jackson-core library's asynchronous JSON parser allows an attacker to bypass the maxNumberLength limit by streaming JSON numbers in many small chunks without a terminator byte. This causes unbounded memory allocation in the parser's text buffer, leading to potential memory exhaustion. The issue affects multiple versions including 2.18.6 and 2.21.1, and similar code in 3.x versions is presumed vulnerable. The problem arises because the integer length validation is not invoked when the parser runs out of input mid-integer, unlike the fraction path which is correctly validated. This vulnerability is a partial bypass of a previous fix and results in approximately 20,000 times amplification of the allowed number length.
AI Analysis
Technical Summary
The jackson-core asynchronous JSON parser's fix for a number length constraint bypass (GHSA-72hv-8253-57qq) is incomplete. While the fix validates integer length when a terminator byte or certain characters are encountered, it does not validate length when the parser runs out of input mid-integer and returns NOT_AVAILABLE. An attacker can exploit this by streaming JSON numbers in many small chunks without sending a terminator, causing the parser's internal text buffer to expand unboundedly, limited only by maxStringLength (default 20 MiB), which is about 20,000 times larger than the documented maxNumberLength (1000). This leads to memory exhaustion. The vulnerability affects jackson-core versions prior to 2.18.8, 2.19.0 to before 2.21.4, 2.22.0 to before 2.22.1, 3.0.0 to before 3.1.4, and 3.2.0 to before 3.2.1. The fraction parsing path correctly validates length on mid-input exhaustion, but the integer parsing path does not. No known exploits in the wild have been reported.
Potential Impact
This vulnerability can cause unbounded memory allocation in the jackson-core asynchronous JSON parser when processing streamed JSON numbers without terminators, leading to potential memory exhaustion and denial of service. The amplification factor is approximately 20,000 times the intended maximum number length, significantly increasing the risk of resource exhaustion on affected systems. There is no indication of code execution or data corruption from the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the data. Users should monitor jackson-core vendor advisories for updates addressing this incomplete fix. Until a patch is available, consider limiting input size or disabling asynchronous parsing if feasible to mitigate potential memory exhaustion.
Com.fasterxml.jackson.core:jackson core: jackson-core: Async parser maxNumberLength bypass via chunked digit accumulation (incomplete fix for GHSA-72hv-8253-57qq)
Description
A vulnerability in the jackson-core library's asynchronous JSON parser allows an attacker to bypass the maxNumberLength limit by streaming JSON numbers in many small chunks without a terminator byte. This causes unbounded memory allocation in the parser's text buffer, leading to potential memory exhaustion. The issue affects multiple versions including 2.18.6 and 2.21.1, and similar code in 3.x versions is presumed vulnerable. The problem arises because the integer length validation is not invoked when the parser runs out of input mid-integer, unlike the fraction path which is correctly validated. This vulnerability is a partial bypass of a previous fix and results in approximately 20,000 times amplification of the allowed number length.
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 jackson-core asynchronous JSON parser's fix for a number length constraint bypass (GHSA-72hv-8253-57qq) is incomplete. While the fix validates integer length when a terminator byte or certain characters are encountered, it does not validate length when the parser runs out of input mid-integer and returns NOT_AVAILABLE. An attacker can exploit this by streaming JSON numbers in many small chunks without sending a terminator, causing the parser's internal text buffer to expand unboundedly, limited only by maxStringLength (default 20 MiB), which is about 20,000 times larger than the documented maxNumberLength (1000). This leads to memory exhaustion. The vulnerability affects jackson-core versions prior to 2.18.8, 2.19.0 to before 2.21.4, 2.22.0 to before 2.22.1, 3.0.0 to before 3.1.4, and 3.2.0 to before 3.2.1. The fraction parsing path correctly validates length on mid-input exhaustion, but the integer parsing path does not. No known exploits in the wild have been reported.
Potential Impact
This vulnerability can cause unbounded memory allocation in the jackson-core asynchronous JSON parser when processing streamed JSON numbers without terminators, leading to potential memory exhaustion and denial of service. The amplification factor is approximately 20,000 times the intended maximum number length, significantly increasing the risk of resource exhaustion on affected systems. There is no indication of code execution or data corruption from the provided data.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the data. Users should monitor jackson-core vendor advisories for updates addressing this incomplete fix. Until a patch is available, consider limiting input size or disabling asynchronous parsing if feasible to mitigate potential memory exhaustion.
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: 07/22/2026, 00:38:11 UTC
Last updated: 07/22/2026, 00:38:11 UTC
Views: 2
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.