# CVE-2026-30931: ImageMagick has a heap-based buffer overflow in UHDR encoder

- Priority: **Routine**
- Reason: Not severe (CVSS 6.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-03-09 · Modified: 2026-03-10
- Aliases: UBUNTU-CVE-2026-30931, DEBIAN-CVE-2026-30931, CGA-hv7p-h2qg-w7c4, GHSA-h95r-c8c7-mrwx, CGA-xc79-4g8q-8xpg, ALPINE-CVE-2026-30931
- Record: https://cvemate.com/vulnerability/CVE-2026-30931 · JSON: https://cvemate.com/vulnerability/CVE-2026-30931/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.126%, percentile 2.466%, 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 24)

- alpine imagemagick (Alpine Linux): \< 7.1.2.17-r0
- chainguard imagemagick-6 (Chainguard): All versions (No fix recorded)
- debian imagemagick (Debian): \< 8:7.1.1.43+dfsg1-1+deb13u7 \| \< 8:7.1.2.16+dfsg1-1
- ubuntu imagemagick (Ubuntu): All versions (No fix recorded)
- imagemagick imagemagick: \< 7.1.2-16
- NuGet Magick.NET-Q16-AnyCPU (NuGet): \< 14.10.4
- NuGet Magick.NET-Q16-arm64 (NuGet): \< 14.10.4
- NuGet Magick.NET-Q16-HDRI-AnyCPU (NuGet): \< 14.10.4
- NuGet Magick.NET-Q16-HDRI-arm64 (NuGet): \< 14.10.4
- NuGet Magick.NET-Q16-HDRI-OpenMP-arm64 (NuGet): \< 14.10.4
- NuGet Magick.NET-Q16-HDRI-OpenMP-x64 (NuGet): \< 14.10.4
- NuGet Magick.NET-Q16-HDRI-x64 (NuGet): \< 14.10.4
- NuGet Magick.NET-Q16-HDRI-x86 (NuGet): \< 14.10.4
- NuGet Magick.NET-Q16-OpenMP-arm64 (NuGet): \< 14.10.4
- NuGet Magick.NET-Q16-OpenMP-x64 (NuGet): \< 14.10.4
- NuGet Magick.NET-Q16-OpenMP-x86 (NuGet): \< 14.10.4
- NuGet Magick.NET-Q16-x64 (NuGet): \< 14.10.4
- NuGet Magick.NET-Q16-x86 (NuGet): \< 14.10.4
- NuGet Magick.NET-Q8-AnyCPU (NuGet): \< 14.10.4
- NuGet Magick.NET-Q8-arm64 (NuGet): \< 14.10.4

## References

- <https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-h95r-c8c7-mrwx>
- <https://ubuntu.com/security/CVE-2026-30931>
- <https://www.cve.org/CVERecord?id=CVE-2026-30931>
- <https://security-tracker.debian.org/tracker/CVE-2026-30931>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/30xxx/CVE-2026-30931.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-30931>
- <https://github.com/ImageMagick/ImageMagick>
- <https://github.com/dlemstra/Magick.NET/releases/tag/14.10.4>
- <https://security.alpinelinux.org/vuln/CVE-2026-30931>

---

Data as of 2026-12-05T08:08:27.545Z. 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
