Description
The JPEGWarningHandler function in coders/jpeg.c in ImageMagick before 6.7.6-3 allows remote attackers to cause a denial of service (memory consumption) via a JPEG image with a crafted sequence of restart markers.
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.4.0-4 | — |
| Debian 13 | imagemagick | 8:6.7.4.0-4 | — |
| Debian 12 | imagemagick | 8:6.7.4.0-4 | — |
| Debian 6.0 | imagemagick | 8:6.6.0.4-3+squeeze3 | DSA-2462-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | ImageMagick +5 | 6.5.4.7-6.el6_2 | RHSA-2012:0544 |
| RHEL 5 | ImageMagick +4 | 6.2.8.0-15.el5_8 | RHSA-2012:0545 |
Advisories 3
- RHSA-2012:0544 Red Hat Security Advisory: ImageMagick security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2012:0545 Red Hat Security Advisory: ImageMagick security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-2462-1 imagemagick - several Debian Security (DSA / DLA) · Mar 9, 2026
References
- 55035 third-party-advisory
- 49068 third-party-advisory
- imagemagick-jpegwarninghandler-dos(74658) vdb-entry
- openSUSE-SU-2012:0692 vendor-advisory
- 57224 third-party-advisory
- USN-2132-1 vendor-advisory
- DSA-2462 vendor-advisory
- 49063 third-party-advisory
- 52898 vdb-entry
- RHSA-2012:0544 vendor-advisory
- 48974 third-party-advisory
- 49317 third-party-advisory
- http://www.cert.fi/en/reports/2012/vulnerability635606.html
- 81022 vdb-entry
- 1027032 vdb-entry
- http://www.imagemagick.org/discourse-server/viewtopic.php?f=4&t=20629
- RHSA-2012:0545 vendor-advisory