CVE Database›Document archive›CVE-2026-18401

CVE-2026-18401

tools.jackson.core/jackson-core: com.fasterxml.jackson.core/jackson-core: jackson-core: Denial of Service due to number length bypass in asynchronous JSON parser

Loading…

Severity

Moderate

Red Hat Product Security

5.3

CVSS 3.1

Review impact separately from score.

Published · August 4, 2026

Updated · August 10, 2026

Description

A flaw was found in jackson-core. The non-blocking (asynchronous) JSON parser does not properly enforce the maximum number length constraint. A remote attacker can exploit this by submitting a specially crafted JSON document containing an arbitrarily long number to an application using the asynchronous parser. This can lead to excessive memory allocation and CPU exhaustion, resulting in a denial of service (DoS) for the affected application.

Statement

Red Hat's assessment of this vulnerability differs from the reported vendor severity. The flaw exists only in jackson-core's non-blocking (asynchronous) JSON parser, which does not enforce the maxNumberLength constraint defined by StreamReadConstraints. Applications that use the standard, synchronous parsing API (the default for the vast majority of Java applications using jackson-core, including via ObjectMapper) enforce this limit correctly and are not affected by this specific code path. Only applications that explicitly invoke the non-blocking parser API, typically reactive frameworks processing untrusted network input, are exposed to the described memory/CPU exhaustion behavior. Red Hat rates this issue as Moderate.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is available for applications that use the non-blocking/async parser API with untrusted input. Affected users should upgrade to jackson-core 2.18.6, 2.21.1, 3.1.0, or later. Applications that only use the standard (synchronous) parser API are not affected and require no action.

CVSS / CWE

CVSS 3.1 · 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

CWE-770 · Allocation of Resources Without Limits or Throttling