GHSA-98cp-rj9f-6v5g — Vulnerability in...
ImageMagick has has a stack-buffer-overflow in MNG encoder with oversized pallete
Summary
Advisory Timeline
- First published April 14, 2026 (181 days ago).
- Last revised April 16, 2026 — 2 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
dotnet add package Magick.NET-Q16-HDRI-OpenMP-x64 --version 14.12.0
dotnet add package Magick.NET-Q8-arm64 --version 14.12.0
dotnet add package Magick.NET-Q16-OpenMP-x64 --version 14.12.0
dotnet add package Magick.NET-Q16-OpenMP-arm64 --version 14.12.0
dotnet add package Magick.NET-Q8-OpenMP-x64 --version 14.12.0
dotnet add package Magick.NET-Q8-x64 --version 14.12.0
dotnet add package Magick.NET-Q8-OpenMP-arm64 --version 14.12.0
dotnet add package Magick.NET-Q16-x64 --version 14.12.0
dotnet add package Magick.NET-Q16-HDRI-AnyCPU --version 14.12.0
dotnet add package Magick.NET-Q16-HDRI-OpenMP-arm64 --version 14.12.0
dotnet add package Magick.NET-Q16-arm64 --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-Q16-HDRI-arm64 --version 14.12.0
dotnet add package Magick.NET-Q8-x86 --version 14.12.0
dotnet add package Magick.NET-Q16-HDRI-x64 --version 14.12.0
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (18)
Affects 1 ecosystem: nuget (18).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| Magick.NET-Q16-HDRI-OpenMP-x64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+106 more) | 14.12.0 |
| Magick.NET-Q8-arm64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+54 more) | 14.12.0 |
| Magick.NET-Q16-OpenMP-x64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+106 more) | 14.12.0 |
| Magick.NET-Q16-OpenMP-arm64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+54 more) | 14.12.0 |
| Magick.NET-Q8-OpenMP-x64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+106 more) | 14.12.0 |
| Magick.NET-Q8-x64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+225 more) | 14.12.0 |
| Magick.NET-Q8-OpenMP-arm64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+54 more) | 14.12.0 |
| Magick.NET-Q16-x64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+225 more) | 14.12.0 |
| Magick.NET-Q16-HDRI-AnyCPU | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+206 more) | 14.12.0 |
| Magick.NET-Q16-HDRI-OpenMP-arm64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+54 more) | 14.12.0 |
| Magick.NET-Q16-arm64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+54 more) | 14.12.0 |
| Magick.NET-Q16-HDRI-x86 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+206 more) | 14.12.0 |
| Magick.NET-Q16-x86 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+225 more) | 14.12.0 |
| Magick.NET-Q16-AnyCPU | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+209 more) | 14.12.0 |
| Magick.NET-Q8-AnyCPU | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+209 more) | 14.12.0 |
| Magick.NET-Q16-HDRI-arm64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+54 more) | 14.12.0 |
| Magick.NET-Q8-x86 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+225 more) | 14.12.0 |
| Magick.NET-Q16-HDRI-x64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+206 more) | 14.12.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-121
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.9 score means for each attack dimension.
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H
References
Frequently Asked Questions
- What is GHSA-98cp-rj9f-6v5g?
- ImageMagick has has a stack-buffer-overflow in MNG encoder with oversized pallete This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.9/10).
- How do I check if my project is affected by GHSA-98cp-rj9f-6v5g?
- GHSA-98cp-rj9f-6v5g affects Magick.NET-Q16-HDRI-OpenMP-x64, Magick.NET-Q8-arm64 and Magick.NET-Q16-OpenMP-x64 (and 15 more). Use GeekWala's free vulnerability scanner to check your dependencies against GHSA-98cp-rj9f-6v5g and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Related CVEs
- CVE-2025-55298HIGH
ImageMagick has a Format String Bug in InterpretImageFilename leads to arbitrary code execution
- CVE-2026-28693HIGH
ImageMagick: Integer overflow in DIB coder can result in out of bounds read or write
- CVE-2025-53101HIGH
ImageMagick has a Stack Buffer Overflow in image.c
- CVE-2026-28691HIGH
ImageMagick has uninitialized pointer dereference in JBIG decoder
- CVE-2026-25799MEDIUM
ImageMagick has Division-by-Zero in YUV sampling factor validation, which leads to crash
- CVE-2026-23874MEDIUM
ImageMagick MSL: Stack overflow via infinite recursion in ProcessMSLScript
- CVE-2025-62594MEDIUM
ImageMagick CLAHE : Unsigned underflow and division-by-zero lead to OOB pointer arithmetic and process crash (DoS)
- CVE-2025-53014LOW
ImageMagick has a Heap Buffer Overflow in InterpretImageFilename
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies