{"id":"UBUNTU-CVE-2025-52999","details":"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.","modified":"2026-05-20T16:11:24.618874042Z","published":"2025-06-25T17:15:00Z","upstream":["CVE-2025-52999"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-52999"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-52999"},{"type":"REPORT","url":"https://github.com/FasterXML/jackson-core/pull/943"},{"type":"REPORT","url":"https://github.com/FasterXML/jackson-core/security/advisories/GHSA-h46c-h94j-95f3"}],"affected":[{"package":{"name":"jackson-core","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/jackson-core?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.2-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libjackson2-core-java","binary_version":"2.4.2-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-52999.json"}},{"package":{"name":"jackson-core","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/jackson-core?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8.6-1","2.9.1-1","2.9.4-1","2.9.8-3~18.04"],"ecosystem_specific":{"binaries":[{"binary_name":"libjackson2-core-java","binary_version":"2.9.8-3~18.04"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-52999.json"}},{"package":{"name":"jackson-core","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/jackson-core?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.9.8-3","2.10.0-1","2.10.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjackson2-core-java","binary_version":"2.10.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-52999.json"}},{"package":{"name":"jackson-core","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/jackson-core?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.12.1-1","2.13.0-1","2.13.0-2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.13.0-2","binary_name":"libjackson2-core-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-52999.json"}},{"package":{"name":"jackson-core","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/jackson-core?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.14.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjackson2-core-java","binary_version":"2.14.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-52999.json"}},{"package":{"name":"jackson-core","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/jackson-core?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.14.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjackson2-core-java","binary_version":"2.14.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-52999.json"}},{"package":{"name":"jackson-core","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/jackson-core?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.14.1-1","2.14.1-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjackson2-core-java","binary_version":"2.14.1-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-52999.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}