# CVE-2026-56361: ImageMagick - Heap Buffer Overflow via Off-by-One in Morphology Processing

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-30 · Modified: 2026-10-29
- Aliases: UBUNTU-CVE-2026-56361, DEBIAN-CVE-2026-56361, GHSA-q8h3-jv9v-57qx
- Record: https://cvemate.com/vulnerability/CVE-2026-56361 · JSON: https://cvemate.com/vulnerability/CVE-2026-56361/json

## Description

```text
ImageMagick before 7.1.2-19 contains an off-by-one error in morphology validation allowing out-of-bounds heap buffer reads. Attackers can trigger heap buffer overflow by providing incorrect morphology parameters causing single pixel memory access violations.
```

## Signals

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

- debian imagemagick (Debian): \< 8:6.9.11.60+dfsg-1.6+deb12u12 \| \< 8:7.1.1.43+dfsg1-1+deb13u11 \| \< 8:7.1.2.19+dfsg1-1
- ubuntu imagemagick (Ubuntu): \< 8:6.7.7.10-6ubuntu3.13+esm26 \| \< 8:6.8.9.9-7ubuntu5.16+esm25 \| \< 8:6.9.7.4+dfsg-16ubuntu6.15+esm17 \| \< 8:6.9.10.23+dfsg-2.1ubuntu11.11+esm15 \| \< 8:6.9.11.60+dfsg-1.3ubuntu0.22.04.5+esm15 \| \< 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm14 \| All versions (No fix recorded) \| \< 8:7.1.2.18+dfsg1-1ubuntu0.1~esm3
- imagemagick imagemagick: ≥ 7.0.0, \< 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-OpenMP-x64 (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-q8h3-jv9v-57qx>
- <https://www.vulncheck.com/advisories/imagemagick-heap-buffer-overflow-via-off-by-one-in-morphology-processing>
- <https://ubuntu.com/security/CVE-2026-56361>
- <https://www.cve.org/CVERecord?id=CVE-2026-56361>
- <https://ubuntu.com/security/notices/USN-8810-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-56361>
- <https://github.com/ImageMagick/ImageMagick>

---

Data as of 2026-12-05T05:11:08.639Z. 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
