CVE-2026-32259: ImageMagick has a possible stack buffer overflow in sixel encoder
ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-16 and 6.9.13-41, when a memory allocation fails in the sixel encoder it would be possible to write past the end of a buffer on the stack. This vulnerability is fixed in 7.1.2-16 and 6.9.13-41.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
alpine/imagemagickto a version that resolves this vulnerability.Fixed in 7.1.2.17-r0 - Upgrade
Upgrade
debian/imagemagickto a version that resolves this vulnerability.Fixed in 8:6.9.11.60+dfsg-1.6+deb12u11Fixed 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-16 - Upgrade
Upgrade
ImageMagickto a version that resolves this vulnerability.Fixed in 6.9.13-41
Event History
Frequently Asked Questions
What is the severity of CVE-2026-32259?
CVE-2026-32259 has been classified as a high severity vulnerability due to the potential for stack buffer overflow.
How do I fix CVE-2026-32259?
To fix CVE-2026-32259, upgrade ImageMagick to version 7.1.2-16 or 6.9.13-41 or later.
What impact does CVE-2026-32259 have on ImageMagick?
CVE-2026-32259 may allow an attacker to execute arbitrary code on systems using affected versions of ImageMagick.
What versions of ImageMagick are affected by CVE-2026-32259?
CVE-2026-32259 affects versions of ImageMagick prior to 7.1.2-16 and 6.9.13-41.
How can I determine if my installation of ImageMagick is vulnerable to CVE-2026-32259?
You can determine if your ImageMagick installation is vulnerable by checking the installed version against the affected versions listed under CVE-2026-32259.