Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-68494

HIGH 8.7EPSS 44%

jackson-core: Async parser maxNumberLength bypass via chunked digit accumulation (incomplete fix for CVE-2026-18401 / GHSA-72hv-8253-57qq)

Also known as GHSA-r7wm-3cxj-wff9

Mitigation

  • Upgrade com.fasterxml.jackson.core:jackson-core to one of 2.18.8, 2.21.4 (or later in the same release line).
  • Upgrade tools.jackson.core:jackson-core to 3.1.4 or later.

Who should check

  • Projects that depend on Maven package com.fasterxml.jackson.core:jackson-core (< 2.18.8)
  • Projects that depend on Maven package tools.jackson.core:jackson-core (>= 3.0.0, < 3.1.4)
  • Anyone running FasterXML jackson-core >= 2.15.0, < 2.18.8; >= 2.19.0, < 2.21.4
  • Anyone running FasterXML jackson-core >= 3.0.0, < 3.1.4

Vulnerability facts

Affected
com.fasterxml.jackson.core:jackson-core < 2.18.8; tools.jackson.core:jackson-core >= 3.0.0, < 3.1.4
Fixed in
2.18.8, 2.21.4, 3.1.4
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
8.7 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 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: High
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
EPSS
0.62% chance of exploitation in 30 days (percentile 44, 2026-11-26)
CWE
CWE-770
Published
Modified

Description

The fix released in jackson-core 2.18.6 and 2.21.1 for CVE-2026-18401 (GHSA-72hv-8253-57qq, number length constraint bypass in the non-blocking parser) is incomplete. This record covers the remaining bypass. The earlier fix wired validateIntegerLength() into a new _setIntLength() helper and invoked it wherever the integer portion of a number is decided: a terminator byte arrives, a '.' or 'e'/'E' is seen, or input ends inside a fully buffered value. It was not invoked on the attacker-relevant path where the parser runs out of input while still inside the MINOR_NUMBER_INTEGER_DIGITS minor state and returns NOT_AVAILABLE to the caller. As a result, an attacker who streams JSON to a non-blocking parser in many small chunks, without ever sending a terminator byte, keeps the parser inside MINOR_NUMBER_INTEGER_DIGITS indefinitely. _textBuffer.expandCurrentSegment() grows the accumulator on every chunk while validateIntegerLength() is never called. The accumulator is bounded only by maxStringLength (20 MiB by default) rather than by maxNumberLength (1000 by default), an amplification of roughly 20,000x over the documented limit. Because Java char values occupy two bytes, a single connection can be driven to approximately 40 MiB of heap before the validator finally fires when the value completes. The equivalent fraction-path code is correct: _finishFloatFraction() calls _setFractLength() before its NOT_AVAILABLE return. The missing call affects the integer-digit paths in _startPositiveNumber(), _startNegativeNumber() and _finishNumberIntegralPart() in NonBlockingUtf8JsonParserBase. Impact: reactive frameworks such as Spring WebFlux/Reactor, Quarkus, Helidon and Vert.x feed inbound HTTP or gRPC bytes to the async parser as they arrive, which is precisely the chunked-feed shape required. Operators who set StreamReadConstraints.maxNumberLength expecting it to cap memory per number value do not get that guarantee; memory accumulates per concurrent connection and attacker-controlled concurrency can exhaust the JVM heap. The synchronous parsers (UTF8StreamJsonParser, ReaderBasedJsonParser) and the async parser operating on complete input are not affected. Exploitation requires only the ability to stream data to a parsing endpoint; no privileges or user interaction are needed. This issue affects com.fasterxml.jackson.core:jackson-core from version 2.15.0 through 2.18.7, and from 2.19.0 through 2.21.3, and tools.jackson.core:jackson-core from 3.0.0 through 3.1.3. 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-r7wm-3cxj-wff9 states the affected 2.x range without a lower bound. The 2.22.x and 3.2.x release lines are not affected: those branches were created after the fix commit landed on 2026-05-21 and therefore contain it from their initial releases (2.22.0, tagged 2026-06-03, and 3.2.0, tagged 2026-06-08).

Affected and fixed versions

Package / productAffectedFixedSource
Maven com.fasterxml.jackson.core:jackson-core< 2.18.82.18.8, 2.21.4osv
Maven tools.jackson.core:jackson-core>= 3.0.0, < 3.1.43.1.4osv
FasterXML jackson-core>= 2.15.0, < 2.18.8; >= 2.19.0, < 2.21.4—cvelist
FasterXML jackson-core>= 3.0.0, < 3.1.4—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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

Details: https://flawdb.com/CVE-2026-68494.md
Affected: com.fasterxml.jackson.core:jackson-core < 2.18.8; tools.jackson.core:jackson-core >= 3.0.0, < 3.1.4
Fixed in: 2.18.8, 2.21.4, 3.1.4

Steps:
1. Search this machine and project for com.fasterxml.jackson.core:jackson-core (Maven), tools.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.

References

FAQ

Is CVE-2026-68494 being exploited?

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

How serious is CVE-2026-68494?

High: CVSS 8.7 (v4.0, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2026-68494?

com.fasterxml.jackson.core:jackson-core < 2.18.8; tools.jackson.core:jackson-core >= 3.0.0, < 3.1.4.

Is there a fix for CVE-2026-68494?

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

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

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.

Sponsors