CVE-2026-25966
ImageMagick: ImageMagick: Policy bypass allows unauthorized access to standard streams via fd:<n> pseudo-filenames
Overview
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.
Source: OX vulnerability database
Severity
7.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-284
Affected packages · 18
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Julia | ImageMagick_jll | <7.1.2023+0 | 7.1.2023+0 |
| NuGet | Magick.NET-Q16-AnyCPU | <14.10.3 | 14.10.3 |
| NuGet | Magick.NET-Q16-arm64 | <14.10.3 | 14.10.3 |
| NuGet | Magick.NET-Q16-HDRI-AnyCPU | <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-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-x64 | <14.10.3 | 14.10.3 |
| NuGet | Magick.NET-Q8-AnyCPU | <14.10.3 | 14.10.3 |
| NuGet | Magick.NET-Q8-arm64 | <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-x86 | <14.10.3 | 14.10.3 |
| NuGet | Magick.NET-QMagick.NET-Q16-x8616-x64 | <14.10.3 | 14.10.3 |
Open a package to see all its vulnerabilities.
Operating systems · 24 fixes
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | imagemagick +5 | 7.1.2.16-1.ph4 |
| 5.0 | imagemagick +5 | 7.1.2.16-1.1.ph5 |
Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | imagemagick +5 | eol |
SUSE Linux Enterprise 5 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | imagemagick-config-6-suse +5 | 6.8.8.1-71.231.1 | SUSE-SU-2026:0854-1 |
| 15.4 | imagemagick +8 | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| 15.5 | imagemagick +8 | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| 15.6 | imagemagick-config-7-upstream | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
| 15.6 | imagemagick +11 | 7.1.1.21-150600.3.42.2 | SUSE-SU-2026:0852-1 |
| 15.7 | imagemagick-config-7-upstream | 7.1.0.9-150400.6.68.2 | SUSE-SU-2026:0853-1 |
1 more row
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | imagemagick | 7.1.2.15-r0 |
| 3.23 | imagemagick | 7.1.2.15-r0 |
| 3.24 | imagemagick | 7.1.2.15-r0 |
| edge | imagemagick | 7.1.2.15-r0 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | imagemagick +11 | 1:6.9.13.40-1.amzn2023.0.1 |
debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 13 | imagemagick | 8:7.1.1.43+dfsg1-1+deb13u6 |
| 14 | imagemagick | 8:7.1.2.15+dfsg1-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| imagemagick | 8:7.1.1.43+dfsg1-1+deb13u4+e5 |
minimos 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| imagemagick | 7.1.2.0-r0 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | imagemagick +14 | 7.1.2.15-1.1 | openSUSE-SU-2026:10267-1 |
openSUSE Leap 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | imagemagick +13 | 7.1.2.0-160000.6.1 | openSUSE-SU-2026:20337-1 |
root.io debian 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | imagemagick +1 | 8:6.9.11.60+dfsg-1.3+deb11u4.root.io.18 |
| 13 | rootio-imagemagick | 8:7.1.1.43+dfsg1-1+deb13u6 |
seal Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | imagemagick +1 | 6.9.10.68-6.el7_9+sp999 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-25966
- github.com https://github.com/ImageMagick/ImageMagick
- github.com https://github.com/ImageMagick/ImageMagick/commit/8d4c67a90ae458fb36393a05c0069e9123ac174c
- github.com https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-xwc6-v6g8-pw2h
- github.com https://github.com/advisories/GHSA-xwc6-v6g8-pw2h
- github.com https://github.com/dlemstra/Magick.NET/releases/tag/14.10.3
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-25966
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-25966
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.