High

jackson-core can throw a StackoverflowError when processing deeply nested data

  • Disclosed: 27.06.2025
  • Updated: 11.10.2026 13:20

Impact

With older versions of jackson-core, if you parse an input file and it has deeply nested data, Jackson could end up throwing a StackoverflowError if the depth is particularly large.

Patches

jackson-core 2.15.0 contains a configurable limit for how deep Jackson will traverse in an input document, defaulting to an allowable depth of 1000. Change is in https://github.com/FasterXML/jackson-core/pull/943. jackson-core will throw a StreamConstraintsException if the limit is reached. jackson-databind also benefits from this change because it uses jackson-core to parse JSON inputs.

Workarounds

Users should avoid parsing input files from untrusted sources.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) com.fasterxml.jackson.core:jackson-core < 2.15.0 2.15.0

References

CVSS score -
CVSS vector
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
Weakness (CWE)
CWE-121
Platform
Java / Kotlin (Maven)
Package
com.fasterxml.jackson.core:jackson-core
Disclosed
27.06.2025
Updated
11.10.2026 13:20

Sources and licenses

OSV / GitHub Advisory Database - GHSA-h46c-h94j-95f3 - CC BY 4.0

Vulnerability history: com.fasterxml.jackson.core:jackson-core

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
6
First → latest
06.2025 10.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 4
  • Medium 2

Disclosures per year

  1. 2025: 2
  2. 2026: 4
  1. High · 7.5 CVE-2026-89425 >= 2.19.0, < 2.21.7, >= 2.22.0, < 2.22.3, >= 2.8.0, < 2.18.11 2.21.7, 2.22.3, 2.18.11
  2. High · 7.5 CVE-2026-89407 >= 2.17.0, < 2.18.11, >= 2.19.0, < 2.21.7, >= 2.22.0, < 2.22.3 2.18.11, 2.21.7, 2.22.3
  3. Medium CVE-2026-18401 >= 2.19.0, < 2.21.1, >= 2.15.0, < 2.18.6 2.21.1, 2.18.6
  4. jackson-core can throw a StackoverflowError when processing deeply nested data this entry
    High CVE-2025-52999 < 2.15.0 2.15.0
  5. Medium · 4.0 CVE-2025-49128 >= 2.0.0, < 2.13.0 2.13.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.