CVE-2026-25971

ImageMagick's MSL: Stack overflow in ProcessMSLScript

State
Published
Severity
6.2 Medium
Published
Feb 24, 2026
Updated
Jun 23, 2026
Reserved
Feb 9, 2026

Read the record on cve.org

Description

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, Magick fails to check for circular references between two MSLs, leading to a stack overflow. Versions 7.1.2-15 and 6.9.13-40 contain a patch.

Scores

CVSSScoreVectorSource
3.16.2 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HGitHub_M

Weaknesses

Affected Products

ProductVersions
ImageMagickImageMagick
  • >= 7.0.0, < 7.1.2-15Affected
  • < 6.9.13-40Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.