Description
Off-by-one error in coders/wpg.c in ImageMagick allows remote attackers to have unspecified impact via vectors related to a string copy.
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.7.4+dfsg-1 | — |
| Debian 13 | imagemagick | 8:6.9.7.4+dfsg-1 | — |
| Debian 12 | imagemagick | 8:6.9.7.4+dfsg-1 | — |
| Debian 8 | imagemagick | 8:6.8.9.9-5+deb8u7 | DSA-3799-1 |
| Debian 7 | imagemagick | 8:6.7.7.10-5+deb7u11 | DLA-807-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | imagemagick | 8:6.8.9.9-7ubuntu5.5 | USN-3222-1 |
| Ubuntu 14.04 LTS | imagemagick | 8:6.7.7.10-6ubuntu3.5 | USN-3222-1 |
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 | ImageMagick | 6.4.3.6-7.65.1 | SUSE-SU-2017:0586-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
- USN-3222-1 imagemagick vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-807-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3799-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 9, 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
- [oss-security] 20170116 CVE Request: Imagemagick: various flaws: memory corruption, out-of-bounds writes, memory leaks, double-frees, off-by-one errors mailing-list
- GLSA-201702-09 vendor-advisory
- https://github.com/ImageMagick/ImageMagick/commit/d23beebe7b1179fb75db1e85fbca3100e49593d9
- DSA-3799 vendor-advisory
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851483
- [oss-security] 20170116 Re: CVE Request: Imagemagick: various flaws: memory corruption, out-of-bounds writes, memory leaks, double-frees, off-by-one errors mailing-list
- 95749 vdb-entry