ImageMagick heap-use-after-free via MSL image (v<7.1.2.23 & <6.9.13-48)
CVE-2026-46523 Published on June 10, 2026
ImageMagick: Use-After-Free in MSL decoder.
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2.23 and 6.9.13-48, a crafted MSL image can trigger a heap-use-after-free. Versions 7.1.2.23 and 6.9.13-48 fix the issue.
Vulnerability Analysis
CVE-2026-46523 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a high impact on availability.
Weakness Types
What is a Dangling pointer Vulnerability?
Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code.
CVE-2026-46523 has been classified to as a Dangling pointer vulnerability or weakness.
What is a Dangling pointer Vulnerability?
The program dereferences a pointer that contains a location for memory that was previously valid, but is no longer valid. When a program releases memory, but it maintains a pointer to that memory, then the memory might be re-allocated at a later time. If the original pointer is accessed to read or write data, then this could cause the program to read or modify data that is in use by a different function or process. Depending on how the newly-allocated memory is used, this could lead to a denial of service, information exposure, or code execution.
CVE-2026-46523 has been classified to as a Dangling pointer vulnerability or weakness.
Products Associated with CVE-2026-46523
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2026-46523 are published in these products:
Affected Versions
ImageMagick:- Version < 7.1.2-23 is affected.
- Version < 6.9.13-48 is affected.
- Version 0:6.9.10.68-17.el7_9 and below * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.