CVE-2025-52999CWE-121

jackson-core Has Potential for StackoverflowError if user parses an input file that contains very deeply nested data

High · published June 25, 2025

CVSS v4.0
8.7
EPSS
1%
Percentile
55.2
In the wild
Unconfirmed
What it is

jackson-core contains core low-level incremental ("streaming") parser and generator abstractions used by Jackson Data Processor. In versions prior to 2.15.0, if a user parses an input file and it has deeply nested data, Jackson could end up throwing a StackoverflowError if the depth is particularly large. 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. 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. As a workaround, users should avoid parsing input files from untrusted sources.

The record
Technical detail
CVSS v4.0
8.7 · HIGH
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
EPSS
0.00772 · 55.2th percentile
Weakness
CWE-121 · Stack-based Buffer Overflow
Published
2025-06-25T17:02Z
EPSS history
Timeline
  • 25 JUN 17:02Z
    jackson-core Has Potential for StackoverflowError if user parses an input file that contains very deeply nested data
    cvelistv5