ImageMagick Secure Policy fd: Bypass in 7.1.2-15/6.9.13-40
CVE-2026-25966 Published on February 24, 2026
ImageMagick's Security Policy Bypass through config/policy-secure.xml via "fd handler" leads to stdin/stdout access
ImageMagick is free and open-source software used for editing and manipulating digital images. The shipped "secure" security policy includes a rule intended to prevent reading/writing from standard streams. However, ImageMagick also supports fd:<n> pseudo-filenames (e.g., fd:0, fd:1). Prior to versions 7.1.2-15 and 6.9.13-40, this path form is not blocked by the secure policy templates, and therefore bypasses the protection goal of "no stdin/stdout." Versions 7.1.2-15 and 6.9.13-40 contain a patch by including a change to the more secure policies by default. As a workaround, add the change to one's security policy manually.
Vulnerability Analysis
CVE-2026-25966 is exploitable with local system access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be low. considered to have a small impact on confidentiality and integrity and availability.
Weakness Type
What is an Authorization Vulnerability?
The software does not restrict or incorrectly restricts access to a resource from an unauthorized actor.
CVE-2026-25966 has been classified to as an Authorization vulnerability or weakness.
Products Associated with CVE-2026-25966
Want to know whenever a new CVE is published for ImageMagick? stack.watch will email you.
Affected Versions
ImageMagick:- Version >= 7.0.0, < 7.1.2-15 is affected.
- Version < 6.9.13-40 is affected.
Vulnerable Packages
The following package name and versions may be associated with CVE-2026-25966
| Package Manager | Vulnerable Package | Versions | Fixed In |
|---|---|---|---|
| nuget | Magick.NET-Q8-x86 | < 14.10.3 | 14.10.3 |
| nuget | Magick.NET-Q8-arm64 | < 14.10.3 | 14.10.3 |
| nuget | Magick.NET-Q8-OpenMP-x64 | < 14.10.3 | 14.10.3 |
| nuget | Magick.NET-Q8-OpenMP-arm64 | < 14.10.3 | 14.10.3 |
| nuget | Magick.NET-Q8-AnyCPU | < 14.10.3 | 14.10.3 |
| nuget | Magick.NET-QMagick.NET-Q16-x8616-x64 | < 14.10.3 | 14.10.3 |
| nuget | Magick.NET-Q16-x64 | < 14.10.3 | 14.10.3 |
| nuget | Magick.NET-Q16-arm64 | < 14.10.3 | 14.10.3 |
| nuget | Magick.NET-Q16-OpenMP-x86 | < 14.10.3 | 14.10.3 |
| nuget | Magick.NET-Q16-OpenMP-x64 | < 14.10.3 | 14.10.3 |
| nuget | Magick.NET-Q16-OpenMP-arm64 | < 14.10.3 | 14.10.3 |
| nuget | Magick.NET-Q16-HDRI-x86 | < 14.10.3 | 14.10.3 |
| nuget | Magick.NET-Q16-HDRI-x64 | < 14.10.3 | 14.10.3 |
| nuget | Magick.NET-Q16-HDRI-arm64 | < 14.10.3 | 14.10.3 |
| nuget | Magick.NET-Q16-HDRI-OpenMP-arm64 | < 14.10.3 | 14.10.3 |
| nuget | Magick.NET-Q16-HDRI-AnyCPU | < 14.10.3 | 14.10.3 |
| nuget | Magick.NET-Q16-AnyCPU | < 14.10.3 | 14.10.3 |
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.