CVE-2026-50193: FasterXML jackson-databind denial of service via deeply nested JSON

CVE-2026-50193 · Severity: medium · CVSS 3.1 · Published 2026-06-23

A vulnerability in a widely used Java data-processing library could allow an attacker to crash a service or cause a significant slowdown. By sending a specially crafted, deeply nested JSON file, an attacker can trigger a memory or processing error when the application attempts to convert that data into a text string. This results in a denial-of-service, potentially making the affected application unavailable to legitimate users.

Technologies: FasterXML Jackson Databind, com.fasterxml.jackson.core:jackson-databind (Maven). Vendors: FasterXML, Maven.

Quick answers

Is CVE-2026-50193 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-50193 being exploited in the wild.
How severe is CVE-2026-50193?
Medium severity, with a CVSS score of 3.1, published 23 June 2026.
Which products and versions are affected?
FasterXML Jackson Databind >= 2.10.0, <= 2.13.5; com.fasterxml.jackson.core:jackson-databind (Maven) >= 2.10.0, <= 2.13.5, ECOSYSTEM:introduced=2.10.0,fixed=2.14.0.
Is there a fix for CVE-2026-50193?
Yes. com.fasterxml.jackson.core:jackson-databind (Maven): upgrade to 2.14.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-50193 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-50193?
Check whether you run FasterXML Jackson Databind or com.fasterxml.jackson.core:jackson-databind (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • com.fasterxml.jackson.core:jackson-databind (Maven): upgrade to 2.14.0 or later
    # set com.fasterxml.jackson.core:jackson-databind to 2.14.0 in your pom.xml or build.gradle

Technical details

A Denial-of-Service (DoS) vulnerability exists in jackson-databind due to uncontrolled resource consumption (CWE-400) during the serialization of deeply nested JSON structures. The issue occurs specifically when an application reads deeply nested JSON (thousands of levels) into a JsonNode using ObjectMapper.readTree() and then invokes JsonNode.toString(). This process can trigger a StackOverflowError or consume excessive CPU and memory resources. The vulnerability affects versions 2.10.0 through 2.13.x and is fixed in version 2.14.0. As a workaround, developers are advised to use ObjectMapper.writeValueAsString(node) instead of JsonNode.toString().

Affected products

  • FasterXML jackson-databind >= 2.10.0, < 2.14.0

Identifiers

  • CVE-2026-50193
  • GHSA-3wrr-7qpf-2prh

Timeline

  • 2022-04-05: disclosed: Issue first reported on GitHub
  • 2026-05-28: advisory: GitHub Security Advisory published
  • 2026-06-23: patched: CVE published and fix confirmed in 2.14.0

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.