CVE-2026-25799 — ImageMagick has Division-by-Zero in Magick.NET-Q8-x86
ImageMagick has Division-by-Zero in YUV sampling factor validation, which leads to crash
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.58%). Schedule for your next planned update.
Does your project use an affected Magick.NET-Q8-x86 version?
Paste your packages.lock.json to check it for CVE-2026-25799 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
A logic error in YUV sampling factor validation allows an invalid sampling factor to bypass checks and trigger a division-by-zero during image loading, resulting in a reliable denial-of-service.
coders/yuv.c:210:47: runtime error: division by zero
AddressSanitizer:DEADLYSIGNAL
=================================================================
==3543373==ERROR: AddressSanitizer: UNKNOWN SIGNAL on unknown address 0x000000000000 (pc 0x55deeb4d723c bp 0x7fffc28d34d0 sp 0x7fffc28d3320 T0)
#0 0x55deeb4d723c in ReadYUVImage coders/yuv.c:210
#1 0x55deeb751dff in ReadImage MagickCore/constitute.c:743
#2 0x55deeb756374 in ReadImages MagickCore/constitute.c:1082
#3 0x55deec682375 in CLINoImageOperator MagickWand/operation.c:4959
#4 0x55deec6887ed in CLIOption MagickWand/operation.c:5473
#5 0x55deec32843b in ProcessCommandOptions MagickWand/magick-cli.c:653
#6 0x55deec32b99b in MagickImageCommand MagickWand/magick-cli.c:1392
#7 0x55deec324d58 in MagickCommandGenesis MagickWand/magick-cli.c:177
#8 0x55deead82519 in MagickMain utilities/magick.c:162
#9 0x55deead828be in main utilities/magick.c:193
#10 0x7fb90807fd8f in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
#11 0x7fb90807fe3f in __libc_start_main_impl ../csu/libc-start.c:392
#12 0x55deead81974 in _start (/data/ylwang/LargeScan/targets/ImageMagick/utilities/magick+0x22fb974)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: UNKNOWN SIGNAL coders/yuv.c:210 in ReadYUVImage
==3543373==ABORTING
Advisory Timeline
- First published February 24, 2026 (275 days ago).
- Last revised February 24, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
dotnet add package Magick.NET-Q8-x86 --version 14.10.3
dotnet add package Magick.NET-Q16-HDRI-x64 --version 14.10.3
dotnet add package Magick.NET-Q16-HDRI-arm64 --version 14.10.3
dotnet add package Magick.NET-Q16-HDRI-AnyCPU --version 14.10.3
dotnet add package Magick.NET-Q16-OpenMP-x86 --version 14.10.3
dotnet add package Magick.NET-Q16-x86 --version 14.10.3
dotnet add package Magick.NET-Q8-OpenMP-arm64 --version 14.10.3
dotnet add package Magick.NET-Q16-AnyCPU --version 14.10.3
dotnet add package Magick.NET-Q8-AnyCPU --version 14.10.3
dotnet add package Magick.NET-Q16-HDRI-x86 --version 14.10.3
dotnet add package Magick.NET-Q16-OpenMP-arm64 --version 14.10.3
dotnet add package Magick.NET-Q16-x64 --version 14.10.3
dotnet add package Magick.NET-Q16-OpenMP-x64 --version 14.10.3
dotnet add package Magick.NET-Q16-arm64 --version 14.10.3
dotnet add package Magick.NET-Q16-HDRI-OpenMP-x64 --version 14.10.3
dotnet add package Magick.NET-Q8-OpenMP-x64 --version 14.10.3
dotnet add package Magick.NET-Q8-arm64 --version 14.10.3
dotnet add package Magick.NET-Q8-x64 --version 14.10.3
dotnet add package Magick.NET-Q16-HDRI-OpenMP-arm64 --version 14.10.3
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (19)
Affects 1 ecosystem: NuGet (19).
| Package | Fixed In |
|---|---|
| Magick.NET-Q8-x86 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+221 more) | 14.10.3 |
| Magick.NET-Q16-HDRI-x64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+202 more) | 14.10.3 |
| Magick.NET-Q16-HDRI-arm64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+50 more) | 14.10.3 |
| Magick.NET-Q16-HDRI-AnyCPU NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+202 more) | 14.10.3 |
| Magick.NET-Q16-OpenMP-x86 NuGet · Affected: All versions | 14.10.3 |
| Magick.NET-Q16-x86 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+221 more) | 14.10.3 |
| Magick.NET-Q8-OpenMP-arm64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+50 more) | 14.10.3 |
| Magick.NET-Q16-AnyCPU NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+205 more) | 14.10.3 |
| Magick.NET-Q8-AnyCPU NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+205 more) | 14.10.3 |
| Magick.NET-Q16-HDRI-x86 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+202 more) | 14.10.3 |
| Magick.NET-Q16-OpenMP-arm64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+50 more) | 14.10.3 |
| Magick.NET-Q16-x64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+221 more) | 14.10.3 |
| Magick.NET-Q16-OpenMP-x64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+102 more) | 14.10.3 |
| Magick.NET-Q16-arm64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+50 more) | 14.10.3 |
| Magick.NET-Q16-HDRI-OpenMP-x64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+102 more) | 14.10.3 |
| Magick.NET-Q8-OpenMP-x64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+102 more) | 14.10.3 |
| Magick.NET-Q8-arm64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+50 more) | 14.10.3 |
| Magick.NET-Q8-x64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+221 more) | 14.10.3 |
| Magick.NET-Q16-HDRI-OpenMP-arm64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+50 more) | 14.10.3 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-369
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.3 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-543g-8grm-9cw6WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-25799ADVISORY
- https://github.com/ImageMagick/ImageMagick/commit/49000e7298fbfdd759ac2c46f740f40c2e9b7452WEB
- https://github.com/ImageMagick/ImageMagickPACKAGE
- https://github.com/dlemstra/Magick.NET/releases/tag/14.10.3WEB
Frequently Asked Questions
- What is CVE-2026-25799?
- ImageMagick has Division-by-Zero in YUV sampling factor validation, which leads to crash. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.3/10).
- How do I check if my project is affected by CVE-2026-25799?
- CVE-2026-25799 affects Magick.NET-Q8-x86, Magick.NET-Q16-HDRI-x64 and Magick.NET-Q16-HDRI-arm64 (and 16 more). It has a 0.6% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-25799 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 41.8% 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-28494HIGH
ImageMagick vulnerable to stack corruption through long morphology kernel names or arrays
- CVE-2026-24485HIGH
ImageMagick: Infinite loop vulnerability when parsing a PCD file
- CVE-2026-25794HIGH
ImageMagick has heap-buffer-overflow via signed integer overflow in WriteUHDRImage when writing UHDR images with large dimensions
- CVE-2025-53015HIGH
ImageMagick has XMP profile write that triggers hang due to unbounded loop
- CVE-2026-28686MEDIUM
ImageMagick: Write heap-buffer-overflow in PCL encoder via undersized output buffer
- CVE-2026-28689MEDIUM
ImageMagick has a Path Policy TOCTOU symlink race bypass
- CVE-2026-25982MEDIUM
ImageMagick has Heap Out-of-Bounds Read in DCM Decoder (ReadDCMImage)
- CVE-2026-25898MEDIUM
ImageMagick has Global Buffer Overflow (OOB Read) via Negative Pixel Index in UIL and XPM Writer