CVE-2025-52999

jackson-core Has Potential for StackoverflowError if user parses an input file that contains very deeply nested data

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.

Category

8.7
CVSS
Severity: High
CVSS 4.0 •
EPSS 0.05%
Affected: FasterXML jackson-core
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2025-52999?
CVE-2025-52999 has been scored as a high severity vulnerability.
How to fix CVE-2025-52999?
To fix CVE-2025-52999, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2025-52999 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2025-52999 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2025-52999?
CVE-2025-52999 affects FasterXML jackson-core.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.