Vulnerability · Published Jun 25, 2025 · Assigned by GitHub_M
CVE-2025-52999jackson-core Has Potential for StackoverflowError if user parses an input file that contains very deeply nested data
High 8.7
In plain English
A high-severity stack buffer overflow in jackson-core from FasterXML. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | apache-commons-collections | 3.2.2-10.module_el8.5.0+2577+9e95fe00 | ALSA-2025:14126 |
| AlmaLinux:8 | apache-commons-lang | 2.6-21.module_el8.5.0+2577+9e95fe00 | ALSA-2025:14126 |
| AlmaLinux:8 | apache-commons-net | 3.6-3.module_el8.5.0+2577+9e95fe00 | ALSA-2025:14126 |
| AlmaLinux:8 | bea-stax-api | 1.2.0-16.module_el8.5.0+2577+9e95fe00 | ALSA-2025:14126 |
| AlmaLinux:8 | fasterxml-oss-parent | 69-1.module_el8.10.0+4034+20822525 | ALSA-2025:14126 |
| AlmaLinux:8 | glassfish-fastinfoset | 1.2.13-9.module_el8.5.0+2577+9e95fe00 | ALSA-2025:14126 |
| AlmaLinux:8 | glassfish-jaxb-api | 2.2.12-8.module_el8.5.0+2577+9e95fe00 | ALSA-2025:14126 |
| AlmaLinux:8 | glassfish-jaxb-core | 2.2.11-12.module_el8.10.0+3791+e0637953 | ALSA-2025:14126 |
| AlmaLinux:8 | glassfish-jaxb-runtime | 2.2.11-12.module_el8.10.0+3791+e0637953 | ALSA-2025:14126 |
| AlmaLinux:8 | glassfish-jaxb-txw2 | 2.2.11-12.module_el8.10.0+3791+e0637953 | ALSA-2025:14126 |
| AlmaLinux:8 | jackson-annotations | 2.19.1-1.module_el8.10.0+4034+20822525 | ALSA-2025:14126 |
| AlmaLinux:8 | jackson-bom | 2.19.1-1.module_el8.10.0+4034+20822525 | ALSA-2025:14126 |
| AlmaLinux:8 | jackson-core | 2.19.1-1.module_el8.10.0+4034+20822525 | ALSA-2025:14126 |
| AlmaLinux:8 | jackson-databind | 2.19.1-1.module_el8.10.0+4034+20822525 | ALSA-2025:14126 |
| AlmaLinux:8 | jackson-jaxrs-json-provider | 2.19.1-1.module_el8.10.0+4034+20822525 | ALSA-2025:14126 |
| AlmaLinux:8 | jackson-jaxrs-providers | 2.19.1-1.module_el8.10.0+4034+20822525 | ALSA-2025:14126 |
| AlmaLinux:8 | jackson-module-jaxb-annotations | 2.19.1-1.module_el8.10.0+4034+20822525 | ALSA-2025:14126 |
| AlmaLinux:8 | jackson-modules-base | 2.19.1-1.module_el8.10.0+4034+20822525 | ALSA-2025:14126 |
| AlmaLinux:8 | jackson-parent | 2.19.1-1.module_el8.10.0+4034+20822525 | ALSA-2025:14126 |
| AlmaLinux:8 | jakarta-commons-httpclient | 1:3.1-28.module_el8.5.0+2577+9e95fe00 | ALSA-2025:14126 |
| AlmaLinux:8 | javassist | 3.18.1-8.module_el8.5.0+2577+9e95fe00 | ALSA-2025:14126 |
| AlmaLinux:8 | javassist-javadoc | 3.18.1-8.module_el8.5.0+2577+9e95fe00 | ALSA-2025:14126 |
| AlmaLinux:9 | pki-jackson-annotations | 2.19.1-1.el9_6 | ALSA-2025:12280 |
| AlmaLinux:9 | pki-jackson-core | 2.19.1-1.el9_6 | ALSA-2025:12280 |
| AlmaLinux:9 | pki-jackson-databind | 2.19.1-1.el9_6 | ALSA-2025:12280 |
| AlmaLinux:9 | pki-jackson-jaxrs-json-provider | 2.19.1-1.el9_6 | ALSA-2025:12280 |
| AlmaLinux:9 | pki-jackson-jaxrs-providers | 2.19.1-1.el9_6 | ALSA-2025:12280 |
| AlmaLinux:9 | pki-jackson-module-jaxb-annotations | 2.19.1-1.el9_6 | ALSA-2025:12280 |
| AlmaLinux:8 | pki-servlet-engine | 1:9.0.62-1.module_el8.10.0+3791+e0637953 | ALSA-2025:14126 |
| AlmaLinux:8 | relaxngDatatype | 2011.1-7.module_el8.5.0+2577+9e95fe00 | ALSA-2025:14126 |
| AlmaLinux:8 | slf4j | 1.7.25-4.module_el8.5.0+2577+9e95fe00 | ALSA-2025:14126 |
| AlmaLinux:8 | slf4j-jdk14 | 1.7.25-4.module_el8.5.0+2577+9e95fe00 | ALSA-2025:14126 |
| AlmaLinux:8 | stax-ex | 1.7.7-8.module_el8.5.0+2577+9e95fe00 | ALSA-2025:14126 |
| AlmaLinux:8 | velocity | 1.7-24.module_el8.5.0+2577+9e95fe00 | ALSA-2025:14126 |
| AlmaLinux:8 | xalan-j2 | 2.7.1-38.module_el8.5.0+2577+9e95fe00 | ALSA-2025:14126 |
| AlmaLinux:8 | xerces-j2 | 2.11.0-34.module_el8.5.0+2577+9e95fe00 | ALSA-2025:14126 |
| AlmaLinux:8 | xml-commons-apis | 1.4.01-25.module_el8.5.0+2577+9e95fe00 | ALSA-2025:14126 |
| AlmaLinux:8 | xml-commons-resolver | 1.2-26.module_el8.5.0+2577+9e95fe00 | ALSA-2025:14126 |
| AlmaLinux:8 | xmlstreambuffer | 1.5.4-8.module_el8.5.0+2577+9e95fe00 | ALSA-2025:14126 |
| AlmaLinux:8 | xsom | 0-19.20110809svn.module_el8.5.0+2577+9e95fe00 | ALSA-2025:14126 |
| Debian:12 | jackson-core | 2.14.1-2~deb12u1 | DEBIAN-CVE-2025-52999 |
| Debian:13 | jackson-core | 2.14.1-2~deb13u1 | DEBIAN-CVE-2025-52999 |
| Debian:14 | jackson-core | 2.14.1-2 | DEBIAN-CVE-2025-52999 |
| Maven | com.fasterxml.jackson.core:jackson-core | 2.15.0 | GHSA-h46c-h94j-95f3 |
| Rocky Linux:8 | apache-commons-collections | 0:3.2.2-10.module+el8.3.0+74+855e3f5d | RLSA-2025:14126 |
| Rocky Linux:8 | apache-commons-collections | 0:3.2.2-10.module+el8.10.0+1763+c7c02164 | RLSA-2025:14126 |
| Rocky Linux:8 | apache-commons-collections | 0:3.2.2-10.module+el8.10.0+2052+1b0fb438 | RLSA-2025:14126 |
| Rocky Linux:8 | apache-commons-lang | 0:2.6-21.module+el8.10.0+1763+c7c02164 | RLSA-2025:14126 |
| Rocky Linux:8 | apache-commons-lang | 0:2.6-21.module+el8.3.0+74+855e3f5d | RLSA-2025:14126 |
| Rocky Linux:8 | apache-commons-net | 0:3.6-3.module+el8.10.0+2052+1b0fb438 | RLSA-2025:14126 |
| Rocky Linux:8 | apache-commons-net | 0:3.6-3.module+el8.10.0+1763+c7c02164 | RLSA-2025:14126 |
| Rocky Linux:8 | apache-commons-net | 0:3.6-3.module+el8.3.0+74+855e3f5d | RLSA-2025:14126 |
| Rocky Linux:8 | bea-stax | 0:1.2.0-16.module+el8.10.0+1763+c7c02164 | RLSA-2025:14126 |
| Rocky Linux:8 | bea-stax | 0:1.2.0-16.module+el8.10.0+2052+1b0fb438 | RLSA-2025:14126 |
| Rocky Linux:8 | glassfish-fastinfoset | 0:1.2.13-9.module+el8.10.0+1763+c7c02164 | RLSA-2025:14126 |
| Rocky Linux:8 | glassfish-fastinfoset | 0:1.2.13-9.module+el8.10.0+2052+1b0fb438 | RLSA-2025:14126 |
| Rocky Linux:8 | glassfish-jaxb | 0:2.2.11-12.module+el8.10.0+2052+1b0fb438 | RLSA-2025:14126 |
| Rocky Linux:8 | glassfish-jaxb | 0:2.2.11-12.module+el8.10.0+1763+c7c02164 | RLSA-2025:14126 |
| Rocky Linux:8 | glassfish-jaxb-api | 0:2.2.12-8.module+el8.10.0+2052+1b0fb438 | RLSA-2025:14126 |
| Rocky Linux:8 | glassfish-jaxb-api | 0:2.2.12-8.module+el8.10.0+1763+c7c02164 | RLSA-2025:14126 |
| Rocky Linux:8 | jackson-annotations | 0:2.19.1-1.module+el8.10.0+2052+1b0fb438 | RLSA-2025:14126 |
| Rocky Linux:9 | jackson-annotations | 0:2.19.1-1.el9_6 | RLSA-2025:12280 |
| Rocky Linux:8 | jackson-core | 0:2.19.1-1.module+el8.10.0+2052+1b0fb438 | RLSA-2025:14126 |
| Rocky Linux:9 | jackson-core | 0:2.19.1-1.el9_6 | RLSA-2025:12280 |
| Rocky Linux:8 | jackson-databind | 0:2.19.1-1.module+el8.10.0+2052+1b0fb438 | RLSA-2025:14126 |
| Rocky Linux:9 | jackson-databind | 0:2.19.1-1.el9_6 | RLSA-2025:12280 |
| Rocky Linux:9 | jackson-jaxrs-providers | 0:2.19.1-1.el9_6 | RLSA-2025:12280 |
| Rocky Linux:9 | jackson-modules-base | 0:2.19.1-1.el9_6 | RLSA-2025:12280 |
| Rocky Linux:8 | jakarta-commons-httpclient | 1:3.1-28.module+el8.10.0+1763+c7c02164 | RLSA-2025:14126 |
| Rocky Linux:8 | jakarta-commons-httpclient | 1:3.1-28.module+el8.3.0+74+855e3f5d | RLSA-2025:14126 |
| Rocky Linux:8 | jakarta-commons-httpclient | 1:3.1-28.module+el8.10.0+2052+1b0fb438 | RLSA-2025:14126 |
| Rocky Linux:8 | javassist | 0:3.18.1-8.module+el8.10.0+1763+c7c02164 | RLSA-2025:14126 |
| Rocky Linux:8 | javassist | 0:3.18.1-8.module+el8.3.0+74+855e3f5d | RLSA-2025:14126 |
| Rocky Linux:8 | javassist | 0:3.18.1-8.module+el8.10.0+2052+1b0fb438 | RLSA-2025:14126 |
| Rocky Linux:8 | pki-servlet-engine | 1:9.0.62-1.module+el8.10.0+2052+1b0fb438 | RLSA-2025:14126 |
| Rocky Linux:8 | pki-servlet-engine | 1:9.0.62-1.module+el8.10.0+1767+f923f786 | RLSA-2025:14126 |
| Rocky Linux:8 | relaxngDatatype | 0:2011.1-7.module+el8.10.0+1763+c7c02164 | RLSA-2025:14126 |
| Rocky Linux:8 | relaxngDatatype | 0:2011.1-7.module+el8.10.0+2052+1b0fb438 | RLSA-2025:14126 |
| Rocky Linux:8 | slf4j | 0:1.7.25-4.module+el8.3.0+74+855e3f5d | RLSA-2025:14126 |
| Rocky Linux:8 | slf4j | 0:1.7.25-4.module+el8.10.0+1763+c7c02164 | RLSA-2025:14126 |
| Rocky Linux:8 | slf4j | 0:1.7.25-4.module+el8.10.0+2003+8aeac9cb | RLSA-2025:14126 |
| Rocky Linux:8 | slf4j | 0:1.7.25-4.module+el8.10.0+2052+1b0fb438 | RLSA-2025:14126 |
| Rocky Linux:8 | slf4j | 0:1.7.25-4.module+el8.6.0+843+5a13dac3 | RLSA-2025:14126 |
| Rocky Linux:8 | stax-ex | 0:1.7.7-8.module+el8.10.0+2052+1b0fb438 | RLSA-2025:14126 |
| Rocky Linux:8 | stax-ex | 0:1.7.7-8.module+el8.10.0+1763+c7c02164 | RLSA-2025:14126 |
| Rocky Linux:8 | velocity | 0:1.7-24.module+el8.10.0+1763+c7c02164 | RLSA-2025:14126 |
| Rocky Linux:8 | velocity | 0:1.7-24.module+el8.10.0+2052+1b0fb438 | RLSA-2025:14126 |
| Rocky Linux:8 | velocity | 0:1.7-24.module+el8.3.0+74+855e3f5d | RLSA-2025:14126 |
| Rocky Linux:8 | xalan-j2 | 0:2.7.1-38.module+el8.10.0+1763+c7c02164 | RLSA-2025:14126 |
| Rocky Linux:8 | xalan-j2 | 0:2.7.1-38.module+el8.3.0+74+855e3f5d | RLSA-2025:14126 |
| Rocky Linux:8 | xalan-j2 | 0:2.7.1-38.module+el8.10.0+2052+1b0fb438 | RLSA-2025:14126 |
| Rocky Linux:8 | xerces-j2 | 0:2.11.0-34.module+el8.10.0+1763+c7c02164 | RLSA-2025:14126 |
| Rocky Linux:8 | xerces-j2 | 0:2.11.0-34.module+el8.10.0+2052+1b0fb438 | RLSA-2025:14126 |
| Rocky Linux:8 | xerces-j2 | 0:2.11.0-34.module+el8.3.0+74+855e3f5d | RLSA-2025:14126 |
| Rocky Linux:8 | xml-commons-apis | 0:1.4.01-25.module+el8.10.0+2052+1b0fb438 | RLSA-2025:14126 |
| Rocky Linux:8 | xml-commons-apis | 0:1.4.01-25.module+el8.3.0+74+855e3f5d | RLSA-2025:14126 |
| Rocky Linux:8 | xml-commons-apis | 0:1.4.01-25.module+el8.10.0+2003+8aeac9cb | RLSA-2025:14126 |
| Rocky Linux:8 | xml-commons-apis | 0:1.4.01-25.module+el8.10.0+1763+c7c02164 | RLSA-2025:14126 |
| Rocky Linux:8 | xml-commons-resolver | 0:1.2-26.module+el8.10.0+1763+c7c02164 | RLSA-2025:14126 |
| Rocky Linux:8 | xml-commons-resolver | 0:1.2-26.module+el8.10.0+2052+1b0fb438 | RLSA-2025:14126 |
| Rocky Linux:8 | xml-commons-resolver | 0:1.2-26.module+el8.3.0+74+855e3f5d | RLSA-2025:14126 |
| Rocky Linux:8 | xmlstreambuffer | 0:1.5.4-8.module+el8.10.0+2052+1b0fb438 | RLSA-2025:14126 |
| Rocky Linux:8 | xmlstreambuffer | 0:1.5.4-8.module+el8.10.0+1763+c7c02164 | RLSA-2025:14126 |
| Rocky Linux:8 | xsom | 0:0-19.20110809svn.module+el8.10.0+2052+1b0fb438 | RLSA-2025:14126 |
| Rocky Linux:8 | xsom | 0:0-19.20110809svn.module+el8.10.0+1763+c7c02164 | RLSA-2025:14126 |
| Ubuntu:22.04:LTS | jackson-core | no fix listed | UBUNTU-CVE-2025-52999 |
| Ubuntu:24.04:LTS | jackson-core | no fix listed | UBUNTU-CVE-2025-52999 |
| Ubuntu:25.10 | jackson-core | no fix listed | UBUNTU-CVE-2025-52999 |
| Ubuntu:26.04:LTS | jackson-core | no fix listed | UBUNTU-CVE-2025-52999 |
| Ubuntu:26.10 | jackson-core | no fix listed | UBUNTU-CVE-2025-52999 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| FasterXML | jackson-core | < 2.15.0 |
Weakness: CWE-121 · 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
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