CVE-2026-56370 — ImageMagick has out-of-bounds access in...
ImageMagick has out-of-bounds access in ConnectedComponentsImage() via CLI-controlled connected-components:* artifacts
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.18%). Schedule for your next planned update.
Does your project use an affected Magick.NET-Q16-x86 version?
Paste your packages.lock.json to check it for CVE-2026-56370 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
When the connected-components:* define specifies an invalid index and out of bound operation will result in an access violation.
Advisory Timeline
- First published April 14, 2026 (225 days ago).
- Last revised September 18, 2026 — 157 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
dotnet add package Magick.NET-Q16-x86 --version 14.12.0
dotnet add package Magick.NET-Q8-x86 --version 14.12.0
dotnet add package Magick.NET-Q8-AnyCPU --version 14.12.0
dotnet add package Magick.NET-Q8-OpenMP-x64 --version 14.12.0
dotnet add package Magick.NET-Q16-HDRI-x64 --version 14.12.0
dotnet add package Magick.NET-Q16-arm64 --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-AnyCPU --version 14.12.0
dotnet add package Magick.NET-Q16-OpenMP-x64 --version 14.12.0
dotnet add package Magick.NET-Q8-OpenMP-arm64 --version 14.12.0
dotnet add package Magick.NET-Q8-x64 --version 14.12.0
dotnet add package Magick.NET-Q16-HDRI-OpenMP-x64 --version 14.12.0
dotnet add package Magick.NET-Q16-HDRI-x86 --version 14.12.0
dotnet add package Magick.NET-Q16-OpenMP-arm64 --version 14.12.0
dotnet add package Magick.NET-Q8-arm64 --version 14.12.0
dotnet add package Magick.NET-Q16-HDRI-arm64 --version 14.12.0
dotnet add package Magick.NET-Q16-x64 --version 14.12.0
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (18)
Affects 1 ecosystem: NuGet (18).
| Package | Fixed In |
|---|---|
| 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-Q8-x86 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+225 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-Q8-OpenMP-x64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+106 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 |
| 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-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-AnyCPU NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+209 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-Q8-OpenMP-arm64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+54 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-Q16-HDRI-OpenMP-x64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+106 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-OpenMP-arm64 NuGet · Affected: 10.0.0, 10.1.0, 11.0.0, 11.1.0 (+54 more) | 14.12.0 |
| 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-HDRI-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 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 3.3 score means for each attack dimension.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
References
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-pmpg-6pww-fg6qWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-56370ADVISORY
- https://github.com/ImageMagick/ImageMagickPACKAGE
- https://www.vulncheck.com/advisories/imagemagick-out-of-bounds-access-in-connectedcomponentsimage-via-connected-components-artifactWEB
Frequently Asked Questions
- What is CVE-2026-56370?
- ImageMagick has out-of-bounds access in ConnectedComponentsImage() via CLI-controlled connected-components:* artifacts. This vulnerability has been assigned a severity rating of LOW (CVSS score: 3.3/10).
- How do I check if my project is affected by CVE-2026-56370?
- CVE-2026-56370 affects Magick.NET-Q16-x86, Magick.NET-Q8-x86 and Magick.NET-Q8-AnyCPU (and 15 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-56370 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is difficult, or the impact is minor.
This is a below-median EPSS score — only 4.3% 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-49218HIGH
ImageMagick: Policy Bypass in DCM decoder could result in image with invalid dimensions
- CVE-2026-28686MEDIUM
ImageMagick: Write heap-buffer-overflow in PCL encoder via undersized output buffer
- CVE-2026-28689MEDIUM
ImageMagick has a Path Policy TOCTOU symlink race bypass
- CVE-2026-25971MEDIUM
ImageMagick: MSL - Stack overflow in ProcessMSLScript
- CVE-2026-26283MEDIUM
ImageMagick has a possible infinite loop in its JPEG encoder when using `jpeg:extent`
- CVE-2026-33905MEDIUM
ImageMagick has an out-of-bounds read in sample operation
- CVE-2026-45624MEDIUM
ImageMagick: Heap Buffer Over-Read of a 4 bytes in distort operation.
- CVE-2026-61859LOW
ImageMagick: Policy Bypass in script operation due to missing checks