CVE-2026-56361
Description
ImageMagick before 7.1.2-19 contains an off-by-one error in morphology validation allowing out-of-bounds heap buffer reads. Attackers can trigger heap buffer overflow by providing incorrect morphology parameters causing single pixel memory access violations.
Severity
LOW
CVSS v3
3.3
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L · source cna
CVSS v4
4.8
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N · source cna
Exploit chance (EPSS)
0.128%
chance of exploitation in the next 30 days
higher than 2.5% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-125: Out-of-bounds Read
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-07-01 |
Timeline
- 2026-04-14GitHub advisory published (GHSA-q8h3-jv9v-57qx)77 days before publication
- 2026-06-30Published by the CNA22:08 UTC
- 2026-07-01CISA SSVC decision recorded1 day after publication
Exploit and advisory records
GitHub advisory GHSA-q8h3-jv9v-57qx, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| NuGet Magick.NET-Q16-AnyCPU | before 14.12.0 | 14.12.0 |
| NuGet Magick.NET-Q16-HDRI-AnyCPU | before 14.12.0 | 14.12.0 |
| NuGet Magick.NET-Q16-HDRI-OpenMP-arm64 | before 14.12.0 | 14.12.0 |
| NuGet Magick.NET-Q16-HDRI-OpenMP-x64 | before 14.12.0 | 14.12.0 |
| NuGet Magick.NET-Q16-HDRI-arm64 | before 14.12.0 | 14.12.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| imagemagick imagemagick | before 6.9.13-44fixed in 6.9.13-44from 7.0.0 before 7.1.2-19fixed in 7.1.2-19from 7.0.0-0 before 7.1.2-19fixed in 7.1.2-19 | 6.9.13-447.1.2-197.1.2-19 |
References
- https://github.com/ImageMagick/ImageMagick/security/advisories/GHSA-q8h3-jv9v-57qx
- https://www.vulncheck.com/advisories/imagemagick-heap-buffer-overflow-via-off-by-one-in-morphology-processing
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-56361'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-56361'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-56361'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-56361'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).