{"id":"CVE-2026-25966","published":"2026-02-24T01:27:53Z","modified":"2026-06-23T15:48:03Z","title":"ImageMagick's Security Policy Bypass through config/policy-secure.xml via \"fd handler\" leads to stdin/stdout access","vendor":"ImageMagick","product":"ImageMagick","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0015,"percentile":0.04239,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"references":[{"url":"https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-xwc6-v6g8-pw2h","tags":["x_refsource_CONFIRM"]}],"priority":{"score":5.0,"factors":[{"name":"EPSS percentile","points":0.85},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"imagemagick","affectedVersions":[{"vendor":"ImageMagick","product":"ImageMagick","versions":[">= 7.0.0, < 7.1.2-15","< 6.9.13-40"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-26T21:02:30.439529Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"NuGet","package":"Magick.NET-Q16-AnyCPU","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-xwc6-v6g8-pw2h"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-AnyCPU","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-xwc6-v6g8-pw2h"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-OpenMP-arm64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-xwc6-v6g8-pw2h"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-arm64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-xwc6-v6g8-pw2h"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-x64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-xwc6-v6g8-pw2h"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-HDRI-x86","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-xwc6-v6g8-pw2h"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-OpenMP-arm64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-xwc6-v6g8-pw2h"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-OpenMP-x64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-xwc6-v6g8-pw2h"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-OpenMP-x86","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-xwc6-v6g8-pw2h"],"provenance":"source"},{"ecosystem":"NuGet","package":"Magick.NET-Q16-arm64","vulnerableRanges":["<14.10.3"],"patched":["14.10.3"],"from":["GHSA-xwc6-v6g8-pw2h"],"provenance":"source"}],"summary":{"text":"The shipped \"secure\" ImageMagick security policy (config/policy-secure.xml) fails to block fd:<n> pseudo-filenames such as fd:0 and fd:1, allowing reads and writes on standard streams despite the policy's intent to prevent that access; this affects ImageMagick versions before 7.1.2-15 and 6.9.13-40. An attacker who can get ImageMagick to process a crafted input or command can use these pseudo-filenames to reach stdin and stdout without authentication or user interaction, provided they have local access to the system.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:19:56Z"},"euvd":{"id":"EUVD-2026-7437","exploited":false,"provenance":"source"}}