Heap-based Buffer Overflow Affecting imagemagick package, versions <8:7.1.2.1+dfsg1-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.01% (2nd 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-DEBIANUNSTABLE-IMAGEMAGICK-11808480
  • published15 Aug 2025
  • disclosed13 Aug 2025

Introduced: 13 Aug 2025

NewCVE-2025-55005  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Debian:unstable imagemagick to version 8:7.1.2.1+dfsg1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream imagemagick package and not the imagemagick package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to version 7.1.2-1, when preparing to transform from Log to sRGB colorspaces, the logmap construction fails to handle cases where the reference-black or reference-white value is larger than 1024. This leads to corrupting memory beyond the end of the allocated logmap buffer. This issue has been patched in version 7.1.2-1.

CVSS Base Scores

version 3.1