CVE-2025-52999
HIGH 8.7CVSS 4.0jackson-core can throw a StackoverflowError when processing deeply nested data
jackson-core contains core low-level incremental ("streaming") parser and generator abstractions used by Jackson Data Processor. In versions prior to 2.15.0, if a user parses an input file and it has deeply nested data, Jackson could end up throwing a StackoverflowError if the depth is particularly large. jackson-core 2.15.0 contains a configurable limit for how deep Jackson will traverse in an input document, defaulting to an allowable depth of 1000. 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. As a workaround, users should avoid parsing input files from untrusted sources.
- Published
- 25 Jun 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-121
- Also known as
- GHSA-h46c-h94j-95f3
- Sources
- NVDJSONOSV GHSA-h46c-h94j-95f3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.7 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | com.fasterxml.jackson.core:jackson-core | < 2.15.0 | 2.15.0 |
References
- https://github.com/FasterXML/jackson-core/pull/943 · WEB
- https://github.com/FasterXML/jackson-core/security/advisories/GHSA-h46c-h94j-95f3 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-52999 · ADVISORY
- https://github.com/FasterXML/jackson-core · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 25 Jun 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 27 Jun 2025)