GitHub Advisoryadvisory · NuGet

GHSA-xwc6-v6g8-pw2h ImageMagick's Security Policy Bypass through config/policy-secure.xml via "fd handler" leads to stdin/stdout access

MEDIUM Published 2026-02-24 Modified 2026-02-24 Official page ↗
Aliases
CVE-2026-25966
Ecosystem
NuGet
Packages
Magick.NET-Q16-AnyCPU, Magick.NET-Q16-HDRI-AnyCPU, Magick.NET-Q16-HDRI-OpenMP-arm64, Magick.NET-Q16-HDRI-arm64, Magick.NET-Q16-HDRI-x64, Magick.NET-Q16-HDRI-x86, Magick.NET-Q16-OpenMP-arm64, Magick.NET-Q16-OpenMP-x64, Magick.NET-Q16-OpenMP-x86, Magick.NET-Q16-arm64, Magick.NET-Q16-x64, Magick.NET-QMagick.NET-Q16-x8616-x64, Magick.NET-Q8-AnyCPU, Magick.NET-Q8-OpenMP-arm64, Magick.NET-Q8-OpenMP-x64, Magick.NET-Q8-arm64, Magick.NET-Q8-x86
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weaknesses
CWE-284
Reviewed
2026-02-24

Affected packages

• NuGet Magick.NET-Q16-AnyCPU: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q16-HDRI-AnyCPU: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q16-HDRI-OpenMP-arm64: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q16-HDRI-arm64: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q16-HDRI-x64: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q16-HDRI-x86: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q16-OpenMP-arm64: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q16-OpenMP-x64: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q16-OpenMP-x86: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q16-arm64: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q16-x64: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-QMagick.NET-Q16-x8616-x64: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q8-AnyCPU: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q8-OpenMP-arm64: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q8-OpenMP-x64: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q8-arm64: < 14.10.3 → fixed in 14.10.3 • NuGet Magick.NET-Q8-x86: < 14.10.3 → fixed in 14.10.3

Description

The shipped “secure” security policy includes a rule intended to prevent reading/writing from standard streams: ```xml ``` However, ImageMagick also supports fd: pseudo-filenames (e.g., fd:0, fd:1). This path form is not blocked by the secure policy templates, and therefore bypasses the protection goal of “no stdin/stdout”. To resolve this, users can add the following change to their security policy. ```xml ``` And this will also be included in ImageMagick's more secure policies by default.

Related

Alias · CVE (1)

  • CVE-2026-25966 ImageMagick is free and open-source software used for editing and manipulating digital images. vulnerability

Weakness · CWE (1)

  • CWE-284 Improper Access Control weakness

References