CVE-2012-1186 json
Integer overflow in the SyncImageProfiles function in profile.c in ImageMagick 6.7.5-8 and earlier allows remote attackers to cause a denia…
published 2012-06-05 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-1215
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- imagemagick Debian 14, Debian 13, Debian 12 8:6.6.9.7-7
debian advisories DEBIAN-CVE-2012-1186
- ImageMagick openSUSE Tumbleweed 6.9.6.6-1.1
opensuse advisories openSUSE-SU-2024:10040-1
- securityfocus.com/bid/51957 advisory
- openwall.com/lists/oss-security/2012/03/19/5 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-1186 updated cvss 4.3
ImageMagick: Incorrect fix for CVE-2012-0248
-
Red Hat Enterprise Linux 5 ImageMagick Red Hat Enterprise Linux 6 ImageMagick, ImageMagick-c++, ImageMagick-perlnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.88% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-835 Loop with Unreachable Exit Condition
References
-
securityfocus.com
/bid/51957
vdb-entry, patch, third-party-advisory
-
openwall.com
/lists/oss-security/2012/03/19/5
mailing-list, patch, third-party-advisory
-
lists.opensuse.org
/opensuse-updates/2012-06/msg00001.html
vendor-advisory, mailing-list, third-party-advisory
-
debian.org
/security/2012/dsa-2462
vendor-advisory, third-party-advisory
-
ubuntu.com
/usn/usn-1435-1
vendor-advisory, third-party-advisory
-
secunia.com
/advisories/49043
third-party-advisory, broken-link
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2012-1186
issue-tracking, third-party-advisory
-
exchange.xforce.ibmcloud.com
/vulnerabilities/76139
vdb-entry, third-party-advisory
-
trac.imagemagick.org
/changeset/6998/ImageMagick/branches/ImageMagick-6.7.5/magick/profile.c
broken-link
-
secunia.com
/advisories/47926
third-party-advisory, broken-link
-
secunia.com
/advisories/48974
third-party-advisory, broken-link
-
secunia.com
/advisories/49317
third-party-advisory, broken-link
-
osvdb.org
/80555
vdb-entry, broken-link
Sources
- CVE List CVE-2012-1186
- NVD CVE-2012-1186
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.