Description
GraphicsMagick through 1.3.35 has a heap-based buffer overflow in ReadMNGImage in coders/png.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+really1.3.35-2 | — |
| Debian 13 | graphicsmagick | 1.4+really1.3.35-2 | — |
| Debian 12 | graphicsmagick | 1.4+really1.3.35-2 | — |
| Debian 9 | graphicsmagick | 1.3.30+hg15796-1~deb9u5 | DLA-2902-1 |
| Debian 8 | graphicsmagick | 1.3.20-3+deb8u11 | DLA-2236-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | graphicsmagick | 1.4+really1.3.35-1ubuntu0.1 | USN-5974-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| 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-5974-1, USN-5190-1 |
| Ubuntu Pro 16.04 LTS | graphicsmagick | 1.3.23-1ubuntu0.6+esm1 | USN-5974-1, USN-5190-1 |
| Ubuntu Pro 14.04 LTS | graphicsmagick | 1.3.18-1ubuntu3.1+esm7 | USN-5974-1, USN-5190-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP1 | GraphicsMagick | 1.3.29-bp151.5.15.1 | openSUSE-SU-2020:0788-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | GraphicsMagick | 1.3.36-1.7 | openSUSE-SU-2024:10596-1 |
| openSUSE Leap 15.1 | GraphicsMagick | 1.3.29-lp151.4.20.1 | openSUSE-SU-2020:0779-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | graphicsmagick | 1.3.35-r2 | — |
| Alpine v3.23 | graphicsmagick | 1.3.35-r2 | — |
| Alpine v3.22 | graphicsmagick | 1.3.35-r2 | — |
| Alpine v3.21 | graphicsmagick | 1.3.35-r2 | — |
| Alpine v3.20 | graphicsmagick | 1.3.35-r2 | — |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | graphicsmagick | 1.3.35-r2 | — |
| Alpine v3.18 | graphicsmagick | 1.3.35-r2 | — |
| Alpine v3.17 | graphicsmagick | 1.3.35-r2 | — |
| Alpine v3.16 | graphicsmagick | 1.3.35-r2 | — |
| Alpine v3.15 | graphicsmagick | 1.3.35-r2 | — |
| Alpine v3.14 | graphicsmagick | 1.3.35-r2 | — |
| Alpine v3.13 | graphicsmagick | 1.3.35-r2 | — |
| Alpine v3.12 | graphicsmagick | 1.3.35-r2 | — |
Advisories 8
- USN-5974-1 graphicsmagick vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- USN-5190-1 graphicsmagick vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- DLA-2236-1 graphicsmagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2902-1 graphicsmagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2020:0788-1 Security update for GraphicsMagick SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:0779-1 Security update for GraphicsMagick SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10596-1 GraphicsMagick-1.3.36-1.7 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2022-1571 GraphicsMagick: Schwachstelle ermöglicht Ausführen von beliebigem Programmcode mit Benutzerrechten BSI CERT-Bund (WID) · Mar 27, 2023
References
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19025
- [debian-lts-announce] 20200607 [SECURITY] [DLA 2236-1] graphicsmagick security update mailing-list
- openSUSE-SU-2020:0779 vendor-advisory
- openSUSE-SU-2020:0788 vendor-advisory
- GLSA-202209-19 vendor-advisory