Stack-based Buffer Overflow Affecting spark-4.0 package, versions <4.0.3-r2


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

Social Trends
EPSS
0.67% (49th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-SPARK40-14889657
  • published7 Jan 2026
  • disclosed25 Jun 2025

Introduced: 25 Jun 2025

CVE-2025-52999  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade Chainguard spark-4.0 to version 4.0.3-r2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream spark-4.0 package and not the spark-4.0 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1