Description
There is an invalid free in the MagickFree function in magick/memory.c in GraphicsMagick 1.3.26 that will lead to a remote denial of service attack.
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-15 | — |
| Debian 13 | graphicsmagick | 1.3.26-15 | — |
| Debian 12 | graphicsmagick | 1.3.26-15 | — |
| Debian 9 | graphicsmagick | 1.3.30+hg15796-1~deb9u1 | DSA-4321-1 |
| Debian 8 | graphicsmagick | 1.3.20-3+deb8u4 | DLA-1456-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+deb7u11 | DLA-1140-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | graphicsmagick | 1.3.23-1ubuntu0.3 | USN-4222-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+esm3 | — |
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 4
- USN-4222-1 graphicsmagick vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-4321-1 graphicsmagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1456-1 graphicsmagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1140-1 graphicsmagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1484196
- http://openwall.com/lists/oss-security/2017/08/29/4
- 100518 vdb-entry
- http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/3db9449e3d6a/
- DSA-4321 vendor-advisory
- https://bugs.debian.org/878511
- [debian-lts-announce] 20180803 [SECURITY] [DLA 1456-1] graphicsmagick security update mailing-list
- FEDORA-2019-da4c20882c vendor-advisory
- FEDORA-2019-425a1aa7c9 vendor-advisory
- USN-4222-1 vendor-advisory