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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-13 · Modified: 2026-04-14
- Aliases: UBUNTU-CVE-2026-33902, DEBIAN-CVE-2026-33902, GHSA-f4qm-vj5j-9xpw, ALPINE-CVE-2026-33902
- Record: https://cvemate.com/vulnerability/CVE-2026-33902 · JSON: https://cvemate.com/vulnerability/CVE-2026-33902/json

## Description

```text
ImageMagick is free and open-source software used for editing and manipulating digital images. In versions below both 7.1.2-19 and 6.9.13-44, a stack overflow vulnerability in ImageMagick's FX expression parser allows an attacker to crash the process by providing a deeply nested expression. This issue has been fixed in versions 6.9.13-44 and 7.1.2-19.
```

## Signals

- CVSS: 5.5 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 0.152%, percentile 4.581%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 21)

- alpine imagemagick (Alpine Linux): ≥ 7.0.0-0, \< 7.1.2.19-r0 \| \< 7.1.2.19-r0
- debian imagemagick (Debian): \< 8:7.1.1.43+dfsg1-1+deb13u8 \| \< 8:7.1.2.19+dfsg1-1
- ubuntu imagemagick (Ubuntu): All versions (No fix recorded) \| \< 8:7.1.2.18+dfsg1-1ubuntu0.1~esm6
- imagemagick imagemagick: \< 7.1.2-19 \| \< 6.9.13-44 \| ≥ 7.0.0-0, \< 7.1.2-19
- NuGet Magick.NET-Q16-AnyCPU (NuGet): \< 14.12.0
- NuGet Magick.NET-Q16-arm64 (NuGet): \< 14.12.0
- NuGet Magick.NET-Q16-HDRI-AnyCPU (NuGet): \< 14.12.0
- NuGet Magick.NET-Q16-HDRI-arm64 (NuGet): \< 14.12.0
- NuGet Magick.NET-Q16-HDRI-OpenMP-arm64 (NuGet): \< 14.12.0
- NuGet Magick.NET-Q16-HDRI-x64 (NuGet): \< 14.12.0
- NuGet Magick.NET-Q16-HDRI-x86 (NuGet): \< 14.12.0
- NuGet Magick.NET-Q16-OpenMP-arm64 (NuGet): \< 14.12.0
- NuGet Magick.NET-Q16-OpenMP-x64 (NuGet): \< 14.12.0
- NuGet Magick.NET-Q16-x64 (NuGet): \< 14.12.0
- NuGet Magick.NET-Q16-x86 (NuGet): \< 14.12.0
- NuGet Magick.NET-Q8-AnyCPU (NuGet): \< 14.12.0
- NuGet Magick.NET-Q8-arm64 (NuGet): \< 14.12.0
- NuGet Magick.NET-Q8-OpenMP-arm64 (NuGet): \< 14.12.0
- NuGet Magick.NET-Q8-OpenMP-x64 (NuGet): \< 14.12.0
- NuGet Magick.NET-Q8-x64 (NuGet): \< 14.12.0

## References

- <https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-f4qm-vj5j-9xpw>
- <https://github.com/ImageMagick/ImageMagick/commit/d3c0a37485314c5ccef72efb18f3847cd53868ba>
- <https://github.com/dlemstra/Magick.NET/releases/tag/14.12.0>
- <https://ubuntu.com/security/CVE-2026-33902>
- <https://www.cve.org/CVERecord?id=CVE-2026-33902>
- <https://security-tracker.debian.org/tracker/CVE-2026-33902>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33902>
- <https://github.com/ImageMagick/ImageMagick>
- <https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-19>
- <https://security.alpinelinux.org/vuln/CVE-2026-33902>
- <https://ubuntu.com/security/notices/USN-9469-1>

---

Data as of 2026-12-05T03:44:03.307Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
