CVE-2026-25965 — Vulnerability in Magick.NET-Q8-x86 — CVE Details
ImageMagick: Policy bypass through path traversal allows reading restricted content despite secured policy
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.94%). Schedule for your next planned update.
Does your project use an affected Magick.NET-Q8-x86 version?
Paste your packages.lock.json to check it for CVE-2026-25965 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
ImageMagick’s path security policy is enforced on the raw filename string before the filesystem resolves it. As a result, a policy rule such as /etc/* can be bypassed by a path traversal. The OS resolves the traversal and opens the sensitive file, but the policy matcher only sees the unnormalized path and therefore allows the read. This enables local file disclosure (LFI) even when policy-secure.xml is applied.
Actions to prevent reading from files have been taken. But it make sure writing is also not possible the following should be added to your policy:
<policy domain="path" rights="none" pattern="*../*"/>
And this will also be included in the project's more secure policies by default.
Advisory Timeline
- First published February 24, 2026 (275 days ago).
- Last revised February 24, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
dotnet add package Magick.NET-Q8-x86 --version 14.10.3
dotnet add package Magick.NET-Q16-HDRI-x64 --version 14.10.3
dotnet add package Magick.NET-Q16-HDRI-arm64 --version 14.10.3
dotnet add package Magick.NET-Q16-HDRI-AnyCPU --version 14.10.3
dotnet add package Magick.NET-Q16-OpenMP-x86 --version 14.10.3
dotnet add package Magick.NET-Q16-x86 --version 14.10.3
dotnet add package Magick.NET-Q8-OpenMP-arm64 --version 14.10.3
dotnet add package Magick.NET-Q16-AnyCPU --version 14.10.3
dotnet add package Magick.NET-Q8-AnyCPU --version 14.10.3
dotnet add package Magick.NET-Q16-HDRI-x86 --version 14.10.3
dotnet add package Magick.NET-Q16-OpenMP-arm64 --version 14.10.3
dotnet add package Magick.NET-Q16-x64 --version 14.10.3
dotnet add package Magick.NET-Q16-OpenMP-x64 --version 14.10.3
dotnet add package Magick.NET-Q16-arm64 --version 14.10.3
dotnet add package Magick.NET-Q16-HDRI-OpenMP-x64 --version 14.10.3
dotnet add package Magick.NET-Q8-OpenMP-x64 --version 14.10.3
dotnet add package Magick.NET-Q8-arm64 --version 14.10.3
dotnet add package Magick.NET-Q8-x64 --version 14.10.3
dotnet add package Magick.NET-Q16-HDRI-OpenMP-arm64 --version 14.10.3
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (19)
Affects 1 ecosystem: NuGet (19).
| Package | Fixed In |
|---|---|
| Magick.NET-Q8-x86 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+221 more) | 14.10.3 |
| Magick.NET-Q16-HDRI-x64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+202 more) | 14.10.3 |
| Magick.NET-Q16-HDRI-arm64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+50 more) | 14.10.3 |
| Magick.NET-Q16-HDRI-AnyCPU NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+202 more) | 14.10.3 |
| Magick.NET-Q16-OpenMP-x86 NuGet · Affected: All versions | 14.10.3 |
| Magick.NET-Q16-x86 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+221 more) | 14.10.3 |
| Magick.NET-Q8-OpenMP-arm64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+50 more) | 14.10.3 |
| Magick.NET-Q16-AnyCPU NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+205 more) | 14.10.3 |
| Magick.NET-Q8-AnyCPU NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+205 more) | 14.10.3 |
| Magick.NET-Q16-HDRI-x86 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+202 more) | 14.10.3 |
| Magick.NET-Q16-OpenMP-arm64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+50 more) | 14.10.3 |
| Magick.NET-Q16-x64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+221 more) | 14.10.3 |
| Magick.NET-Q16-OpenMP-x64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+102 more) | 14.10.3 |
| Magick.NET-Q16-arm64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+50 more) | 14.10.3 |
| Magick.NET-Q16-HDRI-OpenMP-x64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+102 more) | 14.10.3 |
| Magick.NET-Q8-OpenMP-x64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+102 more) | 14.10.3 |
| Magick.NET-Q8-arm64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+50 more) | 14.10.3 |
| Magick.NET-Q8-x64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+221 more) | 14.10.3 |
| Magick.NET-Q16-HDRI-OpenMP-arm64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+50 more) | 14.10.3 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-22Path TraversalMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.6 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
References
Frequently Asked Questions
- What is CVE-2026-25965?
- ImageMagick: Policy bypass through path traversal allows reading restricted content despite secured policy. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.6/10).
- How do I check if my project is affected by CVE-2026-25965?
- CVE-2026-25965 affects Magick.NET-Q8-x86, Magick.NET-Q16-HDRI-x64 and Magick.NET-Q16-HDRI-arm64 (and 16 more). It has a 0.9% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-25965 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is an above-median EPSS score — 59.4% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2026-25968HIGH
ImageMagick: MSL attribute stack buffer overflow leads to out of bounds write.
- CVE-2026-25985HIGH
ImageMagick: Memory allocation with excessive without limits in the internal SVG decoder
- CVE-2026-25987MEDIUM
ImageMagick has a heap buffer over-read in its MAP image decoder
- CVE-2026-33536MEDIUM
ImageMagick has an Out-of-bounds Write via InterpretImageFilename
- CVE-2026-32636MEDIUM
ImageMagick has a heap-buffer-overflow in NewXMLTree which could result in crash
- CVE-2026-25637MEDIUM
ImageMagick: Possible memory leak in ASHLAR encoder
- CVE-2026-25798MEDIUM
ImageMagick has NULL Pointer Dereference in ClonePixelCacheRepository via crafted image
- CVE-2026-56362LOW
ImageMagick: Heap-based Buffer Overflow in GetPixelIndex due to metadata-cache desynchronization