{"id":"CVE-2025-52999","published":"2025-06-25T17:02:57Z","modified":"2025-06-25T18:04:23Z","title":"jackson-core Has Potential for StackoverflowError if user parses an input file that contains very deeply nested data","vendor":"FasterXML","product":"jackson-core","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00805,"percentile":0.5767,"provenance":"source"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"references":[{"url":"https://github.com/FasterXML/jackson-core/security/advisories/GHSA-h46c-h94j-95f3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/FasterXML/jackson-core/pull/943","tags":["x_refsource_MISC"]}],"priority":{"score":22.6,"factors":[{"name":"EPSS percentile","points":11.53},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.09}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-02-23","earliestUrl":"https://github.com/sassoftware/jackson","repos":[{"name":"sassoftware/jackson","url":"https://github.com/sassoftware/jackson","stars":1,"created":"2026-02-23"}]},"first":{"date":"2026-02-23","source":"PoC-in-GitHub","url":"https://github.com/sassoftware/jackson"},"provenance":"source"},"vendorSlug":"fasterxml","affectedVersions":[{"vendor":"FasterXML","product":"jackson-core","versions":["< 2.15.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-06-25T18:04:07.206576Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.fasterxml.jackson.core:jackson-core","vulnerableRanges":["<2.15.0"],"patched":["2.15.0"],"from":["GHSA-h46c-h94j-95f3"],"provenance":"source"}],"summary":{"text":"jackson-core, the low-level streaming parser and generator component used by Jackson Data Processor from FasterXML, contains a flaw in versions before 2.15.0 where parsing deeply nested data can trigger a StackOverflowError. An attacker who can supply a crafted input document to an application that parses it, with no authentication or user interaction required, can exhaust the stack and cause a denial of service; upgrading to 2.15.0 or later adds a configurable nesting-depth limit (default 1000) that prevents this.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:36:49Z"},"euvd":{"id":"EUVD-2025-28482","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-fasterxml-jackson-core-cve-2025-52999","children":[{"from":"CVE-2025-52999","to":"CVE-2026-29062","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-6v53-7c9g-w56r","via":"reference","url":"https://github.com/FasterXML/jackson-core/security/advisories/GHSA-h46c-h94j-95f3"}]}],"packageHistory":[{"cve":"CVE-2025-49128","published":"2025-06-06","fixed":"2.13.0","kev":false,"link":{"from":"CVE-2025-49128","to":"CVE-2025-52999","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.fasterxml.jackson.core:jackson-core","fromFixed":"2.13.0","toFixed":"2.15.0","daysApart":19}]}},{"cve":"CVE-2025-52999","published":"2025-06-25","fixed":"2.15.0","kev":false},{"cve":"CVE-2026-18401","published":"2026-08-04","fixed":"2.21.1","kev":false,"link":{"from":"CVE-2025-52999","to":"CVE-2026-18401","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.fasterxml.jackson.core:jackson-core","fromFixed":"2.15.0","toFixed":"2.18.6","daysApart":405}]}},{"cve":"CVE-2026-68494","published":"2026-08-04","fixed":"2.21.4","kev":false},{"cve":"CVE-2026-89407","published":"2026-09-22","fixed":"2.22.3","kev":false}],"package":"Maven:com.fasterxml.jackson.core:jackson-core"}}