CVE-2025-52999
jackson-core can throw a StackoverflowError when processing deeply nested data
Reported by github_m · Published June 25, 2025
jackson-core is fixed in 2.15.0 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| com.fasterxml.jackson.core:jackson-core | Maven Central | 2.15.0 |
| cassandra-4.1 | Chainguard | 4.1.9-r1 |
| druid | Wolfi | 37.0.0-r56, 37.0.0-r14 |
| cassandra-fips-4.0 | Chainguard | 4.0.15-r2 |
| cassandra-reaper | Chainguard | 3.8.0-r6 |
| celeborn-0.5 | Chainguard | 0.5.4-r19 |
| spark-fips-3.5 | Chainguard | 3.5.8-r4 |
| confluent-common-docker | Wolfi | 7.6.0-r16 |
| celeborn-0.5 | Wolfi | 0.5.4-r19 |
| jackson-javadoc | Amazon Linux | 1.9.4-7.amzn2.0.1 |
| scala-3.8 | Chainguard | 3.8.4-r1 |
| cassandra-fips-5.0 | Chainguard | 5.0.3-r5 |
7 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| FasterXML | jackson-core | < 2.15.0 |
| chainguard | cassandra-4.1 | 0 |
| wolfi | druid | 0, 0 |
| Maven | com.fasterxml.jackson.core:jackson-core | 0 |
| chainguard | cassandra-fips-4.0 | 0 |
| chainguard | cassandra-reaper | 0 |
| chainguard | celeborn-0.5 | 0 |
| chainguard | spark-fips-3.5 | 0 |
| wolfi | confluent-common-docker | 0 |
| wolfi | celeborn-0.5 | 0 |
| amazon:2 | jackson-javadoc | 0 |
| chainguard | scala-3.8 | 0 |
| chainguard | cassandra-fips-5.0 | 0 |
| chainguard | cassandra-fips-4.1 | 0 |
| chainguard | tez | 0 |
| wolfi | scala-3.8 | 0 |
| chainguard | cassandra-4.0 | 0 |
| wolfi | cassandra-4.1 | 0 |
| chainguard | druid | 0, 0 |
| chainguard | hadoop-fips-3.3.6 | 0 |
…and 19 more
Timeline
- Jun 25, 2025 CVE Published
- Jun 26, 2025 EPSS Score (30 in total, the first dated here)
- Jun 26, 2025 Coalition ESS Score (12 in total, the first dated here)
- Dec 5, 2025 CVE Updated
- Dec 11, 2025 Security Advisory (40 in total, the first dated here)
- Mar 20, 2026 Distribution Patch (36 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-52999
vulnetix vdb fixes CVE-2025-52999
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-52999/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/FasterXML/jackson-core/security/advisories/GHSA-h46c-h94j-95f3 x_refsource_CONFIRM
- https://github.com/FasterXML/jackson-core/pull/943 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2025-52999 advisory
- https://github.com/advisories/GHSA-h46c-h94j-95f3 advisory
- https://github.com/FasterXML/jackson-core url