CVE-2026-25798: ImageMagick

High severity, CVSS 7.5. EPSS: 0.7% probability of exploitation activity in the next 30 days.

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-15 and 6.9.13-40, a NULL pointer dereference in ClonePixelCacheRepository allows a remote attacker to crash any application linked against ImageMagick by supplying a crafted image file, resulting in denial of service. Versions 7.1.2-15 and 6.9.13-40 contain a patch.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • ImageMagick, before 6.9.13-40: fixed in 6.9.13-40
  • ImageMagick, from 7.0.0-0, before 7.1.2-15: fixed in 7.1.2-15

Affected products

  • ImageMagick ImageMagick: before 6.9.13-40 (fixed in 6.9.13-40); from 7.0.0-0, before 7.1.2-15 (fixed in 7.1.2-15)

Affected packages

Published 2026-02-24. Last modified 2026-06-17.