Description
In ImageMagick before 6.9.9-1 and 7.x before 7.0.6-2, the ReadOnePNGImage function in coders/png.c allows remote attackers to cause a denial of service (application hang in LockSemaphoreInfo) via a PNG file with a width equal to MAGICK_WIDTH_LIMIT.
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.9.7.4+dfsg-15 | — |
| Debian 13 | imagemagick | 8:6.9.7.4+dfsg-15 | — |
| Debian 12 | imagemagick | 8:6.9.7.4+dfsg-15 | — |
| Debian 9 | imagemagick | 8:6.9.7.4+dfsg-11+deb9u2 | DSA-4019-1 |
Advisories 3
- DSA-4019-1 imagemagick - security update Debian Security (DSA / DLA) · Mar 9, 2026
- WID-SEC-2024-0172 ImageMagick: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Aug 22, 2024
- WID-SEC-2024-0171 ImageMagick: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 19, 2024
References
- https://github.com/ImageMagick/ImageMagick/issues/596
- GLSA-201711-07 vendor-advisory
- DSA-4019 vendor-advisory
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870111