Findings

CVE-2026-25898

ImageMagick is free and open-source software used for editing and manipulating digital images.

Published Feb 24, 2026 · updated Jun 17, 2026 · imagemagick imagemagick

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, the UIL and XPM image encoder do not validate the pixel index value returned by before using it as an array subscript. In HDRI builds, is a floating-point type, so pixel index values can be negative. An attacker can craft an image with negative pixel index values to trigger a global buffer overflow read during conversion, leading to information disclosure or a process crash. Versions 7.1.2-15 and 6.9.13-40 contain a patch.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Feb 24, 2026 · NIST NVD

    Detected

    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, the UIL and XPM image encoder do not validate the pixel index value returned by before using it as an array subscript. In HDRI builds, is a floating-point type, so pixel index values can be negative. An attacker can craft an image with negative pixel index values

  2. Jun 17, 2026 · NIST NVD

    Updated

    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, the UIL and XPM image encoder do not validate the pixel index value returned by before using it as an array subscript. In HDRI builds, is a floating-point type, so pixel index values can be negative. An attacker can craft an image with negative pixel index values

Affected

  • cpe imagemagick/imagemagickversion unspecified

Sources

  • CVE.orgVulnerability recordCVE-2026-25898

    Official CVE identifier

    cve.org
  • NIST NVDVulnerability recordCVE-2026-25898

    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, the UIL and XPM image encoder do not validate the pixel index value returned by before using it as an array subscript. In HDR

    nvd.nist.gov

References