Description
In GraphicsMagick 1.4 snapshot-20171217 Q8, there is a stack-based buffer over-read in WriteWEBPImage in coders/webp.c, related to an incompatibility with libwebp versions, 0.5.0 and later, that use a different structure type.
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.27-3 | — |
| Debian 13 | graphicsmagick | 1.3.27-3 | — |
| Debian 12 | graphicsmagick | 1.3.27-3 | — |
| Debian 9 | graphicsmagick | 1.3.30+hg15796-1~deb9u1 | DSA-4321-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | graphicsmagick | 1.3.23-1ubuntu0.6 | USN-4266-1 |
Advisories 2
- USN-4266-1 graphicsmagick vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4321-1 graphicsmagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- DSA-4321 vendor-advisory
- https://sourceforge.net/p/graphicsmagick/bugs/536/
- http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/6dda3c33f35f
- USN-4266-1 vendor-advisory