Loading...
Skip to main content

CVE-2026-30931

MEDIUM

ImageMagick has heap-based buffer overflow in UHDR encoder

Published March 12, 2026Updated March 23, 2026Source: osv

Summary

A heap-based buffer overflow in the UHDR encoder can happen due to truncation of a value and it would allow an out of bounds write. ``` ================================================================ ==2158399==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x521000039500 at pc 0x562a4a42f968 bp 0x7ffcca4ed6c0 sp 0x7ffcca4ed6b0 WRITE of size 1 at 0x521000039500 thread T0 ```

Remediation

Upgrade to the fixed version using your package manager.

NuGet
Update Magick.NET-Q16-x64 to 14.10.4 or later
dotnet add package Magick.NET-Q16-x64 --version 14.10.4
NuGet
Update Magick.NET-Q16-OpenMP-x86 to 14.10.4 or later
dotnet add package Magick.NET-Q16-OpenMP-x86 --version 14.10.4
NuGet
Update Magick.NET-Q8-arm64 to 14.10.4 or later
dotnet add package Magick.NET-Q8-arm64 --version 14.10.4
NuGet
Update Magick.NET-Q16-HDRI-OpenMP-arm64 to 14.10.4 or later
dotnet add package Magick.NET-Q16-HDRI-OpenMP-arm64 --version 14.10.4
NuGet
Update Magick.NET-Q16-HDRI-AnyCPU to 14.10.4 or later
dotnet add package Magick.NET-Q16-HDRI-AnyCPU --version 14.10.4
NuGet
Update Magick.NET-Q8-OpenMP-arm64 to 14.10.4 or later
dotnet add package Magick.NET-Q8-OpenMP-arm64 --version 14.10.4
NuGet
Update Magick.NET-Q16-arm64 to 14.10.4 or later
dotnet add package Magick.NET-Q16-arm64 --version 14.10.4
NuGet
Update Magick.NET-Q8-x64 to 14.10.4 or later
dotnet add package Magick.NET-Q8-x64 --version 14.10.4
NuGet
Update Magick.NET-Q16-HDRI-arm64 to 14.10.4 or later
dotnet add package Magick.NET-Q16-HDRI-arm64 --version 14.10.4
NuGet
Update Magick.NET-Q16-HDRI-x86 to 14.10.4 or later
dotnet add package Magick.NET-Q16-HDRI-x86 --version 14.10.4
NuGet
Update Magick.NET-Q16-OpenMP-x64 to 14.10.4 or later
dotnet add package Magick.NET-Q16-OpenMP-x64 --version 14.10.4
NuGet
Update Magick.NET-Q8-AnyCPU to 14.10.4 or later
dotnet add package Magick.NET-Q8-AnyCPU --version 14.10.4
NuGet
Update Magick.NET-Q8-x86 to 14.10.4 or later
dotnet add package Magick.NET-Q8-x86 --version 14.10.4
NuGet
Update Magick.NET-Q16-OpenMP-arm64 to 14.10.4 or later
dotnet add package Magick.NET-Q16-OpenMP-arm64 --version 14.10.4
NuGet
Update Magick.NET-Q16-HDRI-x64 to 14.10.4 or later
dotnet add package Magick.NET-Q16-HDRI-x64 --version 14.10.4
NuGet
Update Magick.NET-Q16-AnyCPU to 14.10.4 or later
dotnet add package Magick.NET-Q16-AnyCPU --version 14.10.4
NuGet
Update Magick.NET-Q16-HDRI-OpenMP-x64 to 14.10.4 or later
dotnet add package Magick.NET-Q16-HDRI-OpenMP-x64 --version 14.10.4
NuGet
Update Magick.NET-Q8-OpenMP-x64 to 14.10.4 or later
dotnet add package Magick.NET-Q8-OpenMP-x64 --version 14.10.4
NuGet
Update Magick.NET-Q16-x86 to 14.10.4 or later
dotnet add package Magick.NET-Q16-x86 --version 14.10.4

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (19)

PackageEcosystemAffectedFixed In
Magick.NET-Q16-x64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+222 more)14.10.4
Magick.NET-Q16-OpenMP-x86
nuget
All versions14.10.4
Magick.NET-Q8-arm64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+51 more)14.10.4
Magick.NET-Q16-HDRI-OpenMP-arm64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+51 more)14.10.4
Magick.NET-Q16-HDRI-AnyCPU
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+203 more)14.10.4
Magick.NET-Q8-OpenMP-arm64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+51 more)14.10.4
Magick.NET-Q16-arm64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+51 more)14.10.4
Magick.NET-Q8-x64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+222 more)14.10.4
Magick.NET-Q16-HDRI-arm64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+51 more)14.10.4
Magick.NET-Q16-HDRI-x86
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+203 more)14.10.4
Magick.NET-Q16-OpenMP-x64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+103 more)14.10.4
Magick.NET-Q8-AnyCPU
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+206 more)14.10.4
Magick.NET-Q8-x86
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+222 more)14.10.4
Magick.NET-Q16-OpenMP-arm64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+51 more)14.10.4
Magick.NET-Q16-HDRI-x64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+203 more)14.10.4
Magick.NET-Q16-AnyCPU
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+206 more)14.10.4
Magick.NET-Q16-HDRI-OpenMP-x64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+103 more)14.10.4
Magick.NET-Q8-OpenMP-x64
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+103 more)14.10.4
Magick.NET-Q16-x86
nuget
10.0.0, 10.1.0, 11.0.0, 11.1.0 (+222 more)14.10.4

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

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

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

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

Frequently Asked Questions

What is CVE-2026-30931?
ImageMagick has heap-based buffer overflow in UHDR encoder This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.8/10).
How do I check if my project is affected by CVE-2026-30931?
CVE-2026-30931 affects Magick.NET-Q16-x64, Magick.NET-Q16-OpenMP-x86 and Magick.NET-Q8-arm64 (and 16 more). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-30931 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
6.8

Exploitation requires specific conditions or has limited impact. Remediate within weeks.

Also Known As

GHSA-h95r-c8c7-mrwx

Related CVEs

  • CVE-2026-25968
    HIGH

    ImageMagick: MSL attribute stack buffer overflow leads to out of bounds write.

  • CVE-2026-25985
    HIGH

    ImageMagick: Memory allocation with excessive without limits in the internal SVG decoder

  • CVE-2026-22770
    MEDIUM

    ImageMagick releases an invalid pointer in BilateralBlur when memory allocation fails

  • CVE-2026-25796
    MEDIUM

    ImageMagick has memory leak of watermark Image object in ReadSTEGANOImage on multiple error/early-return paths

  • CVE-2026-32636
    MEDIUM

    ImageMagick has a heap-buffer-overflow in NewXMLTree which could result in crash

  • CVE-2026-25798
    MEDIUM

    ImageMagick has NULL Pointer Dereference in ClonePixelCacheRepository via crafted image

  • CVE-2026-26066
    MEDIUM

    ImageMagick has infinite loop when writing IPTCTEXT leads to denial of service via crafted profile

  • CVE-2026-56373
    LOW

    mageMagick has a possible use-after-free write in its PDB decoder

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies