Description
In GraphicsMagick 1.4 snapshot-20181209 Q8 on 32-bit platforms, there is a heap-based buffer over-read in the ReadBMPImage function of bmp.c, which allows attackers to cause a denial of service via a crafted bmp image file. This only affects GraphicsMagick installations with customized BMP limits.
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~hg15880-1 | — |
| Debian 13 | graphicsmagick | 1.4~hg15880-1 | — |
| Debian 12 | graphicsmagick | 1.4~hg15880-1 | — |
| Debian 8 | graphicsmagick | 1.3.20-3+deb8u5 | DLA-1619-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | graphicsmagick | 1.3.28-2ubuntu0.1 | USN-4207-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | graphicsmagick | No fix yet | — |
| Ubuntu Pro 14.04 LTS | graphicsmagick | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 SP4 | GraphicsMagick | 1.2.5-78.78.1 | SUSE-SU-2019:13923-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Studio Onsite 1.3 | GraphicsMagick | 1.2.5-78.78.1 | SUSE-SU-2019:13923-1 |
Advisories 4
- USN-4207-1 graphicsmagick vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DLA-1619-1 graphicsmagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2019:13923-1 Security update for GraphicsMagick SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-0767 GraphicsMagick: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Mar 27, 2023
References
- http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/648e3977a293
- https://sourceforge.net/p/graphicsmagick/bugs/582/
- 106229 vdb-entry
- [debian-lts-announce] 20181227 [SECURITY] [DLA 1619-1] graphicsmagick security update mailing-list
- USN-4207-1 vendor-advisory
- DSA-4640 vendor-advisory