Description
The Magick_png_malloc function in coders/png.c in GraphicsMagick 6.7.8-6 does not use the proper variable type for the allocation size, which might allow remote attackers to cause a denial of service (crash) via a crafted PNG file that triggers incorrect memory allocation.
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.16-1.1 | — |
| Debian 13 | graphicsmagick | 1.3.16-1.1 | — |
| Debian 12 | graphicsmagick | 1.3.16-1.1 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | GraphicsMagick | 1.3.25-1.1 | openSUSE-SU-2024:10505-1 |
Advisories 1
- openSUSE-SU-2024:10505-1 GraphicsMagick-1.3.25-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- MDVSA-2012:165 vendor-advisory
- http://graphicsmagick.hg.sourceforge.net/hgweb/graphicsmagick/graphicsmagick/rev/d6e469d02cd2
- 50090 third-party-advisory
- graphicsmagick-png-dos(77259) vdb-entry
- openSUSE-SU-2013:0536 vendor-advisory
- 54716 vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=844105