Skip to main content

jackson-core CVE-2026-68494

| EUVDEUVD-2026-52703 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-08-04 HeroDevs GHSA-642r-3gj9-2pj5
8.7
CVSS 4.0 · Vendor: HeroDevs
Share

Severity by source

Vendor (HeroDevs) PRIMARY
8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
7.5 HIGH

Network-reachable with no auth or user interaction required; impact is availability-only (heap exhaustion/JVM OOM) with no confidentiality or integrity effect.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE
7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Red Hat
7.5 HIGH
qualitative

Primary rating from Vendor (HeroDevs).

CVSS VectorVendor: HeroDevs

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

3
Source Code Evidence Fetched
Aug 04, 2026 - 15:21 vuln.today
Analysis Generated
Aug 04, 2026 - 15:21 vuln.today
CVE Published
Aug 04, 2026 - 14:39 cve.org
HIGH 8.7

DescriptionCVE.org

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, from 2.19.0 through 2.21.3, and from 2.22.0 through 2.22.0, and tools.jackson.core:jackson-core from 3.0.0 through 3.1.3 and from 3.2.0 through 3.2.0. 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.

AnalysisAI

Memory exhaustion in jackson-core's non-blocking async parser allows remote unauthenticated attackers to exhaust JVM heap by streaming JSON integer digit sequences in small chunks without ever sending a terminator byte. The prior fix for GHSA-72hv-8253-57qq (CVE-2026-18401) failed to insert a validateIntegerLength() call on the NOT_AVAILABLE return path inside MINOR_NUMBER_INTEGER_DIGITS, allowing the internal TextBuffer accumulator to grow bounded only by maxStringLength (20 MiB default) rather than maxNumberLength (1000 chars default) - a ~20,000x amplification yielding approximately 40 MiB of heap pressure per connection due to Java's 2-byte char representation. Reactive frameworks that feed inbound HTTP or gRPC bytes incrementally to the async parser - Spring WebFlux/Reactor, Quarkus, Helidon, and Vert.x - are the primary risk surface; no public exploit identified at time of analysis.

Technical ContextAI

The vulnerability resides in NonBlockingUtf8JsonParserBase within FasterXML's jackson-core Java JSON library, classified under CWE-770 (Allocation of Resources Without Limits or Throttling). The async parser is designed for event-driven I/O where bytes arrive in arbitrary-sized chunks and the parser returns NOT_AVAILABLE tokens between feeds. When accumulating the integer portion of a number, the parser maintains state via MINOR_NUMBER_INTEGER_DIGITS and grows the TextBuffer accumulator via _textBuffer.expandCurrentSegment() on each new chunk. The prior fix (commit b0c428e6, PR #1555) for GHSA-72hv-8253-57qq added validateIntegerLength() calls through a new _setIntLength() helper at every terminator-signaling event (terminator byte, ./e/E seen, end-of-feed on complete values), but omitted the call on the NOT_AVAILABLE return path - when input is exhausted mid-integer. The fraction path (_finishFloatFraction) was correctly fixed in the original patch via _setFractLength() before its NOT_AVAILABLE return; the equivalent is absent from _startPositiveNumber(), _startNegativeNumber(), and _finishNumberIntegralPart(). The fix (PR #1611) inserts _setIntLength() calls at all four missing NOT_AVAILABLE sites. CPE cpe:2.3:a:fasterxml:jackson-core:*:*:*:*:*:*:*:* covers affected 2.x and tools.jackson.core:jackson-core covers affected 3.x ranges. StreamReadConstraints (and thus maxNumberLength) was introduced in 2.15.0, so versions prior to that are structurally unexploitable via this path.

RemediationAI

Upgrade com.fasterxml.jackson.core:jackson-core to 2.18.8 (for 2.18.x users), 2.21.4 (for 2.19.x-2.21.x users), or 2.22.1 (for 2.22.x users); upgrade tools.jackson.core:jackson-core to 3.1.4 (for 3.0.x-3.1.x users) or 3.2.1 (for 3.2.x users), per GHSA-r7wm-3cxj-wff9 (https://github.com/FasterXML/jackson-core/security/advisories/GHSA-r7wm-3cxj-wff9) and the merged fix in PR #1611 (https://github.com/FasterXML/jackson-core/pull/1611). Critically, operators who previously patched to 2.18.6 or 2.21.1 for CVE-2026-18401 must upgrade again, as those releases remain vulnerable. If an immediate upgrade is blocked, reduce StreamReadConstraints.maxStringLength to a value close to maxNumberLength via StreamReadConstraints.builder().maxStringLength(N).build() - this shrinks the amplification window but may break parsing of legitimately large string values and is not a complete fix. Placing a reverse proxy with request-body size limits or per-connection rate limiting in front of async JSON endpoints increases attacker cost but does not eliminate the vulnerability. Applications not using the non-blocking parser (e.g., standard Spring MVC) are unaffected and require no action.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected
SUSE Linux Enterprise Module for Basesystem 15 SP7 Not-Affected
SUSE Linux Enterprise Server 15 SP7 Not-Affected
SUSE Linux Enterprise Server 16.0 Not-Affected

Share

CVE-2026-68494 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy