CVE-2025-52999 Details
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.
A vulnerability in Jackson Core prior to version 2.15.0 allows for a StackOverflowError to be thrown when parsing deeply nested data. This issue arises because the parser does not have a limit on how deep it can traverse, leading to stack overflow in cases of excessive nesting. Jackson Databind, which relies on Jackson Core for JSON parsing, is also affected. The vulnerability can be exploited by parsing untrusted input files with complex nested structures.
Users can upgrade to Jackson Core version 2.15.0 or later, which introduces a configurable limit on nesting depth, defaulting to 1000. Jackson Databind users should also upgrade to versions that include this fix.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 25, 2025CISA-ADP
Assessed Jun 25, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/FasterXML/jackson-core/pull/943 | [email protected] | Issue TrackingVendor |
| https://github.com/FasterXML/jackson-core/security/advisories/GHSA-h46c-h94j-95f3 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| FasterXML jackson-core | All versions |
CPE
Remediation
| |
| FasterXML jackson-databind | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 25, 2025 | New CVE Received | [email protected] |
Volerion