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

25 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-x64<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-x64<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
alpine/imagemagick>=7.0.0-0<7.1.2.15-r0
7.1.2.15-r0
alpine/imagemagick>=7.0.0-0<7.1.2.15-r0
7.1.2.15-r0
alpine/imagemagick>=7.0.0-0<7.1.2.15-r0
7.1.2.15-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade nuget/Magick.NET-Q8-x86 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  2. Upgrade

    Upgrade nuget/Magick.NET-Q8-x64 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  3. Upgrade

    Upgrade nuget/Magick.NET-Q8-arm64 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  4. Upgrade

    Upgrade nuget/Magick.NET-Q8-OpenMP-x64 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  5. Upgrade

    Upgrade nuget/Magick.NET-Q8-OpenMP-arm64 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  6. Upgrade

    Upgrade nuget/Magick.NET-Q8-AnyCPU to a version that resolves this vulnerability.

    Fixed in 14.10.3
  7. Upgrade

    Upgrade nuget/Magick.NET-Q16-x86 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  8. Upgrade

    Upgrade nuget/Magick.NET-Q16-x64 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  9. Upgrade

    Upgrade nuget/Magick.NET-Q16-arm64 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  10. Upgrade

    Upgrade nuget/Magick.NET-Q16-OpenMP-x86 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  11. Upgrade

    Upgrade nuget/Magick.NET-Q16-OpenMP-x64 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  12. Upgrade

    Upgrade nuget/Magick.NET-Q16-OpenMP-arm64 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  13. Upgrade

    Upgrade nuget/Magick.NET-Q16-HDRI-x86 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  14. Upgrade

    Upgrade nuget/Magick.NET-Q16-HDRI-x64 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  15. Upgrade

    Upgrade nuget/Magick.NET-Q16-HDRI-arm64 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  16. Upgrade

    Upgrade nuget/Magick.NET-Q16-HDRI-OpenMP-x64 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  17. Upgrade

    Upgrade nuget/Magick.NET-Q16-HDRI-OpenMP-arm64 to a version that resolves this vulnerability.

    Fixed in 14.10.3
  18. Upgrade

    Upgrade nuget/Magick.NET-Q16-HDRI-AnyCPU to a version that resolves this vulnerability.

    Fixed in 14.10.3
  19. Upgrade

    Upgrade nuget/Magick.NET-Q16-AnyCPU to a version that resolves this vulnerability.

    Fixed in 14.10.3
  20. Upgrade

    Upgrade alpine/imagemagick to a version that resolves this vulnerability.

    Fixed in 7.1.2.15-r0
  21. Upgrade

    Upgrade ImageMagick to a version that resolves this vulnerability.

    Fixed in 7.1.2-15
  22. Upgrade

    Upgrade ImageMagick to a version that resolves this vulnerability.

    Fixed in 6.9.13-40

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
Data Sourced
via OSV·02:16 AM
DescriptionSeverityAffected Software
Advisory Published
via GitHub·03:43 PM
Data Sourced
via GitHub·03:43 PM
DescriptionSeverityWeaknessAffected Software

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