CVE-2026-50193: jackson-databind: Deeply nested JsonNode throws StackOverflowError for toString()

Published Jun 23, 2026
·
Updated

Impact

Potential Denial-of-Service when attacker sends deeply nested JSON if (and only if) service:

1. Reads deeply nested (1000s of levels) JSON as JsonNode (ObjectMapper.readTree()) 2. Writes out same (or modifided) node using JsonNode.toString()

which can consume significant amount of resources with concurrent relatively small requests (1000 nested arrays is 2kB).

Patches

Fixed in 2.14.0 via https://github.com/FasterXML/jackson-databind/issues/3447.

Workarounds

Avoid serializing JsonNode using toString(): use ObjectMapper.writeValueAsString(node)

Other sources

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.

MITRE

Affected Software

3 affected componentsFixes available
maven/com.fasterxml.jackson.core/jackson-databind>=2.13.0<2.14.0
maven/com.fasterxml.jackson.core:jackson-databind>=2.10.0<=2.13.5
2.14.0
fasterxml jackson-databind>=2.10.0<2.14.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/com.fasterxml.jackson.core:jackson-databind to a version that resolves this vulnerability.

    Fixed in 2.14.0
  2. Upgrade

    Upgrade jackson-databind to a version that resolves this vulnerability.

    Fixed in 2.14.0Patch https://github.com/FasterXML/jackson-databind/issues/3447
  3. Configuration

    Avoid serializing `JsonNode` using `JsonNode.toString()`; instead use `ObjectMapper.writeValueAsString(node)` (not applicable after upgrading beyond the fix in 2.14.0).

    jackson-databind (JsonNode serialization) JsonNode.toString() = avoid; use ObjectMapper.writeValueAsString(node)

Event History

Jun 23, 2026
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
DescriptionWeakness
Data Sourced
via NVD·09:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·09:21 PM
Data Sourced
via GitHub·09:21 PM
DescriptionWeaknessAffected Software
Data Sourced
via Red Hat·10:01 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-50193?

CVE-2026-50193 has a medium severity level rated at 6.3 on the CVSS scale.

2

What impact does CVE-2026-50193 have on applications?

CVE-2026-50193 can lead to a potential Denial-of-Service by causing a StackOverflowError when handling deeply nested JSON.

3

How do I fix CVE-2026-50193?

To mitigate CVE-2026-50193, avoid processing deeply nested JSON structures with the Jackson Databind library until a patch is applied.

4

Which software is affected by CVE-2026-50193?

CVE-2026-50193 affects the Jackson Databind library, specifically versions published under maven/com.fasterxml.jackson.core/jackson-databind.

5

When was CVE-2026-50193 published?

CVE-2026-50193 was published on June 23, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203