CVE-2026-40169 — Vulnerability in Magick.NET-Q8-arm64 — CVE Details
ImageMagick has a heap buffer overflow (WRITE) in the YAML and JSON encoders.
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.20%). Schedule for your next planned update.
Does your project use an affected Magick.NET-Q8-arm64 version?
Paste your packages.lock.json to check it for CVE-2026-40169 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
A crafted image could result in an out of bounds heap write when writing a yaml or json output and that could result in a crash.
Advisory Timeline
- First published April 14, 2026 (226 days ago).
- Last revised September 10, 2026 — 148 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
dotnet add package Magick.NET-Q8-arm64 --version 14.12.0
dotnet add package Magick.NET-Q16-OpenMP-x64 --version 14.12.0
dotnet add package Magick.NET-Q16-OpenMP-arm64 --version 14.12.0
dotnet add package Magick.NET-Q8-OpenMP-x64 --version 14.12.0
dotnet add package Magick.NET-Q8-x64 --version 14.12.0
dotnet add package Magick.NET-Q8-OpenMP-arm64 --version 14.12.0
dotnet add package Magick.NET-Q16-x64 --version 14.12.0
dotnet add package Magick.NET-Q16-HDRI-AnyCPU --version 14.12.0
dotnet add package Magick.NET-Q16-HDRI-OpenMP-arm64 --version 14.12.0
dotnet add package Magick.NET-Q16-arm64 --version 14.12.0
dotnet add package Magick.NET-Q16-HDRI-x86 --version 14.12.0
dotnet add package Magick.NET-Q16-x86 --version 14.12.0
dotnet add package Magick.NET-Q16-AnyCPU --version 14.12.0
dotnet add package Magick.NET-Q8-AnyCPU --version 14.12.0
dotnet add package Magick.NET-Q16-HDRI-arm64 --version 14.12.0
dotnet add package Magick.NET-Q8-x86 --version 14.12.0
dotnet add package Magick.NET-Q16-HDRI-x64 --version 14.12.0
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (17)
Affects 1 ecosystem: NuGet (17).
| Package | Fixed In |
|---|---|
| Magick.NET-Q8-arm64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+54 more) | 14.12.0 |
| Magick.NET-Q16-OpenMP-x64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+106 more) | 14.12.0 |
| Magick.NET-Q16-OpenMP-arm64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+54 more) | 14.12.0 |
| Magick.NET-Q8-OpenMP-x64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+106 more) | 14.12.0 |
| Magick.NET-Q8-x64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+225 more) | 14.12.0 |
| Magick.NET-Q8-OpenMP-arm64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+54 more) | 14.12.0 |
| Magick.NET-Q16-x64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+225 more) | 14.12.0 |
| Magick.NET-Q16-HDRI-AnyCPU NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+206 more) | 14.12.0 |
| Magick.NET-Q16-HDRI-OpenMP-arm64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+54 more) | 14.12.0 |
| Magick.NET-Q16-arm64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+54 more) | 14.12.0 |
| Magick.NET-Q16-HDRI-x86 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+206 more) | 14.12.0 |
| Magick.NET-Q16-x86 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+225 more) | 14.12.0 |
| Magick.NET-Q16-AnyCPU NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+209 more) | 14.12.0 |
| Magick.NET-Q8-AnyCPU NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+209 more) | 14.12.0 |
| Magick.NET-Q16-HDRI-arm64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+54 more) | 14.12.0 |
| Magick.NET-Q8-x86 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+225 more) | 14.12.0 |
| Magick.NET-Q16-HDRI-x64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+206 more) | 14.12.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-122
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.2 score means for each attack dimension.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-5592-p365-24xhWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-40169ADVISORY
- https://github.com/ImageMagick/ImageMagick/commit/f86452a8aea37bf2b4bd36127f836dcc5f138b38WEB
- https://github.com/ImageMagick/ImageMagickPACKAGE
- https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.2-19WEB
- https://github.com/dlemstra/Magick.NET/releases/tag/14.12.0WEB
Frequently Asked Questions
- What is CVE-2026-40169?
- ImageMagick has a heap buffer overflow (WRITE) in the YAML and JSON encoders. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.2/10).
- How do I check if my project is affected by CVE-2026-40169?
- CVE-2026-40169 affects Magick.NET-Q8-arm64, Magick.NET-Q16-OpenMP-x64 and Magick.NET-Q16-OpenMP-arm64 (and 14 more). It has a 0.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-40169 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is a below-median EPSS score — only 5.5% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-28494HIGH
ImageMagick vulnerable to stack corruption through long morphology kernel names or arrays
- CVE-2026-28689MEDIUM
ImageMagick has a Path Policy TOCTOU symlink race bypass
- CVE-2026-46693MEDIUM
ImageMagick: Race Condition in distributed pixel cache server can result in file descriptor hijacking
- CVE-2026-40310MEDIUM
ImageMagick has a heap out-of-bounds write in JP2 encoder
- CVE-2026-26983MEDIUM
ImageMagick: Invalid MSL <map> can result in a use after free
- CVE-2026-56368MEDIUM
ImageMagick: Memory Leak in multiple coders that write raw pixel data
- CVE-2026-61872LOW
ImageMagick: Memory Leak in TIFF encoder when invalid tiff:tile-geometry is specified
- CVE-2026-61868LOW
ImageMagick: Memory Leak in YUV decoder when opening of blob fails