Out-of-bounds Write Affecting imagemagick package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (8th 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-CONAN-IMAGEMAGICK-12817820
  • published17 Sept 2025
  • disclosed5 Sept 2025
  • creditLumina Mescuwa

Introduced: 5 Sep 2025

NewCVE-2025-57807  (opens in a new tab)
CWE-122  (opens in a new tab)
CWE-131  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write in the WriteBlob() function. An attacker can achieve memory corruption, by manipulating the stream offset using a forward seek beyond the current buffer extent and then performing a write operation. This allows writing attacker-controlled data at an attacker-chosen offset outside the allocated heap buffer.

References

CVSS Base Scores

version 4.0
version 3.1