Skip to main content

jackson-databind CVE-2026-50193

| EUVDEUVD-2026-38597 MEDIUM
Uncontrolled Resource Consumption (CWE-400)
2026-06-23 security-advisories@github.com GHSA-3wrr-7qpf-2prh
6.3
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify endpoint accepting arbitrary JSON
  2. Delivery
    Craft ~2kB payload with 1,000+ nested arrays
  3. Exploit
    Submit concurrent unauthenticated HTTP requests
  4. Install
    readTree() builds deeply nested JsonNode tree
  5. C2
    toString() triggers recursive per-level serialization
  6. Execute
    StackOverflowError exhausts processing thread
  7. Impact
    Service availability degraded under sustained load

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target application uses two specific Jackson API calls in sequence on attacker-controlled input: ObjectMapper.readTree() to parse the JSON into a JsonNode tree, and JsonNode.toString() to serialize that node back to a string. Both conditions must be present in the same code path; services that deserialize into POJOs, or that serialize via ObjectMapper.writeValueAsString(), are not affected. The deeply nested structure must reach thousands of nesting levels; typical JSON payloads at normal business depths do not trigger the issue. There is no authentication requirement per the CVSS PR:N metric, so any unauthenticated endpoint exercising this pattern is exposed. Limiting factors include: the specific readTree() + toString() pattern must exist in application code reachable from the attacker; Jackson 2.14.0 or the writeValueAsString() workaround fully eliminates the vulnerability without restricting input depth.

Impact

The CVSS 4.0 base score of 6.3 (Medium) reflects the conditional nature of the attack: the AT:P (Attack Requirements: Present) metric captures the prerequisite that the target service must use the specific readTree() + toString() code path. Network reachability and zero-authentication requirements (AV:N/PR:N) increase the exposure surface once a vulnerable endpoint is identified. Real-world risk is moderate - the vulnerable pattern is not the only way to use Jackson, but it is common in services that accept arbitrary JSON and pass it through JsonNode for logging, debugging, or downstream forwarding. The availability impact is constrained to the service threads processing the malicious request; sustained concurrent requests can however saturate thread pools. No EPSS data was provided in the input. No CISA KEV listing and no public exploit code is known at time of analysis, which significantly reduces urgency versus an actively exploited vulnerability. A version-range discrepancy exists between the CVE description (2.13.0 as lower bound) and the GHSA package metadata (>= 2.10.0); both ranges should be treated as potentially applicable until resolved with the vendor.

Exploit ScenarioDerived

An attacker identifies a REST endpoint that accepts arbitrary JSON, internally processes it with ObjectMapper.readTree(), and emits the result or logs it via JsonNode.toString(). The attacker submits concurrent HTTP requests each carrying a ~2kB payload of approximately 1,000 levels of nested arrays. Each request triggers a StackOverflowError in the processing thread; under sustained load, this exhausts the service thread pool and degrades or halts availability. No public exploit code exists at time of analysis, but the attack is straightforward to replicate given the detailed public description and the small payload size required.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 23, 2026

Uncontrolled resource consumption in jackson-databind 2.10.0 through 2.13.5 allows unauthenticated remote attackers to cause a Denial-of-Service by submitting small (~2kB), deeply nested JSON payloads that trigger a StackOverflowError when a service reads the input via ObjectMapper.readTree() and serializes the resulting JsonNode using JsonNode.toString(). The root cause is recursive serialization in the toString() call path, which was replaced with an iterative IteratorStack-based implementation in version 2.14.0. No public exploit code has been identified at time of analysis, and active exploitation has not been confirmed by CISA KEV.

RemediationAI

Upgrade jackson-databind to version 2.14.0 or later, which replaces the recursive JsonNode serialization with an iterative implementation and fully resolves the vulnerability; this is confirmed by commit a1fa4ae4ecf5cee16da465985f135f3e81816f8c and the GHSA advisory at https://github.com/FasterXML/jackson-databind/security/advisories/GHSA-3wrr-7qpf-2prh. If an immediate upgrade is not feasible, the vendor-documented workaround is to replace all calls to JsonNode.toString() used for output with ObjectMapper.writeValueAsString(node), which uses a non-recursive serialization path and is therefore not vulnerable; this requires a targeted code change at every call site where toString() is used for producing JSON strings rather than for debugging. As an additional compensating control, deploying a JSON depth limit at the API gateway or framework layer - for example, configuring Jackson's StreamReadConstraints.maxNestingDepth() introduced in 2.15 - can reject excessively nested payloads before they reach the vulnerable path, with the trade-off that legitimate deeply-nested inputs would also be rejected.

Affected VersionsENISA

jackson-databind 2.10.0, < 2.14.0

Affected Packages

maven com.fasterxml.jackson.core:jackson-databind fix: 2.14.0
euvd jackson_databind_2_10_0 fix: 2.14.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

jackson-databind (Maven coordinate com.fasterxml.jackson.core:jackson-databind) is the data-binding and tree-model component of the FasterXML Jackson JSON library, one of the most widely used JSON processing libraries on the JVM. The vulnerability falls under CWE-400 (Uncontrolled Resource Consumption). The underlying mechanism is recursive call-stack growth during JsonNode serialization: when ObjectMapper.readTree() constructs a deeply nested JsonNode tree from JSON input, a subsequent call to JsonNode.toString() internally invokes recursive serialize() calls - one stack frame per nesting level. At roughly 1,000 levels of nesting (achievable with a 2kB payload), the JVM default thread stack is exhausted, triggering an unchecked java.lang.StackOverflowError. The fix (commit a1fa4ae4ecf5cee16da465985f135f3e81816f8c) replaces the recursive traversal in InternalNodeMapper with an iterative loop backed by a custom IteratorStack data structure, eliminating the stack-depth dependency entirely.

Know when Jackson Databind gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 6.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 5.9 MEDIUM

AC:H reflects the required non-default code path (readTree plus toString); only availability is impacted via uncontrolled StackOverflowError under concurrent load.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 7.5 HIGH

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jun 23, 2026 - 22:02 EUVD

DescriptionCVE.org

jackson-databind contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor. From 2.13.0 until 2.14.0, a potential Denial-of-Service exists when attacker sends deeply nested JSON if (and only if) the service reads deeply nested (1000s of levels) JSON as JsonNode (ObjectMapper.readTree()) and writes out same (or modifided) node using JsonNode.toString(). This can consume significant amount of resources with concurrent relatively small requests (1000 nested arrays is 2kB). This vulnerability is fixed in 2.14.0.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 7,613 maven packages depend on com.fasterxml.jackson.core:jackson-databind (2,139 direct, 5,569 indirect)

Ecosystem-wide dependent count for version 2.10.0.

Threat Intelligence Overview

EPSS Score
0.5%
Top 61% exploitable
Prevalence
Ubiquitous
Most-downloaded Java JSON library; core dependency in Spring Boot and Hadoop
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
High
Technical Impact
Partial

Priority Score

33
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2020-11113 HIGH
8.8 Mar 31

FasterXML jackson-databind 2.x before 2.9.10.4 mishandles the interaction between serialization gadgets and typing, rela

CVE-2020-9547 CRITICAL POC
9.8 Mar 02

FasterXML jackson-databind 2.x before 2.9.10.4 mishandles the interaction between serialization gadgets and typing, rela

CVE-2020-9548 CRITICAL POC
9.8 Mar 02

FasterXML jackson-databind 2.x before 2.9.10.4 mishandles the interaction between serialization gadgets and typing, rela

CVE-2020-35728 HIGH
8.1 Dec 27

FasterXML jackson-databind 2.x before 2.9.10.8 mishandles the interaction between serialization gadgets and typing, rela

CVE-2019-12086 HIGH POC
7.5 May 17

A Polymorphic Typing issue was discovered in FasterXML jackson-databind 2.x before 2.9.9. Rated high severity (CVSS 7.5)

CVE-2020-8840 CRITICAL
9.8 Feb 10

FasterXML jackson-databind 2.0.0 through 2.9.10.2 lacks certain xbean-reflect/JNDI blocking, as demonstrated by org.apac

CVE-2020-25649 HIGH POC
7.5 Dec 03

A flaw was found in FasterXML Jackson Databind, where it did not have entity expansion secured properly. Rated high seve

CVE-2019-12384 MEDIUM
5.9 Jun 24

FasterXML jackson-databind 2.x before 2.9.9.1 might allow attackers to have a variety of impacts by leveraging failure t

CVE-2020-35491 HIGH POC
8.1 Dec 17

FasterXML jackson-databind 2.x before 2.9.10.8 mishandles the interaction between serialization gadgets and typing, rela

CVE-2018-7489 CRITICAL
9.8 Feb 26

FasterXML jackson-databind before 2.7.9.3, 2.8.x before 2.8.11.1 and 2.9.x before 2.9.5 allows unauthenticated remote co

CVE-2020-35490 HIGH POC
8.1 Dec 17

FasterXML jackson-databind 2.x before 2.9.10.8 mishandles the interaction between serialization gadgets and typing, rela

CVE-2020-36183 HIGH POC
8.1 Jan 07

FasterXML jackson-databind 2.x before 2.9.10.8 mishandles the interaction between serialization gadgets and typing, rela

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy