CVE-2026-25966
ImageMagick's Security Policy Bypass through config/policy-secure.xml via "fd handler" leads to stdin/stdout access
Summary
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-Q8-OpenMP-arm64 --version 14.10.3
dotnet add package Magick.NET-QMagick.NET-Q16-x8616-x64 --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-Q8-OpenMP-x64 --version 14.10.3
dotnet add package Magick.NET-Q8-arm64 --version 14.10.3
dotnet add package Magick.NET-Q16-HDRI-OpenMP-arm64 --version 14.10.3
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (17)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| Magick.NET-Q8-x86 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+221 more) | 14.10.3 |
| Magick.NET-Q16-HDRI-x64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+202 more) | 14.10.3 |
| Magick.NET-Q16-HDRI-arm64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+50 more) | 14.10.3 |
| Magick.NET-Q16-HDRI-AnyCPU | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+202 more) | 14.10.3 |
| Magick.NET-Q16-OpenMP-x86 | nuget | All versions | 14.10.3 |
| Magick.NET-Q8-OpenMP-arm64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+50 more) | 14.10.3 |
| Magick.NET-QMagick.NET-Q16-x8616-x64 | nuget | All versions | 14.10.3 |
| Magick.NET-Q16-AnyCPU | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+205 more) | 14.10.3 |
| Magick.NET-Q8-AnyCPU | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+205 more) | 14.10.3 |
| Magick.NET-Q16-HDRI-x86 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+202 more) | 14.10.3 |
| Magick.NET-Q16-OpenMP-arm64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+50 more) | 14.10.3 |
| Magick.NET-Q16-x64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+221 more) | 14.10.3 |
| Magick.NET-Q16-OpenMP-x64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+102 more) | 14.10.3 |
| Magick.NET-Q16-arm64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+50 more) | 14.10.3 |
| Magick.NET-Q8-OpenMP-x64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+102 more) | 14.10.3 |
| Magick.NET-Q8-arm64 | nuget | 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+50 more) | 14.10.3 |
| Magick.NET-Q16-HDRI-OpenMP-arm64 | nuget | 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-284
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.9 score means for each attack dimension.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
References
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-xwc6-v6g8-pw2hWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-25966ADVISORY
- https://github.com/ImageMagick/ImageMagick/commit/8d4c67a90ae458fb36393a05c0069e9123ac174cWEB
- https://github.com/ImageMagick/ImageMagickPACKAGE
- https://github.com/dlemstra/Magick.NET/releases/tag/14.10.3WEB
Frequently Asked Questions
- What is CVE-2026-25966?
- ImageMagick's Security Policy Bypass through config/policy-secure.xml via "fd handler" leads to stdin/stdout access This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.9/10).
- How do I check if my project is affected by CVE-2026-25966?
- CVE-2026-25966 affects Magick.NET-Q8-x86, Magick.NET-Q16-HDRI-x64 and Magick.NET-Q16-HDRI-arm64 (and 14 more). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-25966 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
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-2025-53015HIGH
ImageMagick has XMP profile write that triggers hang due to unbounded loop
- CVE-2026-25799MEDIUM
ImageMagick has Division-by-Zero in YUV sampling factor validation, which leads to crash
- CVE-2026-30931MEDIUM
ImageMagick has heap-based buffer overflow in UHDR encoder
- 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
- CVE-2026-26983MEDIUM
ImageMagick: Invalid MSL <map> can result in a use after free
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies