Description
The Magick_png_malloc function in coders/png.c in ImageMagick 6.7.8 and earlier 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 | imagemagick | 8:6.7.7.10-3 | — |
| Debian 13 | imagemagick | 8:6.7.7.10-3 | — |
| Debian 12 | imagemagick | 8:6.7.7.10-3 | — |
| Debian 6.0 | imagemagick | 8:6.6.0.4-3+squeeze6 | DLA-242-1 |
Advisories 1
- DLA-242-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- 54714 vdb-entry
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2012-0243
- imagemagick-png-dos(77260) vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=844101
- MDVSA-2013:092 vendor-advisory
- 1027321 vdb-entry
- MDVSA-2012:160 vendor-advisory
- openSUSE-SU-2013:0535 vendor-advisory
- 50398 third-party-advisory
- 50091 third-party-advisory
- USN-1544-1 vendor-advisory