CVE-2026-56361: ImageMagick before 7.1.2-19 contains an off-by-one error in morphology validation allowing out-of-bounds heap
CVE-2026-56361 is a low-severity flaw (CVSS 3.3) affecting imagemagick. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 3.3 (Low) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.1% (top 98%) |
| CISA exploited list | No |
| Weakness | CWE-125 |
| Published | 2026-06-30 |
| Last modified | 2026-07-02 |
Last updated 2026-07-02 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-56361?
imagemagick: upgrade to 6.9.13-44, 7.1.2-19. Exact commands for each OS are on this page.
Is CVE-2026-56361 being exploited?
CVE-2026-56361 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-56361 affect?
CVE-2026-56361 affects imagemagick. Severity is low (CVSS 3.3). 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
How urgent is CVE-2026-56361?
Priority 12/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2026-56371 MEDIUM 5.3 UPGRADE ImageMagick before 7.1.2-15 and 6.9.13-40 contains a memory leak in coders/txt.c when processing TXT files wit
- CVE-2026-56368 LOW 3.7 UPGRADE ImageMagick before 7.1.2-15 contains a memory leak vulnerability in multiple coders that write raw pixel data
- CVE-2026-56376 LOW 3.7 UPGRADE ImageMagick before 7.1.2-15 and 6.9.13-40 contains a heap use-after-free in the meta coder: when memory alloca
- CVE-2026-56374 LOW 3.3 UPGRADE ImageMagick before 7.1.2-19 contains a heap buffer overflow vulnerability in the FTXT encoder due to missing b
- CVE-2026-56365 LOW 3.7 UPGRADE ImageMagick before 7.1.2-19 contains a memory leak vulnerability in the PNG encoder when writing MNG images