{"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-12-02T02:20:06.882070919Z","published":"2025-06-25T17:15:00Z","related":["USN-9243-1"],"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"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9243-1"}],"affected":[{"package":{"name":"jackson-core","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/jackson-core?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.2-2ubuntu0.1~esm1"}]}],"versions":["2.4.2-2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro","binaries":[{"binary_version":"2.4.2-2ubuntu0.1~esm1","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:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/jackson-core?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.9.8-3~18.04.1~esm1"}]}],"versions":["2.8.6-1","2.9.1-1","2.9.4-1","2.9.8-3~18.04"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"libjackson2-core-java","binary_version":"2.9.8-3~18.04.1~esm1"}]},"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:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/jackson-core?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.10.1-1ubuntu0.1~esm1"}]}],"versions":["2.9.8-3","2.10.0-1","2.10.1-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"libjackson2-core-java","binary_version":"2.10.1-1ubuntu0.1~esm1"}]},"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:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/jackson-core?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.13.0-2ubuntu0.1~esm1"}]}],"versions":["2.12.1-1","2.13.0-1","2.13.0-2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"2.13.0-2ubuntu0.1~esm1","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:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/jackson-core?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.14.1-1ubuntu0.24.04.1~esm1"}]}],"versions":["2.14.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjackson2-core-java","binary_version":"2.14.1-1ubuntu0.24.04.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"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_version":"2.14.1-1","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:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/jackson-core?arch=source&distro=esm-apps%2Fresolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.14.1-1ubuntu0.26.04.1~esm1"}]}],"versions":["2.14.1-1","2.14.1-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.14.1-1ubuntu0.26.04.1~esm1","binary_name":"libjackson2-core-java"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-52999.json"}}],"schema_version":"1.9.2","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","source":"CNA"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}