CVE-2026-107209: ImageMagick: Use-After-Free in RSVG decoder that is build without cairo support

Published Oct 7, 2026
·
Updated

ImageMagick is free and open-source software used for editing and manipulating digital images. Prior to 7.1.2-30 and 6.9.13-55, when ImageMagick is built without Cairo support, a crafted RSVG image that reaches a resource limit can cause the RSVG decoder to free image state twice and then use freed memory, crashing the process. This issue is fixed in versions 7.1.2-30 and 6.9.13-55.

Affected Software

7 affected componentsFixes available
ImageMagick ImageMagick<7.1.2-30, <6.9.13-55
ImageMagick ImageMagick<6.9.13-55
ImageMagick ImageMagick>=7.0.0-0<7.1.2-30
debian/imagemagick<8:6.9.11.60+dfsg-1.6+deb12u14
8:6.9.11.60+dfsg-1.6+deb12u14
debian/imagemagick<8:7.1.1.43+dfsg1-1+deb13u13
8:7.1.1.43+dfsg1-1+deb13u13
debian/imagemagick<8:7.1.2.31+dfsg1-1
8:7.1.2.31+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+deb12u14
  2. Upgrade

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

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

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

    Fixed in 8:7.1.2.31+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
  5. Upgrade

    Upgrade ImageMagick to a version that resolves this vulnerability.

    Fixed in 7.1.2-30
  6. Upgrade

    Upgrade ImageMagick to a version that resolves this vulnerability.

    Fixed in 6.9.13-55

Event History

Oct 7, 2026
CVE Published
via MITRE·03:58 PM
Data Sourced
via MITRE·03:58 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·04:17 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

Which deployments are affected?

Affected deployments use ImageMagick versions earlier than 7.1.2-30 or 6.9.13-55 and were built without Cairo support. Builds with Cairo support are not described as affected.

2

What is required to trigger the issue?

An attacker needs to get a crafted RSVG image processed by the vulnerable decoder. The image must reach a resource limit, which can cause image state to be freed twice and then accessed after free.

3

What is the practical impact?

Successful triggering can crash the ImageMagick process, resulting in a denial of service. The provided data does not describe confidentiality or integrity impact.

4

What versions fix the vulnerability?

Upgrade ImageMagick to version 7.1.2-30 or later, or 6.9.13-55 or later.

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