Skip to main content
← All vulnerabilities
CVE-2025-52999GHSA-H46C-H94J-95F3

jackson-core Has Potential for StackoverflowError if user parses an input file that contains very deeply nested data

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.15.0
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • FasterXML jackson-core

    fixed in 2.15.0

  • com.fasterxml.jackson.core:jackson-coreMaven

    fixed in 2.15.0

References 3

GitHub · FasterXML/jackson-core

GitHub · sassoftware/jackson