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

Published Feb 24, 2026
·
Updated

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.

Affected Software

20 affected componentsFixes available
ImageMagick ImageMagick<7.1.2-15, <6.9.13-40
nuget/Magick.NET-Q8-x86<14.10.3
14.10.3
nuget/Magick.NET-Q8-arm64<14.10.3
14.10.3
nuget/Magick.NET-Q8-OpenMP-x64<14.10.3
14.10.3
nuget/Magick.NET-Q8-OpenMP-arm64<14.10.3
14.10.3
nuget/Magick.NET-Q8-AnyCPU<14.10.3
14.10.3
nuget/Magick.NET-Q16-x86<14.10.3
14.10.3
nuget/Magick.NET-Q16-arm64<14.10.3
14.10.3
nuget/Magick.NET-Q16-OpenMP-x86<14.10.3
14.10.3
nuget/Magick.NET-Q16-OpenMP-x64<14.10.3
14.10.3
nuget/Magick.NET-Q16-OpenMP-arm64<14.10.3
14.10.3
nuget/Magick.NET-Q16-HDRI-x86<14.10.3
14.10.3
nuget/Magick.NET-Q16-HDRI-x64<14.10.3
14.10.3
nuget/Magick.NET-Q16-HDRI-arm64<14.10.3
14.10.3
nuget/Magick.NET-Q16-HDRI-OpenMP-x64<14.10.3
14.10.3
nuget/Magick.NET-Q16-HDRI-OpenMP-arm64<14.10.3
14.10.3
nuget/Magick.NET-Q16-HDRI-AnyCPU<14.10.3
14.10.3
nuget/Magick.NET-Q16-AnyCPU<14.10.3
14.10.3
ImageMagick ImageMagick<6.9.13-40
ImageMagick ImageMagick>=7.0.0-0<7.1.2-15

Event History

Feb 24, 2026
CVE Published
via MITRE·01:41 AM
Data Sourced
via MITRE·01:41 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 AM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·03:43 PM
Data Sourced
via GitHub·03:43 PM
DescriptionSeverityWeaknessAffected Software
Jan 23, 58126
Event
via FIRST·08:26 PM

Frequently Asked Questions

1

What is the severity of CVE-2026-25983?

CVE-2026-25983 is considered a critical vulnerability due to its potential for exploitation through a heap-use-after-free condition.

2

How do I fix CVE-2026-25983?

To fix CVE-2026-25983, update your ImageMagick installation to version 7.1.2-15 or later and 6.9.13-40 or later.

3

Which versions of ImageMagick are affected by CVE-2026-25983?

CVE-2026-25983 affects ImageMagick versions prior to 7.1.2-15 and 6.9.13-40.

4

What type of vulnerability is CVE-2026-25983?

CVE-2026-25983 is classified as a use-after-free vulnerability, impacting memory management in ImageMagick.

5

Are there any known exploits for CVE-2026-25983?

As of now, specific exploits for CVE-2026-25983 have not been publicly disclosed, but the nature of the vulnerability poses considerable risk.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203