Description
Use-after-free vulnerability in the ReadPWPImage function in coders/pwp.c in ImageMagick 6.9.5-5 allows remote attackers to cause a denial of service (application crash) or have other unspecified impact via a crafted 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 |
| Debian 7 | imagemagick | 8:6.7.7.10-5+deb7u8 | DLA-731-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | imagemagick | 8:6.8.9.9-7ubuntu5.2 | — |
| Ubuntu 14.04 LTS | imagemagick | 8:6.7.7.10-6ubuntu3.2 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | ImageMagick | 6.8.8.1-59.1 | SUSE-SU-2017:0529-1 |
| SLES 12 SP1 | ImageMagick | 6.8.8.1-59.1 | SUSE-SU-2017:0529-1 |
| SLES 11 SP4 | GraphicsMagick | 1.2.5-4.62.1 | SUSE-SU-2017:0518-1 |
| SLES 11 SP4 | ImageMagick | 6.4.3.6-7.65.1 | SUSE-SU-2017:0586-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Studio Onsite 1.3 | GraphicsMagick | 1.2.5-4.62.1 | SUSE-SU-2017:0518-1 |
| SLES for SAP 12 SP2 | ImageMagick | 6.8.8.1-59.1 | SUSE-SU-2017:0529-1 |
| SLES for SAP 12 SP1 | ImageMagick | 6.8.8.1-59.1 | SUSE-SU-2017:0529-1 |
| SLES for SAP 11 SP4 | ImageMagick | 6.4.3.6-7.65.1 | SUSE-SU-2017:0586-1 |
Advisories 5
- DSA-3652-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-731-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2017:0518-1 Security update for GraphicsMagick SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0529-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:0586-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://github.com/ImageMagick/ImageMagick/commit/ecc03a2518c2b7dd375fde3a040fdae0bdf6a521
- 95187 vdb-entry
- openSUSE-SU-2017:0391 vendor-advisory
- https://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=30245
- openSUSE-SU-2017:0399 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1410456
- [oss-security] 20161226 Re: CVE requests for various ImageMagick issues mailing-list
- https://github.com/ImageMagick/ImageMagick/commit/548701354191a3dda5cffc6d415374b35b01d0b9