CVE-2026-107209 ImageMagick: Use-After-Free in RSVG decoder that is build without cairo support
A crafted RSVG image can cause a use-after-free crash in ImageMagick when built without Cairo support, leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-107209?
CVE-2026-107209 is a medium-severity use after free vulnerability in Imagemagick Imagemagick, published on 7 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2026-107209?
It affects 1 product.
Products include Imagemagick Imagemagick.
How do I fix CVE-2026-107209?
Upgrade to a fixed version.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2026-107209 being exploited?
There is no known exploitation of CVE-2026-107209 in the wild and no public exploit code.
Other vulnerabilities in Imagemagick Imagemagick
Sources
Also known as DEBIAN-CVE-2026-107209, ECHO-8ea0-bec4-5690, MINI-9w29-39r8-g2v9, UBUNTU-CVE-2026-107209.