# CVE-2025-52999: jackson-core Has Potential for StackoverflowError if user parses an input file that contains very deeply nested data

> CVE-2025-52999: jackson-core Has Potential for StackoverflowError if user parses an input file that contains very deeply nested data. CVSS 8.7 (CVSS 4.0).

Canonical: https://rewindex.com/cve/CVE-2025-52999
Last updated: 2026-06-17T09:37:27Z

- Published: 2025-06-25 17:02 UTC · Updated: 2026-06-17 09:37 UTC · Assigner: GitHub\_M
- CVSS: 8.7 (CVSS 4.0) · Severity: High
- EPSS: 0.77%, 55th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-121

## Description

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.

## Affected vendors and products

- FasterXML: jackson-core

## Tracked companies

- [Bitbucket](https://rewindex.com/company/bitbucket.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2025-52999)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2025-52999)
- [https://github.com/FasterXML/jackson-core/pull/943](https://github.com/FasterXML/jackson-core/pull/943)
- [https://github.com/FasterXML/jackson-core/security/advisories/GHSA-h46c-h94j-95f3](https://github.com/FasterXML/jackson-core/security/advisories/GHSA-h46c-h94j-95f3)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2025-52999 · Markdown: https://rewindex.com/cve/CVE-2025-52999.md · JSON: https://rewindex.com/api/v1/cves/CVE-2025-52999 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:15:28.343Z
