# CVE-2026-18401: jackson-core: Number length constraint bypass in non-blocking (async) JSON parser leads to potential denial of service

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.9
- **CVSS:** 6.9 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: None; Availability impact: Low; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.54% (percentile 39, 2026-11-26)
- **CWE:** CWE-770
- **Aliases:** GHSA-72hv-8253-57qq
- **Published:** 2026-02-28T02:01:05.000Z
- **Modified:** 2026-10-23T23:10:00.157Z

## Who should check

- Projects that depend on Maven package tools.jackson.core:jackson-core (\>= 3.0.0, \< 3.1.0)
- Projects that depend on Maven package com.fasterxml.jackson.core:jackson-core (\>= 2.19.0, \< 2.21.1)
- Anyone running FasterXML jackson-core \>= 2.15.0, \<= 2.18.5; \>= 2.19.0, \< 2.21.1
- Anyone running FasterXML jackson-core \>= 3.0.0, \< 3.1.0

## Description

The non-blocking (asynchronous) JSON parser in jackson-core does not enforce the maxNumberLength constraint defined in StreamReadConstraints (default: 1000 characters). An attacker able to submit JSON to an application that uses the async parser API can supply a number token of arbitrary length, leading to excessive memory allocation and potential CPU exhaustion, resulting in a denial of service.



The synchronous parser enforces this limit correctly, so the constraint is applied inconsistently depending on which parsing API the application uses.



Root cause: the async parsing path in NonBlockingUtf8JsonParserBase and related classes never invokes the number length validation methods. Number parsing methods such as \_finishNumberIntegralPart() accumulate digits into the TextBuffer without any length check, then call \_valueComplete() to finalize the token. \_valueComplete() does not call resetInt() or resetFloat(), which are the methods in ParserBase where validateIntegerLength() and validateFPLength() are performed. Because that validation step is skipped, maxNumberLength is never enforced on the async code path.



Impact: an attacker sending a JSON document containing an arbitrarily long number to an application using the async parser (for example a Spring WebFlux or other reactive application) can cause unbounded allocation in the TextBuffer and an OutOfMemoryError. If the application subsequently calls getBigIntegerValue() or getDecimalValue(), the JVM may additionally be tied up in O(n^2) BigInteger parsing, causing CPU-based denial of service.



No privileges or user interaction beyond the ability to submit data for parsing are required.



This issue affects com.fasterxml.jackson.core:jackson-core from version 2.15.0 through 2.18.5 and from 2.19.0 through 2.21.0, and tools.jackson.core:jackson-core from 3.0.0 through 3.0.x.



Versions prior to 2.15.0 are not affected, because StreamReadConstraints -- which defines the maxNumberLength setting -- was first introduced in jackson-core 2.15.0, so no such constraint exists to be bypassed in earlier releases. Note that GHSA-72hv-8253-57qq records the lower bound of the affected 2.x range as 2.0.0.

## Affected and fixed versions

- Maven `tools.jackson.core:jackson-core`: affected \>= 3.0.0, \< 3.1.0; fixed 3.1.0 (osv)
- Maven `com.fasterxml.jackson.core:jackson-core`: affected \>= 2.19.0, \< 2.21.1; fixed 2.21.1, 2.18.6 (osv)
- FasterXML jackson-core: \>= 2.15.0, \<= 2.18.5; \>= 2.19.0, \< 2.21.1 (cvelist)
- FasterXML jackson-core: \>= 3.0.0, \< 3.1.0 (cvelist)

## Mitigation

- Upgrade tools.jackson.core:jackson-core to 3.1.0 or later.
- Upgrade com.fasterxml.jackson.core:jackson-core to one of 2.21.1, 2.18.6 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-18401. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-18401.md
Affected: tools.jackson.core:jackson-core >= 3.0.0, < 3.1.0; com.fasterxml.jackson.core:jackson-core >= 2.19.0, < 2.21.1
Fixed in: 3.1.0, 2.21.1, 2.18.6

Steps:
1. Search this machine and project for tools.jackson.core:jackson-core (Maven), com.fasterxml.jackson.core:jackson-core (Maven), FasterXML jackson-core: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-18401 being exploited?

There is no confirmed exploitation: CVE-2026-18401 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.54% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-18401?

Medium: CVSS 6.9 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-18401?

tools.jackson.core:jackson-core \>= 3.0.0, \< 3.1.0; com.fasterxml.jackson.core:jackson-core \>= 2.19.0, \< 2.21.1.

### Is there a fix for CVE-2026-18401?

Yes. Fixed in 3.1.0, 2.21.1, 2.18.6. Upgrade tools.jackson.core:jackson-core to 3.1.0 or later. Upgrade com.fasterxml.jackson.core:jackson-core to one of 2.21.1, 2.18.6 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-18401?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/FasterXML/jackson-core/security/advisories/GHSA-72hv-8253-57qq>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-18401>
- patch: <https://github.com/FasterXML/jackson-core/pull/1555>
- patch: <https://github.com/FasterXML/jackson-core/commit/b0c428e6f993e1b5ece5c1c3cb2523e887cd52cf>
- other: <https://github.com/FasterXML/jackson-core>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-18401>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-72hv-8253-57qq> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-18401> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-18401>
