Description
coders/wpg.c in GraphicsMagick 1.3.26 allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted file, related to the AcquireCacheNexus function in magick/pixel_cache.c.
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 | graphicsmagick | 1.3.26-19 | — |
| Debian 13 | graphicsmagick | 1.3.26-19 | — |
| Debian 12 | graphicsmagick | 1.3.26-19 | — |
| Debian 9 | graphicsmagick | 1.3.30+hg15796-1~deb9u1 | DSA-4321-1 |
| Debian 8 | graphicsmagick | 1.3.20-3+deb8u3 | DLA-1401-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | graphicsmagick | 1.3.16-1.1+deb7u14 | DLA-1168-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | graphicsmagick | 1.3.23-1ubuntu0.5 | USN-4248-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | graphicsmagick | 1.3.18-1ubuntu3.1+esm5 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP3 | ImageMagick | 6.8.8.1-71.17.1 | SUSE-SU-2017:3388-1 |
| SLES 12 SP2 | ImageMagick | 6.8.8.1-71.17.1 | SUSE-SU-2017:3388-1 |
| SLES 11 SP4 | GraphicsMagick | 1.2.5-4.78.19.1 | SUSE-SU-2018:0413-1, SUSE-SU-2017:3435-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Studio Onsite 1.3 | GraphicsMagick | 1.2.5-4.78.19.1 | SUSE-SU-2018:0413-1, SUSE-SU-2017:3435-1 |
| SLES for SAP 12 SP3 | ImageMagick | 6.8.8.1-71.17.1 | SUSE-SU-2017:3388-1 |
| SLES for SAP 12 SP2 | ImageMagick | 6.8.8.1-71.17.1 | SUSE-SU-2017:3388-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | graphicsmagick | 1.3.27-r0 | — |
| Alpine v3.23 | graphicsmagick | 1.3.27-r0 | — |
| Alpine v3.22 | graphicsmagick | 1.3.27-r0 | — |
| Alpine v3.21 | graphicsmagick | 1.3.27-r0 | — |
| Alpine v3.20 | graphicsmagick | 1.3.27-r0 | — |
Show 10 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | graphicsmagick | 1.3.27-r0 | — |
| Alpine v3.18 | graphicsmagick | 1.3.27-r0 | — |
| Alpine v3.17 | graphicsmagick | 1.3.27-r0 | — |
| Alpine v3.16 | graphicsmagick | 1.3.27-r0 | — |
| Alpine v3.15 | graphicsmagick | 1.3.27-r0 | — |
| Alpine v3.14 | graphicsmagick | 1.3.27-r0 | — |
| Alpine v3.13 | graphicsmagick | 1.3.27-r0 | — |
| Alpine v3.12 | graphicsmagick | 1.3.27-r0 | — |
| Alpine v3.11 | graphicsmagick | 1.3.27-r0 | — |
| Alpine v3.10 | graphicsmagick | 1.3.27-r0 | — |
Advisories 7
- USN-4248-1 graphicsmagick vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4321-1 graphicsmagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1168-1 graphicsmagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1401-1 graphicsmagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2017:3388-1 Security update for ImageMagick SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:3435-1 Security update for GraphicsMagick SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:0413-1 Security update for GraphicsMagick SUSE / openSUSE Security Updates · Feb 4, 2026
References
- http://hg.code.sf.net/p/graphicsmagick/code/rev/1b9e64a8901e
- http://hg.code.sf.net/p/graphicsmagick/code/rev/2b7c826d36af
- 101795 vdb-entry
- http://hg.code.sf.net/p/graphicsmagick/code/rev/fcd3ed3394f6
- [debian-lts-announce] 20171110 [SECURITY] [DLA 1168-1] graphicsmagick security update mailing-list
- DSA-4321 vendor-advisory
- [debian-lts-announce] 20180627 [SECURITY] [DLA 1401-1] graphicsmagick security update mailing-list
- http://hg.code.sf.net/p/graphicsmagick/code/rev/135bdcb88b8d
- https://sourceforge.net/p/graphicsmagick/bugs/450/
- http://hg.code.sf.net/p/graphicsmagick/code/rev/75245a215fff
- http://hg.code.sf.net/p/graphicsmagick/code/rev/2a21cda3145b
- http://hg.code.sf.net/p/graphicsmagick/code/rev/3dc7b4e3779d
- http://hg.code.sf.net/p/graphicsmagick/code/rev/e8086faa52d0
- USN-4248-1 vendor-advisory