CVE-2026-56361: ImageMagick - Heap Buffer Overflow via Off-by-One in Morphology Processing
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/imagemagickto a version that resolves this vulnerability.Fixed in 8:6.9.11.60+dfsg-1.6+deb12u12 - Upgrade
Upgrade
debian/imagemagickto a version that resolves this vulnerability.Fixed in 8:7.1.1.43+dfsg1-1+deb13u11 - Upgrade
Upgrade
debian/imagemagickto a version that resolves this vulnerability.Fixed in 8:7.1.2.19+dfsg1-1 - Upgrade
Upgrade
debian/imagemagickto a version that resolves this vulnerability.Fixed in 8:6.9.11.60+dfsg-1.6+deb12u15Fixed in 8:7.1.1.43+dfsg1-1+deb13u12Fixed in 8:7.1.1.43+dfsg1-1+deb13u14Fixed in 8:7.1.2.34+dfsg1-1Fixed in 8:7.1.2.35+dfsg1-2 - Upgrade
Upgrade
ImageMagickto a version that resolves this vulnerability.Fixed in 7.1.2-19
Event History
Frequently Asked Questions
What is the severity of CVE-2026-56361?
The severity of CVE-2026-56361 is medium with a CVSS score of 4.8.
How can I fix CVE-2026-56361?
To fix CVE-2026-56361, update ImageMagick to version 7.1.2-19 or later.
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.
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.
Who is affected by CVE-2026-56361?
Users of ImageMagick versions prior to 7.1.2-19 are affected by CVE-2026-56361.