CVE-2026-33902: ImageMagick: Stack Overflow via Recursive FX Expression Parsing

Published Apr 13, 2026
·
Updated

A stack overflow vulnerability in ImageMagick's FX expression parser allows an attacker to crash the process by providing a deeply nested expression.

Affected Software

22 affected componentsFixes available
ImageMagick ImageMagick<7.1.2-19, <6.9.13-44
nuget/magick.net-q8-x86<14.12.0
14.12.0
nuget/magick.net-q8-x64<14.12.0
14.12.0
nuget/magick.net-q8-arm64<14.12.0
14.12.0
nuget/magick.net-q8-openmp-x64<14.12.0
14.12.0
nuget/magick.net-q8-openmp-arm64<14.12.0
14.12.0
nuget/magick.net-q8-anycpu<14.12.0
14.12.0
nuget/magick.net-q16-x86<14.12.0
14.12.0
nuget/magick.net-q16-x64<14.12.0
14.12.0
nuget/magick.net-q16-arm64<14.12.0
14.12.0
nuget/magick.net-q16-openmp-x64<14.12.0
14.12.0
nuget/magick.net-q16-openmp-arm64<14.12.0
14.12.0
nuget/magick.net-q16-hdri-x86<14.12.0
14.12.0
nuget/magick.net-q16-hdri-x64<14.12.0
14.12.0
nuget/magick.net-q16-hdri-arm64<14.12.0
14.12.0
nuget/magick.net-q16-hdri-openmp-arm64<14.12.0
14.12.0
nuget/magick.net-q16-hdri-anycpu<14.12.0
14.12.0
nuget/magick.net-q16-anycpu<14.12.0
14.12.0
ImageMagick ImageMagick<6.9.13-44
ImageMagick ImageMagick>=7.0.0-0<7.1.2-19
alpine/imagemagick>=7.0.0-0<7.1.2.19-r0
7.1.2.19-r0
alpine/imagemagick>=7.0.0-0<7.1.2.19-r0
7.1.2.19-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.12.0
  2. Upgrade

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

    Fixed in 14.12.0
  3. Upgrade

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

    Fixed in 14.12.0
  4. Upgrade

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

    Fixed in 14.12.0
  5. Upgrade

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

    Fixed in 14.12.0
  6. Upgrade

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

    Fixed in 14.12.0
  7. Upgrade

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

    Fixed in 14.12.0
  8. Upgrade

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

    Fixed in 14.12.0
  9. Upgrade

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

    Fixed in 14.12.0
  10. Upgrade

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

    Fixed in 14.12.0
  11. Upgrade

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

    Fixed in 14.12.0
  12. Upgrade

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

    Fixed in 14.12.0
  13. Upgrade

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

    Fixed in 14.12.0
  14. Upgrade

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

    Fixed in 14.12.0
  15. Upgrade

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

    Fixed in 14.12.0
  16. Upgrade

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

    Fixed in 14.12.0
  17. Upgrade

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

    Fixed in 14.12.0
  18. Upgrade

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

    Fixed in 7.1.2.19-r0
  19. Upgrade

    Upgrade ImageMagick to a version that resolves this vulnerability.

    Fixed in 6.9.13-44
  20. Upgrade

    Upgrade ImageMagick to a version that resolves this vulnerability.

    Fixed in 7.1.2-19

Event History

Apr 13, 2026
CVE Published
via MITRE·08:59 PM
Data Sourced
via MITRE·08:59 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 14, 2026
Advisory Published
via GitHub·06:48 PM
Data Sourced
via GitHub·06:48 PM
DescriptionSeverityWeaknessAffected Software
Nov 3, 2026
Data Sourced
via OSV·06:32 AM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-33902?

CVE-2026-33902 is a critical severity vulnerability due to the potential for remote code execution through stack overflow.

2

How do I fix CVE-2026-33902?

To fix CVE-2026-33902, update ImageMagick to version 7.1.2-19 or 6.9.13-44 or later.

3

What versions of ImageMagick are affected by CVE-2026-33902?

CVE-2026-33902 affects versions of ImageMagick prior to 7.1.2-19 and 6.9.13-44.

4

Can CVE-2026-33902 be exploited remotely?

Yes, CVE-2026-33902 can be exploited remotely, allowing attackers to potentially execute arbitrary code.

5

What components of ImageMagick are vulnerable in CVE-2026-33902?

The vulnerability exists in the FX expression parser of ImageMagick, specifically in the recursive parsing functionality.

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