CVE-2025-52999: CWE-121: Stack-based Buffer Overflow in FasterXML jackson-core
A stack-based buffer overflow vulnerability exists in FasterXML jackson-core versions prior to 2.15.0. This occurs when parsing input files with deeply nested data, potentially causing a StackOverflowError. Version 2.15.0 introduces a configurable depth limit (default 1000) to prevent this issue by throwing a StreamConstraintsException when exceeded.jackson-databind also benefits from this fix as it relies on jackson-core for JSON parsing.
AI Analysis
Technical Summary
CVE-2025-52999 is a stack-based buffer overflow vulnerability in jackson-core before version 2.15.0. The vulnerability arises from the parser's inability to handle extremely deeply nested input data, which can cause a StackOverflowError due to excessive recursion depth. The fix in 2.15.0 adds a configurable maximum depth limit to the parser, preventing unbounded recursion and throwing a StreamConstraintsException if the limit is reached. This mitigates the risk of stack overflow crashes during JSON parsing. jackson-databind is indirectly protected by this fix since it uses jackson-core for parsing.
Potential Impact
Applications using jackson-core versions prior to 2.15.0 are vulnerable to denial of service via stack overflow when processing maliciously crafted deeply nested JSON input. This can cause application crashes and potential service disruption. There are no known exploits in the wild at this time.
Mitigation Recommendations
Upgrade jackson-core to version 2.15.0 or later, which includes a configurable depth limit to prevent stack overflow errors. As a temporary workaround, avoid parsing JSON inputs from untrusted sources to reduce risk. No other official fixes or patches are indicated.
CVE-2025-52999: CWE-121: Stack-based Buffer Overflow in FasterXML jackson-core
Description
A stack-based buffer overflow vulnerability exists in FasterXML jackson-core versions prior to 2.15.0. This occurs when parsing input files with deeply nested data, potentially causing a StackOverflowError. Version 2.15.0 introduces a configurable depth limit (default 1000) to prevent this issue by throwing a StreamConstraintsException when exceeded.jackson-databind also benefits from this fix as it relies on jackson-core for JSON parsing.
CVSS v4.0
Score 8.7high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-52999 is a stack-based buffer overflow vulnerability in jackson-core before version 2.15.0. The vulnerability arises from the parser's inability to handle extremely deeply nested input data, which can cause a StackOverflowError due to excessive recursion depth. The fix in 2.15.0 adds a configurable maximum depth limit to the parser, preventing unbounded recursion and throwing a StreamConstraintsException if the limit is reached. This mitigates the risk of stack overflow crashes during JSON parsing. jackson-databind is indirectly protected by this fix since it uses jackson-core for parsing.
Potential Impact
Applications using jackson-core versions prior to 2.15.0 are vulnerable to denial of service via stack overflow when processing maliciously crafted deeply nested JSON input. This can cause application crashes and potential service disruption. There are no known exploits in the wild at this time.
Mitigation Recommendations
Upgrade jackson-core to version 2.15.0 or later, which includes a configurable depth limit to prevent stack overflow errors. As a temporary workaround, avoid parsing JSON inputs from untrusted sources to reduce risk. No other official fixes or patches are indicated.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2025-06-24T03:50:36.795Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 685c2fdef95e997babc447c5
Added to database: 06/25/2025, 17:20:30 UTC
Last enriched: 06/09/2026, 10:43:54 UTC
Last updated: 09/10/2026, 19:36:51 UTC
Views: 216
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.