With 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.
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. Change is in https://github.com/FasterXML/jackson-core/pull/943. 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.
Users should avoid parsing input files from untrusted sources.
{ "nvd_published_at": "2025-06-25T17:15:39Z", "severity": "HIGH", "github_reviewed_at": "2025-06-27T15:22:22Z", "github_reviewed": true, "cwe_ids": [ "CWE-121" ] }