CVE-2026-34238 — ImageMagick has an integer overflow in...
ImageMagick has an integer overflow in despeckle operation causing a heap buffer overflow on 32-bit builds
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.21%). Schedule for your next planned update.
Does your project use an affected Magick.NET-Q16-HDRI-AnyCPU version?
Paste your packages.lock.json to check it for CVE-2026-34238 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
==1551685==ERROR: AddressSanitizer: heap-buffer-overflow on address 0xea2fb818 at pc 0x56cbc42a bp 0xffc4ce48 sp 0xffc4ce38
WRITE of size 8 at 0xea2fb818 thread T0
Advisory Timeline
- First published April 13, 2026 (227 days ago).
- Last revised May 5, 2026 — 22 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
dotnet add package Magick.NET-Q16-HDRI-AnyCPU --version 14.12.0
dotnet add package Magick.NET-Q16-HDRI-x86 --version 14.12.0
dotnet add package Magick.NET-Q16-x86 --version 14.12.0
dotnet add package Magick.NET-Q16-AnyCPU --version 14.12.0
dotnet add package Magick.NET-Q8-AnyCPU --version 14.12.0
dotnet add package Magick.NET-Q8-x86 --version 14.12.0
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (6)
Affects 1 ecosystem: NuGet (6).
| Package | Fixed In |
|---|---|
| Magick.NET-Q16-HDRI-AnyCPU NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+206 more) | 14.12.0 |
| Magick.NET-Q16-HDRI-x86 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+206 more) | 14.12.0 |
| Magick.NET-Q16-x86 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+225 more) | 14.12.0 |
| Magick.NET-Q16-AnyCPU NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+209 more) | 14.12.0 |
| Magick.NET-Q8-AnyCPU NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+209 more) | 14.12.0 |
| Magick.NET-Q8-x86 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+225 more) | 14.12.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.1 score means for each attack dimension.
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-26qp-ffjh-2x4vWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-34238ADVISORY
- https://github.com/ImageMagick/ImageMagick/commit/bcd8519c70ecd9ebbc180920f2cf97b267d1f440WEB
- https://github.com/ImageMagick/ImageMagickPACKAGE
- https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-19WEB
- https://github.com/dlemstra/Magick.NET/releases/tag/14.12.0WEB
Frequently Asked Questions
- What is CVE-2026-34238?
- ImageMagick has an integer overflow in despeckle operation causing a heap buffer overflow on 32-bit builds. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.1/10).
- How do I check if my project is affected by CVE-2026-34238?
- CVE-2026-34238 affects Magick.NET-Q16-HDRI-AnyCPU, Magick.NET-Q16-HDRI-x86 and Magick.NET-Q16-x86 (and 3 more). It has a 0.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-34238 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is a below-median EPSS score — only 6.5% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-25897MEDIUM
ImageMagick: Heap overflow in sun decoder on 32-bit systems may result in out of bounds write
- CVE-2026-45358MEDIUM
ImageMagick: Out-of-Bounds Read of a single byte in meta encoder
- CVE-2026-46521MEDIUM
ImageMagick: Heap Buffer Over-Write in MIFF encoder when using LZMA compression
- CVE-2026-30937MEDIUM
ImageMagick has heap buffer overflow in WriteXWDImage due to CARD32 arithmetic overflow in bytes_per_line calculation
- CVE-2026-27798MEDIUM
ImageMagick: Heap Buffer Over-read in WaveletDenoise when processing small images
- CVE-2026-25970MEDIUM
ImageMagick Has Signed Integer Overflow in SIXEL Decoder, Leading to Memory Corruption
- CVE-2026-61860LOW
ImageMagick: Use-After-Free when freetype initialization fails
- CVE-2026-66011LOW
ImageMagick: Memory Leak when providing invalid options to the cli