Vulnerability · Published Mar 9, 2026 · Assigned by GitHub_M
CVE-2026-30931ImageMagick has a heap-based buffer overflow in UHDR encoder
Medium 6.8
In plain English
A medium-severity heap buffer overflow in ImageMagick from ImageMagick. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 2% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)6.8Medium
Exploit odds (30 days)0.1%top 97.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16, a heap-based buffer overflow in the UHDR encoder can happen due to truncation of a value and it would allow an out of bounds write. This vulnerability is fixed in 7.1.2-16.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.23 | imagemagick | 7.1.2.17-r0 | ALPINE-CVE-2026-30931 |
| Alpine:v3.24 | imagemagick | 7.1.2.17-r0 | ALPINE-CVE-2026-30931 |
| Debian:13 | imagemagick | 8:7.1.1.43+dfsg1-1+deb13u7 | DEBIAN-CVE-2026-30931 |
| Debian:13 | imagemagick | 8:7.1.1.43+dfsg1-1+deb13u7 | DSA-6169-1 |
| Debian:14 | imagemagick | 8:7.1.2.16+dfsg1-1 | DEBIAN-CVE-2026-30931 |
| NuGet | magick.net-q16-anycpu | 14.10.4 | GHSA-h95r-c8c7-mrwx |
| NuGet | magick.net-q16-arm64 | 14.10.4 | GHSA-h95r-c8c7-mrwx |
| NuGet | magick.net-q16-hdri-anycpu | 14.10.4 | GHSA-h95r-c8c7-mrwx |
| NuGet | magick.net-q16-hdri-arm64 | 14.10.4 | GHSA-h95r-c8c7-mrwx |
| NuGet | magick.net-q16-hdri-openmp-arm64 | 14.10.4 | GHSA-h95r-c8c7-mrwx |
| NuGet | magick.net-q16-hdri-openmp-x64 | 14.10.4 | GHSA-h95r-c8c7-mrwx |
| NuGet | magick.net-q16-hdri-x64 | 14.10.4 | GHSA-h95r-c8c7-mrwx |
| NuGet | magick.net-q16-hdri-x86 | 14.10.4 | GHSA-h95r-c8c7-mrwx |
| NuGet | magick.net-q16-openmp-arm64 | 14.10.4 | GHSA-h95r-c8c7-mrwx |
| NuGet | magick.net-q16-openmp-x64 | 14.10.4 | GHSA-h95r-c8c7-mrwx |
| NuGet | magick.net-q16-openmp-x86 | 14.10.4 | GHSA-h95r-c8c7-mrwx |
| NuGet | magick.net-q16-x64 | 14.10.4 | GHSA-h95r-c8c7-mrwx |
| NuGet | magick.net-q16-x86 | 14.10.4 | GHSA-h95r-c8c7-mrwx |
| NuGet | magick.net-q8-anycpu | 14.10.4 | GHSA-h95r-c8c7-mrwx |
| NuGet | magick.net-q8-arm64 | 14.10.4 | GHSA-h95r-c8c7-mrwx |
| NuGet | magick.net-q8-openmp-arm64 | 14.10.4 | GHSA-h95r-c8c7-mrwx |
| NuGet | magick.net-q8-openmp-x64 | 14.10.4 | GHSA-h95r-c8c7-mrwx |
| NuGet | magick.net-q8-x64 | 14.10.4 | GHSA-h95r-c8c7-mrwx |
| NuGet | magick.net-q8-x86 | 14.10.4 | GHSA-h95r-c8c7-mrwx |
| Ubuntu:25.10 | imagemagick | no fix listed | UBUNTU-CVE-2026-30931 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| ImageMagick | ImageMagick | < 7.1.2-16 |
Weakness: CWE-122 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H