ImageMagick's Security Policy Bypass through config/policy-secure.xml via "fd handler" leads to stdin/stdout access
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: 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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
Magick.NET-Q16-AnyCPUNuGet | < 14.10.3 | 14.10.3 |
Magick.NET-Q16-HDRI-AnyCPUNuGet | < 14.10.3 | 14.10.3 |
Magick.NET-Q16-HDRI-OpenMP-arm64NuGet | < 14.10.3 | 14.10.3 |
Magick.NET-Q16-HDRI-arm64NuGet | < 14.10.3 | 14.10.3 |
Magick.NET-Q16-HDRI-x64NuGet | < 14.10.3 | 14.10.3 |
Magick.NET-Q16-HDRI-x86NuGet | < 14.10.3 | 14.10.3 |
Magick.NET-Q16-OpenMP-arm64NuGet | < 14.10.3 | 14.10.3 |
Magick.NET-Q16-OpenMP-x64NuGet | < 14.10.3 | 14.10.3 |
Magick.NET-Q16-OpenMP-x86NuGet | < 14.10.3 | 14.10.3 |
Magick.NET-Q16-arm64NuGet | < 14.10.3 | 14.10.3 |
Magick.NET-Q16-x64NuGet | < 14.10.3 | 14.10.3 |
Magick.NET-QMagick.NET-Q16-x8616-x64NuGet | < 14.10.3 | 14.10.3 |
Magick.NET-Q8-AnyCPUNuGet | < 14.10.3 | 14.10.3 |
Magick.NET-Q8-OpenMP-arm64NuGet | < 14.10.3 | 14.10.3 |
Magick.NET-Q8-OpenMP-x64NuGet | < 14.10.3 | 14.10.3 |
Magick.NET-Q8-arm64NuGet | < 14.10.3 | 14.10.3 |
Magick.NET-Q8-x86NuGet | < 14.10.3 | 14.10.3 |
Affected products
34- ghsa-coords33 versionspkg:nuget/magick.net-q16-anycpupkg:nuget/magick.net-q16-arm64pkg:nuget/magick.net-q16-hdri-anycpupkg:nuget/magick.net-q16-hdri-arm64pkg:nuget/magick.net-q16-hdri-openmp-arm64pkg:nuget/magick.net-q16-hdri-x64pkg:nuget/magick.net-q16-hdri-x86pkg:nuget/magick.net-q16-openmp-arm64pkg:nuget/magick.net-q16-openmp-x64pkg:nuget/magick.net-q16-openmp-x86pkg:nuget/magick.net-q16-x64pkg:nuget/magick.net-q8-anycpupkg:nuget/magick.net-q8-arm64pkg:nuget/magick.net-q8-openmp-arm64pkg:nuget/magick.net-q8-openmp-x64pkg:nuget/magick.net-q8-x86pkg:nuget/magick.net-qmagick.net-q16-x8616-x64pkg:rpm/opensuse/ImageMagick&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/ImageMagick&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/ImageMagick&distro=openSUSE%20Tumbleweedpkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOSpkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSSpkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOSpkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSSpkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Desktop%20Applications%2015%20SP7pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP7pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSSpkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSSpkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP6-LTSSpkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP6pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5
< 14.10.3+ 32 more
- (no CPE)range: < 14.10.3
- (no CPE)range: < 14.10.3
- (no CPE)range: < 14.10.3
- (no CPE)range: < 14.10.3
- (no CPE)range: < 14.10.3
- (no CPE)range: < 14.10.3
- (no CPE)range: < 14.10.3
- (no CPE)range: < 14.10.3
- (no CPE)range: < 14.10.3
- (no CPE)range: < 14.10.3
- (no CPE)range: < 14.10.3
- (no CPE)range: < 14.10.3
- (no CPE)range: < 14.10.3
- (no CPE)range: < 14.10.3
- (no CPE)range: < 14.10.3
- (no CPE)range: < 14.10.3
- (no CPE)range: < 14.10.3
- (no CPE)range: < 7.1.1.21-150600.3.42.2
- (no CPE)range: < 7.1.2.0-160000.6.1
- (no CPE)range: < 7.1.2.15-1.1
- (no CPE)range: < 7.1.0.9-150400.6.68.2
- (no CPE)range: < 7.1.0.9-150400.6.68.2
- (no CPE)range: < 7.1.0.9-150400.6.68.2
- (no CPE)range: < 7.1.0.9-150400.6.68.2
- (no CPE)range: < 7.1.1.43-150700.3.37.1
- (no CPE)range: < 7.1.1.43-150700.3.37.1
- (no CPE)range: < 7.1.0.9-150400.6.68.2
- (no CPE)range: < 7.1.0.9-150400.6.68.2
- (no CPE)range: < 7.1.1.21-150600.3.42.2
- (no CPE)range: < 7.1.0.9-150400.6.68.2
- (no CPE)range: < 7.1.0.9-150400.6.68.2
- (no CPE)range: < 7.1.1.21-150600.3.42.2
- (no CPE)range: < 6.8.8.1-71.231.1
- Range: >= 7.0.0, < 7.1.2-15
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-xwc6-v6g8-pw2hghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-25966ghsaADVISORY
- github.com/ImageMagick/ImageMagick/commit/8d4c67a90ae458fb36393a05c0069e9123ac174cghsaWEB
- github.com/ImageMagick/ImageMagick/security/advisories/GHSA-xwc6-v6g8-pw2hghsax_refsource_CONFIRMWEB
- github.com/dlemstra/Magick.NET/releases/tag/14.10.3ghsaWEB
News mentions
0No linked articles in our index yet.