CVE-2026-25983 MEDIUM

CVE-2026-25983: ImageMagick has Use After Free in MSLStartElement in "coders/msl.c"

Vendor Imagemagick
Product ImageMagick
Weakness CWE-416
Published February 24, 2026
Last update February 28, 2026

CVSS base score

5.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

What the vulnerability does

01Description

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 crafted MSL script triggers a heap-use-after-free. The operation element handler replaces and frees the image while the parser continues reading from it, leading to a UAF in ReadBlobString during further parsing. Versions 7.1.2-15 and 6.9.13-40 contain a patch.

Key dates

02Disclosure timeline

February 24, 2026 CVE published
February 28, 2026 Record updated