Monitor vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
5.9
ImageMagick allows attackers to access sensitive data through special file path
CVE-2026-25966
GHSA-xwc6-v6g8-pw2h
CVE-2026-25966
Summary
A security setting in ImageMagick can be bypassed, potentially allowing attackers to read or write sensitive data. This affects ImageMagick users who have not upgraded to a patched version. To protect yourself, manually add a security policy change to your settings.
What to do
- Update magick.net-q16-anycpu to version 14.10.3.
- Update magick.net-q16-hdri-anycpu to version 14.10.3.
- Update magick.net-q16-hdri-openmp-arm64 to version 14.10.3.
- Update magick.net-q16-hdri-arm64 to version 14.10.3.
- Update magick.net-q16-hdri-x64 to version 14.10.3.
- Update magick.net-q16-hdri-x86 to version 14.10.3.
- Update magick.net-q16-openmp-arm64 to version 14.10.3.
- Update magick.net-q16-openmp-x64 to version 14.10.3.
- Update magick.net-q16-openmp-x86 to version 14.10.3.
- Update magick.net-q16-arm64 to version 14.10.3.
- Update magick.net-q16-x64 to version 14.10.3.
- Update magick.net-qmagick.net-q16-x8616-x64 to version 14.10.3.
- Update magick.net-q8-anycpu to version 14.10.3.
- Update magick.net-q8-openmp-arm64 to version 14.10.3.
- Update magick.net-q8-openmp-x64 to version 14.10.3.
- Update magick.net-q8-arm64 to version 14.10.3.
- Update magick.net-q8-x86 to version 14.10.3.
Affected software
| Vendor | Product | Affected versions | Fix available |
|---|---|---|---|
| – | magick.net-q16-anycpu | <= 14.10.3 | 14.10.3 |
| – | magick.net-q16-hdri-anycpu | <= 14.10.3 | 14.10.3 |
| – | magick.net-q16-hdri-openmp-arm64 | <= 14.10.3 | 14.10.3 |
| – | magick.net-q16-hdri-arm64 | <= 14.10.3 | 14.10.3 |
| – | magick.net-q16-hdri-x64 | <= 14.10.3 | 14.10.3 |
| – | magick.net-q16-hdri-x86 | <= 14.10.3 | 14.10.3 |
| – | magick.net-q16-openmp-arm64 | <= 14.10.3 | 14.10.3 |
| – | magick.net-q16-openmp-x64 | <= 14.10.3 | 14.10.3 |
| – | magick.net-q16-openmp-x86 | <= 14.10.3 | 14.10.3 |
| – | magick.net-q16-arm64 | <= 14.10.3 | 14.10.3 |
| – | magick.net-q16-x64 | <= 14.10.3 | 14.10.3 |
| – | magick.net-qmagick.net-q16-x8616-x64 | <= 14.10.3 | 14.10.3 |
| – | magick.net-q8-anycpu | <= 14.10.3 | 14.10.3 |
| – | magick.net-q8-openmp-arm64 | <= 14.10.3 | 14.10.3 |
| – | magick.net-q8-openmp-x64 | <= 14.10.3 | 14.10.3 |
| – | magick.net-q8-arm64 | <= 14.10.3 | 14.10.3 |
| – | magick.net-q8-x86 | <= 14.10.3 | 14.10.3 |
| imagemagick | imagemagick | <= 6.9.13-40 | – |
| imagemagick | imagemagick | > 7.0.0-0 , <= 7.1.2-15 | – |
Original title
ImageMagick's Security Policy Bypass through config/policy-secure.xml via "fd handler" leads to stdin/stdout access
Original description
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.
nvd CVSS3.1
7.8
Vulnerability type
CWE-284
Improper Access Control
- https://nvd.nist.gov/vuln/detail/CVE-2026-25966
- https://github.com/ImageMagick/ImageMagick/commit/8d4c67a90ae458fb36393a05c0069e...
- https://github.com/dlemstra/Magick.NET/releases/tag/14.10.3
- https://github.com/advisories/GHSA-xwc6-v6g8-pw2h
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-xwc6-v6g8-pw... Third Party Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25966... Vendor Advisory
Published: 24 Feb 2026 · Updated: 12 Mar 2026 · First seen: 6 Mar 2026