CVE-2026-18401: CWE-770 Allocation of Resources Without Limits or Throttling in FasterXML jackson-core
CVE-2026-18401 is a medium severity vulnerability in FasterXML jackson-core affecting the asynchronous JSON parser. The async parser does not enforce the maxNumberLength constraint, allowing an attacker to submit JSON with arbitrarily long number tokens. This leads to excessive memory allocation and potential CPU exhaustion, causing denial of service. The synchronous parser is not affected as it enforces this limit correctly. No privileges or user interaction beyond submitting JSON data are required. The issue affects jackson-core versions 2.15.0 through 2.18.5, 2.19.0 through 2.21.0, and 3.0.0 through 3.0.x. Patch status is not confirmed; no official fix or remediation level is stated in the vendor advisory.
AI Analysis
Technical Summary
The vulnerability arises because the asynchronous (non-blocking) JSON parser in jackson-core does not apply the maxNumberLength limit defined in StreamReadConstraints, which defaults to 1000 characters. In the async parsing path, number length validation methods are never invoked, allowing an attacker to supply a number token of arbitrary length. This causes unbounded memory allocation in the internal TextBuffer and can lead to OutOfMemoryError. Additionally, if the application calls getBigIntegerValue() or getDecimalValue() on such large numbers, the JVM may experience CPU exhaustion due to O(n^2) complexity in BigInteger parsing. The synchronous parser path enforces the limit correctly, so the issue is specific to the async parser API. This affects jackson-core versions starting from 2.15.0 (when StreamReadConstraints was introduced) through 2.18.5, 2.19.0 through 2.21.0, and 3.0.0 through 3.0.x. Versions prior to 2.15.0 are not affected. No privileges or user interaction beyond submitting JSON data are required for exploitation.
Potential Impact
An attacker able to submit JSON data to an application using the asynchronous jackson-core parser can cause excessive memory allocation leading to OutOfMemoryError and potential CPU exhaustion due to inefficient BigInteger parsing. This results in denial of service conditions. No elevated privileges or user interaction beyond data submission are needed.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, applications using the asynchronous jackson-core parser should consider avoiding the async parser API or implement application-level limits on JSON number token lengths. Monitoring and filtering input JSON to reject excessively long number tokens can mitigate the risk.
CVE-2026-18401: CWE-770 Allocation of Resources Without Limits or Throttling in FasterXML jackson-core
Description
CVE-2026-18401 is a medium severity vulnerability in FasterXML jackson-core affecting the asynchronous JSON parser. The async parser does not enforce the maxNumberLength constraint, allowing an attacker to submit JSON with arbitrarily long number tokens. This leads to excessive memory allocation and potential CPU exhaustion, causing denial of service. The synchronous parser is not affected as it enforces this limit correctly. No privileges or user interaction beyond submitting JSON data are required. The issue affects jackson-core versions 2.15.0 through 2.18.5, 2.19.0 through 2.21.0, and 3.0.0 through 3.0.x. Patch status is not confirmed; no official fix or remediation level is stated in the vendor advisory.
CVSS v4.0
Score 6.9medium
Affected software
FasterXML
jackson-core
FasterXML
jackson-core
pkg:maven/FasterXML/com.fasterxml.jackson.core:jackson-corepkg:maven/FasterXML/tools.jackson.core:jackson-coreRun 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 because the asynchronous (non-blocking) JSON parser in jackson-core does not apply the maxNumberLength limit defined in StreamReadConstraints, which defaults to 1000 characters. In the async parsing path, number length validation methods are never invoked, allowing an attacker to supply a number token of arbitrary length. This causes unbounded memory allocation in the internal TextBuffer and can lead to OutOfMemoryError. Additionally, if the application calls getBigIntegerValue() or getDecimalValue() on such large numbers, the JVM may experience CPU exhaustion due to O(n^2) complexity in BigInteger parsing. The synchronous parser path enforces the limit correctly, so the issue is specific to the async parser API. This affects jackson-core versions starting from 2.15.0 (when StreamReadConstraints was introduced) through 2.18.5, 2.19.0 through 2.21.0, and 3.0.0 through 3.0.x. Versions prior to 2.15.0 are not affected. No privileges or user interaction beyond submitting JSON data are required for exploitation.
Potential Impact
An attacker able to submit JSON data to an application using the asynchronous jackson-core parser can cause excessive memory allocation leading to OutOfMemoryError and potential CPU exhaustion due to inefficient BigInteger parsing. This results in denial of service conditions. No elevated privileges or user interaction beyond data submission are needed.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, applications using the asynchronous jackson-core parser should consider avoiding the async parser API or implement application-level limits on JSON number token lengths. Monitoring and filtering input JSON to reject excessively long number tokens can mitigate the risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- HeroDevs
- Date Reserved
- 2026-07-30T15:20:53.701Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a71fdb5bf8831d539fad996
Added to database: 08/04/2026, 14:56:53 UTC
Last enriched: 08/11/2026, 18:10:39 UTC
Last updated: 09/17/2026, 22:01:33 UTC
Views: 41
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.