CVE-2026-25966 json
ImageMagick's Security Policy Bypass through config/policy-secure.xml via "fd handler" leads to stdin/stdout access
published 2026-02-24 8 mo ago modified 2026-07-30 3 mo ago also EUVD-2026-7437 , GHSA-xwc6-v6g8-pw2h , JLSEC-2026-953
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 4%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- nuget Magick.NET-Q16-AnyCPU 14.10.3
- nuget Magick.NET-Q16-HDRI-AnyCPU 14.10.3
- nuget Magick.NET-Q16-HDRI-OpenMP-arm64 14.10.3
- nuget Magick.NET-Q16-HDRI-arm64 14.10.3
- nuget Magick.NET-Q16-HDRI-x64 14.10.3
- nuget Magick.NET-Q16-HDRI-x86 14.10.3
- nuget Magick.NET-Q16-OpenMP-arm64 14.10.3
- nuget Magick.NET-Q16-OpenMP-x64 14.10.3
- nuget Magick.NET-Q16-OpenMP-x86 14.10.3
- nuget Magick.NET-Q16-arm64 14.10.3
- nuget Magick.NET-Q16-x64 14.10.3
- nuget Magick.NET-QMagick.NET-Q16-x8616-x64 14.10.3
- nuget Magick.NET-Q8-AnyCPU 14.10.3
- nuget Magick.NET-Q8-OpenMP-arm64 14.10.3
- nuget Magick.NET-Q8-OpenMP-x64 14.10.3
- nuget Magick.NET-Q8-arm64 14.10.3
- nuget Magick.NET-Q8-x86 14.10.3
- julia ImageMagick_jll 7.1.2023+0
- imagemagick imagemagick 6.9.13-40, 7.1.2-15
- imagemagick Debian 13 8:7.1.1.43+dfsg1-1+deb13u6
- imagemagick Debian 14 8:7.1.2.15+dfsg1-1
debian advisories DEBIAN-CVE-2026-25966
- ImageMagick SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +8 more 7.1.0.9-150400.6.68.2
- ImageMagick SLES for SAP 15 SP6, SLES 15 SP6-LTSS, openSUSE Leap 15.6 7.1.1.21-150600.3.42.2
- ImageMagick SLE Module for Development Tools 15 SP7, SLE Module for Desktop Applications 15 SP7 7.1.1.43-150700.3.37.1
- ImageMagick SLES LTSS Extended Security 12 SP5 6.8.8.1-71.231.1
suse advisories SUSE-SU-2026:0854-1SUSE-SU-2026:0853-1SUSE-SU-2026:0852-1SUSE-SU-2026:0851-1
- ImageMagick openSUSE Leap 16.0 7.1.2.0-160000.6.1
- ImageMagick openSUSE Tumbleweed 7.1.2.15-1.1
opensuse advisories openSUSE-SU-2026:20337-1openSUSE-SU-2026:10267-1
- imagemagick Alpine 3.24, Alpine 3.23, Alpine 3.22 7.1.2.15-r0
alpine advisories ALPINE-CVE-2026-25966
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-25966 updated cvss 5.9
ImageMagick: ImageMagick: Policy bypass allows unauthorized access to standard streams via fd:<n> pseudo-filenames
-
Red Hat Enterprise Linux 6 ImageMagick, ImageMagick-c++, ImageMagick-perl Red Hat Enterprise Linux 7 ImageMagick, ImageMagick-c++, ImageMagick-perlaffected: workaround, no fix planned “Out of support scope”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 8 mo ago
Exploit prediction
0.15% chance of exploitation in the next 30 days, higher than 4% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| nuget | Magick.NET-Q16-AnyCPU | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q16-HDRI-AnyCPU | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q16-HDRI-OpenMP-arm64 | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q16-HDRI-arm64 | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q16-HDRI-x64 | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q16-HDRI-x86 | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q16-OpenMP-arm64 | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q16-OpenMP-x64 | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q16-OpenMP-x86 | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q16-arm64 | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q16-x64 | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-QMagick.NET-Q16-x8616-x64 | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q8-AnyCPU | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q8-OpenMP-arm64 | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q8-OpenMP-x64 | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q8-arm64 | <14.10.3 |
14.10.3 |
| nuget | Magick.NET-Q8-x86 | <14.10.3 |
14.10.3 |
| julia | ImageMagick_jll | <7.1.2023+0 |
7.1.2023+0 |
Affected products
- ImageMagick ImageMagick
Classification
- Weakness
-
- CWE-284 Improper Access Control
References
-
github.com
/ImageMagick/ImageMagick/commit/8d4c67a90ae458fb36393a05c0069e9123ac174c
web
-
github.com
/ImageMagick/ImageMagick/security/advisories/GHSA-xwc6-v6g8-pw2h
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-25966
advisory, web
-
github.com
/ImageMagick/ImageMagick
package
-
github.com
/dlemstra/Magick.NET/releases/tag/14.10.3
web
-
github.com
/advisories/GHSA-xwc6-v6g8-pw2h
web
Sources
- CVE List CVE-2026-25966
- GitHub Advisory GHSA-xwc6-v6g8-pw2h
- NVD CVE-2026-25966
- OSV JLSEC-2026-953
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.