Buffer Underflow Affecting ImageMagick-debuginfo package, versions <0:6.9.10.97-1.amzn2.0.14


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.95% (61st 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-AMZN2-IMAGEMAGICKDEBUGINFO-11472006
  • published5 Aug 2025
  • disclosed14 Jul 2025

Introduced: 14 Jul 2025

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

How to fix?

Upgrade Amazon-Linux:2 ImageMagick-debuginfo to version 0:6.9.10.97-1.amzn2.0.14 or higher.
This issue was patched in ALAS2-2025-2952.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ImageMagick-debuginfo package and not the ImageMagick-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

ImageMagick is free and open-source software used for editing and manipulating digital images. In versions prior to 7.1.2-0 and 6.9.13-26, in ImageMagick's magick mogrify command, specifying multiple consecutive %d format specifiers in a filename template causes internal pointer arithmetic to generate an address below the beginning of the stack buffer, resulting in a stack overflow through vsnprintf(). Versions 7.1.2-0 and 6.9.13-26 fix the issue.

CVSS Base Scores

version 3.1