{"id":"CVE-2025-52999","aliases":["CVE-2025-52999","GHSA-h46c-h94j-95f3"],"related":[],"kind":"vulnerability","state":"published","title":"jackson-core Has Potential for StackoverflowError if user parses an input file that contains very deeply nested data","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\nWith older versions  of jackson-core, if you parse an input file and it has deeply nested data, Jackson could end up throwing a StackoverflowError if the depth is particularly large.\n\n### Patches\njackson-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. Change is in https://github.com/FasterXML/jackson-core/pull/943. jackson-core will throw a StreamConstraintsException if the limit is reached.\njackson-databind also benefits from this change because it uses jackson-core to parse JSON inputs.\n\n### Workarounds\nUsers should avoid parsing input files from untrusted sources.","format":"markdown","source":"ghsa"},{"lang":"es","text":"jackson-core contiene las abstracciones principales del analizador incremental (\"streaming\") de bajo nivel y del generador utilizadas por Jackson Data Processor. En versiones anteriores a la 2.15.0, si un usuario analiza un archivo de entrada con datos profundamente anidados, Jackson podía generar un error de Stackoverflow si la profundidad era excesiva. jackson-core 2.15.0 incluye un límite configurable para la profundidad que Jackson recorrerá en un documento de entrada, con una profundidad predeterminada de 1000. jackson-core generará una excepción StreamConstraintsException si se alcanza el límite. jackson-databind también se beneficia de este cambio, ya que utiliza jackson-core para analizar las entradas JSON. Como solución alternativa, se recomienda a los usuarios evitar analizar archivos de entrada de fuentes no confiables.","source":"nvd"}],"published":"2025-06-25T17:02:57.428Z","modified":"2026-09-10T03:50:25.329Z","severity":{"scorer":"GitHub_M","scheme":"CVSS: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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS: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","score":8.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS: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","rating":"HIGH"}],"cwes":["CWE-121"],"affected":[{"ranges":[{"version":"< 2.15.0","status":"affected"}],"vendor":"FasterXML","product":"jackson-core","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.15.0"}],"ecosystem":"Maven","package":"com.fasterxml.jackson.core:jackson-core","purl":"pkg:maven/com.fasterxml.jackson.core/jackson-core","source":"ghsa"}],"references":[{"url":"https://github.com/FasterXML/jackson-core/security/advisories/GHSA-h46c-h94j-95f3","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/FasterXML/jackson-core/pull/943","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-52999","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/FasterXML/jackson-core","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-06-25T18:04:07.206Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-52999","url":"https://www.cve.org/CVERecord?id=CVE-2025-52999","licence":"CVE Terms of Use","modified":"2025-06-25T18:04:23.296Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h46c-h94j-95f3","url":"https://github.com/advisories/GHSA-h46c-h94j-95f3","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:25.329Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-52999","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-52999","licence":"Public domain","modified":"2026-06-17T09:37:27.057Z"}],"updatedAt":"2026-11-25T22:58:59.604Z","epss":{"score":0.00805,"percentile":0.57924,"date":"2026-12-01T12:00:22.000Z"}}