Skip to main content
EPSS 0.7%top 50%

CVE-2025-52999: CWE-121: Stack-based Buffer Overflow in FasterXML jackson-core

0
High
VulnerabilityCVE-2025-52999cvecve-2025-52999cwe-121
Published: 06/25/2025 (06/25/2025, 17:02:57 UTC)
Source: CVE Database V5
Vendor/Project: FasterXML
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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 software

Affected versions
<2.15.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/09/2026, 10:43:54 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses