# CVE-2026-30937: Magick.NET-Q16 — Fixed in 14.10.4

.NET

.NET NuGet

Not in CISA KEV

MEDIUM severity

# CVE-2026-30937 — Magick.NET-Q16-AnyCPU

MEDIUM 

CVE-2026-30937 is a medium-severity (CVSS 6.8) CWE-122 vulnerability in Magick.NET-Q16-AnyCPU. A fix is available for Magick.NET-Q16-AnyCPU — see the affected versions and patch details below.

ImageMagick has a heap buffer overflow in WriteXWDImage due to CARD32 arithmetic overflow in bytes\_per\_line calculation

Also known as[GHSA-qpg4-j99f-8xcg](/vulnerability/GHSA-qpg4-j99f-8xcg)

Published

Mar 9, 2026

Updated

Oct 28, 2026

Affected

19 pkgs

Patched

19 / 19

Exploits

None indexed

Exploitation data as of Nov 7, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

## Exploitation Status

### No confirmed exploitation observed yet

-   CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2026-30937.

## EPSS Exploitation Probability

[via FIRST.org ↗](https://www.first.org/epss/)

0.1%probability of exploitation in next 30 days

Lower Risk+0.01%

Lower risk than most CVEs2th percentile — riskier than 2% of all scored CVEsHighest risk

0.00%0.21%0.43%0.64%0.0%0.1%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from [FIRST.org EPSS](https://www.first.org/epss/).

## How urgent is this, really

## Where this sits among everything scored

## Real-World Exposure

19 pkgs affected

.NET`Magick.NET-Q16-AnyCPU`.NET`Magick.NET-Q16-HDRI-AnyCPU`.NET`Magick.NET-Q16-HDRI-OpenMP-arm64`.NET`Magick.NET-Q16-HDRI-arm64`.NET`Magick.NET-Q16-HDRI-x64`.NET`Magick.NET-Q16-HDRI-x86`.NET`Magick.NET-Q16-OpenMP-arm64`.NET`Magick.NET-Q16-OpenMP-x64`+11 more

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects NuGet packages — download data is not available via public APIs for these ecosystems.

## Description

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, a 32-bit unsigned integer overflow in the XWD (X Windows) encoder can cause an undersized heap buffer allocation. When writing a extremely large image an out of bounds heap write can occur. This vulnerability is fixed in 7.1.2-16 and 6.9.13-41.

## Affected Packages

19 total 19 fixed

Ecosystem

Package

Vulnerable range

Fix

.NETNuGet

`Magick.NET-Q16-AnyCPU` 

all versions

14.10.4`dotnet add package Magick.NET-Q16-AnyCPU --version 14.10.4`

.NETNuGet

`Magick.NET-Q16-HDRI-AnyCPU` 

all versions

14.10.4`dotnet add package Magick.NET-Q16-HDRI-AnyCPU --version 14.10.4`

.NETNuGet

`Magick.NET-Q16-HDRI-OpenMP-arm64` 

all versions

14.10.4`dotnet add package Magick.NET-Q16-HDRI-OpenMP-arm64 --version 14.10.4`

.NETNuGet

`Magick.NET-Q16-HDRI-arm64` 

all versions

14.10.4`dotnet add package Magick.NET-Q16-HDRI-arm64 --version 14.10.4`

.NETNuGet

`Magick.NET-Q16-HDRI-x64` 

all versions

14.10.4`dotnet add package Magick.NET-Q16-HDRI-x64 --version 14.10.4`

.NETNuGet

`Magick.NET-Q16-HDRI-x86` 

all versions

14.10.4`dotnet add package Magick.NET-Q16-HDRI-x86 --version 14.10.4`

## Affected Products

1 product · 2 configurations

Application

`imagemagick`imagemagick

≥ 7.0.0-0 && < 7.1.2-16

range

## Detection & mitigation playbook

Open-source dependency

1.  ### Detect
    
    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for Magick.NET-Q16-AnyCPU, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
    
2.  ### Fix
    
    Update Magick.NET-Q16-AnyCPU to 14.10.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-30937 is resolved across your whole dependency graph.
    
3.  ### Workarounds
    
    Stop feeding it untrusted input: reject or quarantine files and payloads from unverified sources until you can upgrade, restrict accepted formats to the ones you actually need, and run the parsing or decoding step in a least-privileged sandbox or short-lived worker so a crash or corrupted read cannot reach the rest of the process.
    

## Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate

A MODERATE impact heap buffer overflow exists in ImageMagick's XWD encoder, \`WriteXWDImage\`. This flaw occurs when processing extremely large images, leading to an undersized heap buffer allocation and a potential out-of-bounds write. Red Hat products shipping ImageMagick are affected if configured to generate or…

Workaround published by Red Hat

> To mitigate this issue, restrict ImageMagick's processing of untrusted or excessively large XWD image files. Implement input validation to ensure that image dimensions and sizes are within expected operational limits before processing them with ImageMagick.

Source: [Red Hat security advisory for CVE-2026-30937](https://access.redhat.com/security/cve/cve-2026-30937) (CC BY 4.0)

## Frequently Asked Questions

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to versions 7.1.2-16 and 6.9.13-41, a 32-bit unsigned integer overflow in the XWD (X Windows) encoder can cause an undersized heap buffer allocation. When writing a extremely large image an out of bounds heap write can occur. This vulnerability is fixed in 7.1.2-16 and 6.9.13-41.

O3 Security · Impact-Aware SCA

### Is CVE-2026-30937 in your dependencies?

Find it across NuGet, including transitive dependencies.

[Scan my dependencies](/book-demo) [How O3 SCA works](/impact-aware-sca)