CVE-2026-56361: ImageMagick - Heap Buffer Overflow via Off-by-One in Morphology Processing
Published Jun 30, 2026
·Updated
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.
Affected Software
3 affected components
ImageMagick ImageMagick<7.1.2-19
ImageMagick ImageMagick<6.9.13-44
ImageMagick ImageMagick>=7.0.0-0<7.1.2-19
Event History
Jun 30, 2026
CVE Published
via MITRE·10:08 PM
Data Sourced
via MITRE·10:08 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:17 PM
DescriptionSeverityWeaknessAffected Software
Frequently Asked Questions
1
What is the severity of CVE-2026-56361?
The severity of CVE-2026-56361 is medium with a CVSS score of 4.8.
2
How can I fix CVE-2026-56361?
To fix CVE-2026-56361, update ImageMagick to version 7.1.2-19 or later.
3
What type of vulnerability is CVE-2026-56361?
CVE-2026-56361 is a buffer overflow vulnerability caused by an off-by-one error in morphology processing.
4
What are the potential impacts of CVE-2026-56361?
The potential impacts of CVE-2026-56361 include out-of-bounds heap buffer reads and possible denial of service.
5
Who is affected by CVE-2026-56361?
Users of ImageMagick versions prior to 7.1.2-19 are affected by CVE-2026-56361.