Buffer Underwrite (Buffer Underflow) Affecting ImageMagick/ImageMagick package, versions [,6.9.13-26)[7.0.1-0,7.1.2-0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.05% (17th 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-UNMANAGED-IMAGEMAGICKIMAGEMAGICK-11426530
  • published3 Aug 2025
  • disclosed14 Jul 2025
  • creditUnknown

Introduced: 14 Jul 2025

NewCVE-2025-53101  (opens in a new tab)
CWE-124  (opens in a new tab)

How to fix?

Upgrade ImageMagick/ImageMagick to version 6.9.13-26, 7.1.2-0 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Underwrite (Buffer Underflow) via the InterpretImageFilename function in the MagickCore/image.c file, which is responsible for handling image data. An attacker can cause unexpected behavior, potentially leading to modification of program execution flow or application crash by supplying specially crafted input files.

CVSS Base Scores

version 4.0
version 3.1