Description
The GetEXIFProperty function in magick/property.c in ImageMagick before 6.7.6-3 allows remote attackers to cause a denial of service (crash) via a zero value in the component count of an EXIF XResolution tag in a JPEG file, which triggers an out-of-bounds read.
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 |
Advisories 2
- RHSA-2012:0544 Red Hat Security Advisory: ImageMagick security 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
- openSUSE-SU-2012:0692 vendor-advisory
- 49043 third-party-advisory
- DSA-2462 vendor-advisory
- 49063 third-party-advisory
- imagemagick-jpegexif-dos(74657) vdb-entry
- 48679 third-party-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-0259
- 52898 vdb-entry
- RHSA-2012:0544 vendor-advisory
- USN-1435-1 vendor-advisory
- 48974 third-party-advisory
- 81021 vdb-entry
- 49317 third-party-advisory
- http://www.cert.fi/en/reports/2012/vulnerability635606.html
- 1027032 vdb-entry
- http://www.imagemagick.org/discourse-server/viewtopic.php?f=4&t=20629