CVE-2026-29062: jackson-core has Nesting Depth Constraint Bypass in `UTF8DataInputJsonParser` potentially allowing Resource Exhaustion
Summary The UTF8DataInputJsonParser, which is used when parsing from a java.io.DataInput source, bypasses the maxNestingDepth constraint (default: 500) defined in StreamReadConstraints. A similar issue was found in ReaderBasedJsonParser. This allows a user to supply a JSON document with excessive nesting, which can cause a StackOverflowError when the structure is processed, leading to a Denial of Service (DoS).
Published Mar 4, 2026 · Updated Mar 6, 2026
Affected packages
tools.jackson.core:jackson-core
- Ecosystem
- Maven
- Affected
- >= 3.0.0, < 3.1.0
- Fixed in
- 3.1.0
- Check
mvn dependency:tree -Dincludes=tools.jackson.core:jackson-core
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
The UTF8DataInputJsonParser, which is used when parsing from a java.io.DataInput source, bypasses the maxNestingDepth constraint (default: 500) defined in StreamReadConstraints.
A similar issue was found in ReaderBasedJsonParser.
This allows a user to supply a JSON document with excessive nesting, which can cause a StackOverflowError when the structure is processed, leading to a Denial of Service (DoS).
The related fix for com.fasterxml.jackson.core:jackson-core, CVE-2025-52999, was not fully applied to tools.jackson.core:jackson-core until the 3.1.0 release. It is recommended that 3.0.x users upgrade.
Patches
jackson-core contains a configurable limit for how deep Jackson will traverse in an input document. This check was missing in a few places in tools.jackson.core:jackson-core.
The change is in https://github.com/FasterXML/jackson-core/pull/1554. jackson-core will throw a StreamConstraintsException if the limit is reached.
jackson-databind also benefits from this change because it uses jackson-core to parse JSON inputs.
Workarounds
Users should avoid parsing input files from untrusted sources.
Resources
GHSA-6v53-7c9g-w56r https://nvd.nist.gov/vuln/detail/CVE-2025-52999 https://github.com/FasterXML/jackson-core/pull/1554
Credited to sprabhav7, rohan-repos.
References
- https://github.com/FasterXML/jackson-core/security/advisories/GHSA-6v53-7c9g-w56r
- https://github.com/FasterXML/jackson-core/security/advisories/GHSA-h46c-h94j-95f3
- https://nvd.nist.gov/vuln/detail/CVE-2025-52999
- https://github.com/FasterXML/jackson-core/pull/1554
- https://github.com/FasterXML/jackson-core/commit/8b25fd67f20583e75fb09564ce1eaab06cd5a902
- https://nvd.nist.gov/vuln/detail/CVE-2026-29062
- https://github.com/advisories/GHSA-6v53-7c9g-w56r
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-89407
jackson-core: ReDoS: quadratic backtracking in NumberInput.PATTERN_FLOAT via looksLikeValidNumber()
high7.5Oct 1, 2026CVE-2026-89425
jackson-core: UTF8DataInputJsonParser._reportInvalidToken() missing maxErrorTokenLength limit -> unbounded StringBuilder growth (DoS)
high7.5Oct 1, 2026CVE-2026-68494
jackson-core: Async parser maxNumberLength bypass via chunked digit accumulation (incomplete fix for GHSA-72hv-8253-57qq)
high8.7Jul 21, 2026GHSA-2m67-wjpj-xhg9
Jackson Core: Document length constraint bypass in blocking, async, and DataInput parsers
high7.5Apr 4, 2026CVE-2026-18401
jackson-core: Number Length Constraint Bypass in Async Parser Leads to Potential DoS Condition
medium6.9Feb 28, 2026
