CVE-2026-32259: ImageMagick has a possible stack buffer overflow in sixel encoder

Published Mar 12, 2026
·
Updated

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

7 affected componentsFixes available
ImageMagick ImageMagick<7.1.2-16
ImageMagick ImageMagick<6.9.13-41
ImageMagick ImageMagick<6.9.13-41
ImageMagick ImageMagick>=7.0.0-0<7.1.2-16
alpine/imagemagick>=7.0.0-0<7.1.2.17-r0
7.1.2.17-r0
alpine/imagemagick>=7.0.0-0<7.1.2.17-r0
7.1.2.17-r0
debian/imagemagick
8:6.9.11.60+dfsg-1.6+deb12u118:6.9.11.60+dfsg-1.6+deb12u158:7.1.1.43+dfsg1-1+deb13u128:7.1.1.43+dfsg1-1+deb13u148:7.1.2.34+dfsg1-18:7.1.2.35+dfsg1-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/imagemagick to a version that resolves this vulnerability.

    Fixed in 7.1.2.17-r0
  2. Upgrade

    Upgrade debian/imagemagick to 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
  3. Upgrade

    Upgrade ImageMagick to a version that resolves this vulnerability.

    Fixed in 7.1.2-16
  4. Upgrade

    Upgrade ImageMagick to a version that resolves this vulnerability.

    Fixed in 6.9.13-41

Event History

Mar 12, 2026
CVE Published
via MITRE·07:38 PM
Data Sourced
via MITRE·07:38 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·08:16 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203