Description
In GraphicsMagick 1.4 snapshot-20190322 Q8, there is a stack-based buffer overflow in the function SVGStartElement of coders/svg.c, which allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a quoted font family value.
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~hg15968-1 | — |
| Debian 13 | graphicsmagick | 1.4~hg15968-1 | — |
| Debian 12 | graphicsmagick | 1.4~hg15968-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | graphicsmagick | 1.3.28-2ubuntu0.1 | USN-4207-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 | GraphicsMagick | 1.3.29-bp150.2.18.1 | openSUSE-SU-2019:1295-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.0 | GraphicsMagick | 1.3.29-lp150.3.25.1 | openSUSE-SU-2019:1272-1 |
Advisories 4
- USN-4207-1 graphicsmagick vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- openSUSE-SU-2019:1295-1 Security update for GraphicsMagick SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:1272-1 Security update for GraphicsMagick SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-0766 GraphicsMagick: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 27, 2023
References
- https://sourceforge.net/p/graphicsmagick/bugs/600/
- http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/b6fb77d7d54d
- openSUSE-SU-2019:1272 vendor-advisory
- openSUSE-SU-2019:1295 vendor-advisory
- USN-4207-1 vendor-advisory
- DSA-4640 vendor-advisory