Description
In GraphicsMagick 1.4 snapshot-20190403 Q8, there is a use-after-free in ThrowException and ThrowLoggedException of magick/error.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.4~hg16039-1 | — |
| Debian 13 | graphicsmagick | 1.4~hg16039-1 | — |
| Debian 12 | graphicsmagick | 1.4~hg16039-1 | — |
| Debian 10 | graphicsmagick | 1.4~hg15978-1+deb10u1 | DSA-4640-1 |
| Debian 9 | graphicsmagick | 1.3.30+hg15796-1~deb9u3 | DSA-4640-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 8 | graphicsmagick | 1.3.20-3+deb8u8 | DLA-2084-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | graphicsmagick | 1.4+really1.3.35-1ubuntu0.1~esm1 | USN-5190-1 |
| Ubuntu Pro 18.04 LTS | graphicsmagick | 1.3.28-2ubuntu0.1+esm1 | USN-5190-1 |
| Ubuntu Pro 16.04 LTS | graphicsmagick | 1.3.23-1ubuntu0.6+esm1 | USN-5190-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+esm7 | USN-5190-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP1 | GraphicsMagick | 1.3.29-bp151.5.9.1 | openSUSE-SU-2020:0145-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.1 | GraphicsMagick | 1.3.29-lp151.4.14.1 | openSUSE-SU-2020:0055-1 |
Advisories 6
- USN-5190-1 graphicsmagick vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- DSA-4640-1 graphicsmagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2084-1 graphicsmagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2020:0145-1 Security update for GraphicsMagick SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:0055-1 Security update for GraphicsMagick SUSE / openSUSE Security Updates · May 7, 2025
- WID-SEC-2023-2131 ImageMagick / GraphicsMagick: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Oct 3, 2024
References
- https://sourceforge.net/p/graphicsmagick/bugs/603/
- http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/44ab7f6c20b4
- openSUSE-SU-2020:0055 vendor-advisory
- openSUSE-SU-2020:0145 vendor-advisory
- [debian-lts-announce] 20200129 [SECURITY] [DLA 2084-1] graphicsmagick security update mailing-list
- DSA-4640 vendor-advisory