Description
Integer overflow in the SyncImageProfiles function in profile.c in ImageMagick 6.7.5-8 and earlier allows remote attackers to cause a denial of service (infinite loop) via crafted IOP tag offsets in the IFD in an image. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-0248.
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.6.9.7-7 | — |
| Debian 13 | imagemagick | 8:6.6.9.7-7 | — |
| Debian 12 | imagemagick | 8:6.6.9.7-7 | — |
| Debian 6.0 | imagemagick | 8:6.6.0.4-3+squeeze3 | DSA-2462-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ImageMagick | 6.9.6.6-1.1 | openSUSE-SU-2024:10040-1 |
Advisories 2
- DSA-2462-1 imagemagick - several Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10040-1 ImageMagick-6.9.6.6-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- openSUSE-SU-2012:0692 vendor-advisory
- 49043 third-party-advisory
- DSA-2462 vendor-advisory
- 51957 vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-1186
- imagemagick-syncimageprofiles-dos(76139) vdb-entry
- [oss-security] 20120319 Subject: CVE-2012-1185 / CVE-2012-1186 assignment notification - incomplete ImageMagick fixes for CVE-2012-0247 / CVE-2012-0248 mailing-list
- http://trac.imagemagick.org/changeset/6998/ImageMagick/branches/ImageMagick-6.7.5/magick/profile.c
- 47926 third-party-advisory
- USN-1435-1 vendor-advisory
- 48974 third-party-advisory
- 49317 third-party-advisory
- 80555 vdb-entry