Skip to main content
CVE-2026-18401VulnerabilityPublished Updated

jackson-core · non-blocking (asynchronous) JSON parser

Affects jackson-coreSource GCVE Database

0
Compare
Authoritative record:CVE-2026-18401· Medium 6.9

Not known to be exploited · CVSS 6.9 Medium.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 35% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10jackson-corepkg:deb/ubuntu/jackson-core?arch=source&distro=stonkingOther threatsAffected
  • =2.14.1-1build1
  • =2.14.1-2
Fixed in–
Ubuntu 26.04 LTSjackson-corepkg:deb/ubuntu/jackson-core?arch=source&distro=resoluteOther threatsAffected
  • =2.14.1-1
  • =2.14.1-1build1
Fixed in–
Ubuntu 24.04 LTSjackson-corepkg:deb/ubuntu/jackson-core?arch=source&distro=nobleOther threatsAffected
  • =2.14.1-1
Fixed in–
Ubuntu 22.04 LTSjackson-corepkg:deb/ubuntu/jackson-core?arch=source&distro=jammyOther threatsAffected
  • =2.12.1-1
  • =2.13.0-1
  • =2.13.0-2
Fixed in–
Ubuntu 20.04 LTSjackson-corepkg:deb/ubuntu/jackson-core?arch=source&distro=focalOther threatsAffected
  • =2.9.8-3
  • =2.10.0-1
  • =2.10.1-1
Fixed in–
Ubuntu 18.04 LTSjackson-corepkg:deb/ubuntu/jackson-core?arch=source&distro=bionicOther threatsAffected
  • 2.8.6-1 – 2.9.8-3~18.04
4 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…