Skip to main content

CVE-2026-34238 — ImageMagick has an integer overflow in...

MEDIUM

ImageMagick has an integer overflow in despeckle operation causing a heap buffer overflow on 32-bit builds

Published April 13, 2026Updated May 5, 2026Source: OSV

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.

Check my packages.lock.json

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.

NuGet
Update Magick.NET-Q16-HDRI-AnyCPU to 14.12.0 or later
dotnet add package Magick.NET-Q16-HDRI-AnyCPU --version 14.12.0
NuGet
Update Magick.NET-Q16-HDRI-x86 to 14.12.0 or later
dotnet add package Magick.NET-Q16-HDRI-x86 --version 14.12.0
NuGet
Update Magick.NET-Q16-x86 to 14.12.0 or later
dotnet add package Magick.NET-Q16-x86 --version 14.12.0
NuGet
Update Magick.NET-Q16-AnyCPU to 14.12.0 or later
dotnet add package Magick.NET-Q16-AnyCPU --version 14.12.0
NuGet
Update Magick.NET-Q8-AnyCPU to 14.12.0 or later
dotnet add package Magick.NET-Q8-AnyCPU --version 14.12.0
NuGet
Update Magick.NET-Q8-x86 to 14.12.0 or later
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).

PackageFixed 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.

  • CWE-190
    Integer OverflowMITRE
  • CWE-787
    Out-of-bounds WriteMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 5.1 score means for each attack dimension.

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

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

CVSS Score
5.1

Exploitation requires specific conditions, or the impact is limited.

EPSS Score (30-day exploit probability)
0.21%
EPSS percentile: 6.5

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

GHSA-26qp-ffjh-2x4v

Related CVEs

  • CVE-2026-25897
    MEDIUM

    ImageMagick: Heap overflow in sun decoder on 32-bit systems may result in out of bounds write

  • CVE-2026-45358
    MEDIUM

    ImageMagick: Out-of-Bounds Read of a single byte in meta encoder

  • CVE-2026-46521
    MEDIUM

    ImageMagick: Heap Buffer Over-Write in MIFF encoder when using LZMA compression

  • CVE-2026-30937
    MEDIUM

    ImageMagick has heap buffer overflow in WriteXWDImage due to CARD32 arithmetic overflow in bytes_per_line calculation

  • CVE-2026-27798
    MEDIUM

    ImageMagick: Heap Buffer Over-read in WaveletDenoise when processing small images

  • CVE-2026-25970
    MEDIUM

    ImageMagick Has Signed Integer Overflow in SIXEL Decoder, Leading to Memory Corruption

  • CVE-2026-61860
    LOW

    ImageMagick: Use-After-Free when freetype initialization fails

  • CVE-2026-66011
    LOW

    ImageMagick: Memory Leak when providing invalid options to the cli

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my packages.lock.json