7.8

CVE-2026-25966: ImageMagick's Security Policy Bypass through config/policy-secure.xml via "fd handler" leads to stdin/stdout access

Analyzed
AliasesUBUNTU-CVE-2026-25966DEBIAN-CVE-2026-25966GHSA-xwc6-v6g8-pw2h
Published 24-02-2026Last modified 23-06-2026

Vulnerability summary

CVE-2026-25966 is a high (CVSS 7.8) Improper Access Control vulnerability in imagemagick. EPSS estimates a 0.15% chance of exploitation in the next 30 days, higher than 4.3% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.9, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
0.15%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 8 · Related 7

Timeline

  1. 24-02-2026
    PublishedVulnerability first disclosed.
  2. 23-06-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.15%

Chance of exploitation in the next 30 days

Percentile

4%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.15% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

NuGet17 products
  • Magick.NET-Q16-AnyCPU< 14.10.3
  • Magick.NET-Q16-arm64< 14.10.3
  • Magick.NET-Q16-HDRI-AnyCPU< 14.10.3
  • Magick.NET-Q16-HDRI-arm64< 14.10.3
  • Magick.NET-Q16-HDRI-OpenMP-arm64< 14.10.3
Alpine1 product
  • imagemagick≥ 7.0.0-0, < 7.1.2.15-r0 | < 7.1.2.15-r0
Debian1 product
  • imagemagick< 8:7.1.1.43+dfsg1-1+deb13u6 | < 8:7.1.2.15+dfsg1-1
Imagemagick1 product
  • imagemagick≥ 7.0.0, < 7.1.2-15 | < 6.9.13-40 | ≥ 7.0.0-0, < 7.1.2-15
Ubuntu1 product
  • imagemagickAll versions (No fix recorded) | < 8:6.9.12.98+dfsg1-5.2ubuntu0.1~esm17

5 vendors · 21 products

References

10 links