Description
Memory leak in the NewXMLTree function in magick/xml-tree.c in ImageMagick before 6.9.4-7 allows remote attackers to cause a denial of service (memory consumption) via a crafted XML file.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | imagemagick | 8:6.9.6.2+dfsg-2 | — |
| Debian 13 | imagemagick | 8:6.9.6.2+dfsg-2 | — |
| Debian 12 | imagemagick | 8:6.9.6.2+dfsg-2 | — |
| Debian 8 | imagemagick | 8:6.8.9.9-5+deb8u4 | DSA-3652-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | imagemagick | 8:6.8.9.9-7ubuntu5.2 | — |
Advisories 1
- DSA-3652-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 9, 2026