CVE-2026-109267: ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 Stack Overflow in MSL Decoder

Published Oct 12, 2026
·
Updated

ImageMagick before 6.9.13-57 and 7.x before 7.1.2-32 contains a stack overflow in the MSL decoder caused by an incorrect depth check that fails to limit recursion. Attackers can supply a set of crafted MSL images that exhaust the stack when one of them is read, crashing the process and causing a denial of service.

Affected Software

15 affected componentsFixes available
ImageMagick ImageMagick<6.9.13-57, <7.1.2-32
ImageMagick ImageMagick<6.9.13-57
ImageMagick ImageMagick>=7.0.0-0<7.1.2-32
ubuntu/imagemagick*
ubuntu/imagemagick*
ubuntu/imagemagick*
ubuntu/imagemagick*
ubuntu/imagemagick*
ubuntu/imagemagick*
ubuntu/imagemagick*
ubuntu/imagemagick*
debian/imagemagick<8:6.9.11.60+dfsg-1.6+deb12u15
8:6.9.11.60+dfsg-1.6+deb12u15
debian/imagemagick<8:7.1.1.43+dfsg1-1+deb13u14
8:7.1.1.43+dfsg1-1+deb13u14
debian/imagemagick<8:7.1.2.33+dfsg1-1
8:7.1.2.33+dfsg1-1
debian/imagemagick<=8:6.9.11.60+dfsg-1.6+deb12u11, <=8:7.1.1.43+dfsg1-1+deb13u12
8:6.9.11.60+dfsg-1.6+deb12u158: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 debian/imagemagick to a version that resolves this vulnerability.

    Fixed in 8:6.9.11.60+dfsg-1.6+deb12u15
  2. Upgrade

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

    Fixed in 8:7.1.1.43+dfsg1-1+deb13u14
  3. Upgrade

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

    Fixed in 8:7.1.2.33+dfsg1-1
  4. Upgrade

    Upgrade debian/imagemagick to 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+deb13u14Fixed in 8:7.1.2.34+dfsg1-1Fixed in 8:7.1.2.35+dfsg1-2

Event History

Oct 12, 2026
CVE Published
via MITRE·04:04 PM
Data Sourced
via MITRE·04:04 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Nov 5, 2026
Data Sourced
via OSV·11:45 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments using ImageMagick versions before 6.9.13-57 or ImageMagick 7.x before 7.1.2-32 are affected when they read attacker-controlled MSL images.

2

What does an attacker need to exploit the flaw?

An attacker needs to provide a crafted set of MSL images and have one of those images read by the vulnerable MSL decoder. No privileges or user interaction are required according to the supplied vector.

3

What is the expected impact of successful exploitation?

The crafted input can exhaust the process stack and crash the process, resulting in denial of service. The provided vector indicates no confidentiality or integrity impact.

4

What should be done if the affected decoder cannot immediately be patched?

Avoid reading untrusted MSL images until ImageMagick can be updated to 6.9.13-57 or later in the 6.x line, or 7.1.2-32 or later in the 7.x line.

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