Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.fasterxml.jackson.core/jackson-core
  4. ›
  5. GHSA-72hv-8253-57qq

GHSA-72hv-8253-57qq: jackson-core: Number Length Constraint Bypass in Async Parser Leads to Potential DoS Condition

February 28, 2026 (updated March 3, 2026)

The non-blocking (async) JSON parser in jackson-core bypasses the maxNumberLength constraint (default: 1000 characters) defined in StreamReadConstraints. This allows an attacker to send JSON with arbitrarily long numbers through the async parser API, leading to excessive memory allocation and potential CPU exhaustion, resulting in a Denial of Service (DoS).

The standard synchronous parser correctly enforces this limit, but the async parser fails to do so, creating an inconsistent enforcement policy.

References

  • github.com/FasterXML/jackson-core
  • github.com/FasterXML/jackson-core/commit/b0c428e6f993e1b5ece5c1c3cb2523e887cd52cf
  • github.com/FasterXML/jackson-core/pull/1555
  • github.com/FasterXML/jackson-core/security/advisories/GHSA-72hv-8253-57qq
  • github.com/advisories/GHSA-72hv-8253-57qq

Code Behaviors & Features

Detect and mitigate GHSA-72hv-8253-57qq with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0.0 before 2.18.6, all versions starting from 2.19.0 before 2.21.1, all versions starting from 3.0.0 before 3.1.0

Fixed versions

  • 2.18.6
  • 2.21.1
  • 3.1.0

Solution

Upgrade to versions 2.18.6, 2.21.1, 3.1.0 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

maven/com.fasterxml.jackson.core/jackson-core/GHSA-72hv-8253-57qq.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 24 Mar 2026 12:17:53 +0000.