CVE-2012-1185
Multiple integer overflows in (1) magick/profile.c or (2) magick/property.c in ImageMagick 6.7.5...
Multiple integer overflows in (1) magick/profile.c or (2) magick/property.c in ImageMagick 6.7.5 and earlier allow remote attackers to cause a denial of service (memory corruption) and possibly execute arbitrary code via crafted offset value in the ResolutionUnit tag in the EXIF IFD0 of an image. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-0247.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
Multiple integer overflows in (1) magick/profile.c or (2) magick/property.c in ImageMagick 6.7.5 and earlier allow remote attackers to cause a denial of service (memory corruption) and possibly execute arbitrary code via crafted offset value in the ResolutionUnit tag in the EXIF IFD0 of an image. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-0247.
- Record
CVE-2012-1185- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-190
- Updated
- 2026-11-02
CVE List No score
Multiple integer overflows in (1) magick/profile.c or (2) magick/property.c in ImageMagick 6.7.5 and earlier allow remote attackers to cause a denial of service (memory corruption) and possibly execute arbitrary code via crafted offset value in the ResolutionUnit tag in the EXIF IFD0 of an image. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-0247.
- Record
CVE-2012-1185- Updated
- 2026-11-02
EUVDEUVD-2012-1214 No score
Multiple integer overflows in (1) magick/profile.c or (2) magick/property.c in ImageMagick 6.7.5 and earlier allow remote attackers to cause a denial of service (memory corruption) and possibly execute arbitrary code via crafted offset value in the ResolutionUnit tag in the EXIF IFD0 of an image. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-0247.
- Record
EUVD-2012-1214- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-6j5v-g8wm-9r98
7.8
Multiple integer overflows in (1) magick/profile.c or (2) magick/property.c in ImageMagick 6.7.5...
Multiple integer overflows in (1) magick/profile.c or (2) magick/property.c in ImageMagick 6.7.5 and earlier allow remote attackers to cause a denial of service (memory corruption) and possibly execute arbitrary code via crafted offset value in the ResolutionUnit tag in the EXIF IFD0 of an image. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-0247.
- Record
GHSA-6j5v-g8wm-9r98- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-190
- Updated
- 2026-11-02
OSV
7.8
Multiple integer overflows in (1) magick/profile.c or (2) magick/property.c in ImageMagick 6.7.5 and earlier allow remote attackers to cause a denial of service (memory corruption) and possibly execute arbitrary code via crafted offset value in the ResolutionUnit tag in the EXIF IFD0 of an image. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-0247.
- Record
CVE-2012-1185- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2012-1185
7.8
Multiple integer overflows in (1) magick/profile.c or (2) magick/property.c in ImageMagick 6.7.5 and earlier allow remote attackers to cause a denial of service (memory corruption) and possibly execute arbitrary code via crafted offset value in the ResolutionUnit tag in the EXIF IFD0 of an image. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-0247.
- Record
DEBIAN-CVE-2012-1185- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10040-1 No score
ImageMagick-6.9.6.6-1.1 on GA media
These are all security issues fixed in the ImageMagick-6.9.6.6-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10040-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
imagemagickDebian:12 |
before 8:6.6.9.7-7 | 8:6.6.9.7-7 |
imagemagickDebian:13 |
before 8:6.6.9.7-7 | 8:6.6.9.7-7 |
imagemagickDebian:14 |
before 8:6.6.9.7-7 | 8:6.6.9.7-7 |
imagemagickDebian:6.0 |
before 8:6.6.0.4-3+squeeze3, plus listed versions 8:6.6.0.4-38:6.6.0.4-3+squeeze18:6.6.0.4-3+squeeze2 |
8:6.6.0.4-3+squeeze3 |
ImageMagickopenSUSE:Tumbleweed |
before 6.9.6.6-1.1 | 6.9.6.6-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2012-1185 is a high vulnerability (CVSS 7.8) in Imagemagick, published April 29, 2012. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 27.9%, the 98th percentile. Fixed in imagemagick 8:6.6.9.7-7.
References
osvdb.org/80556
lists.opensuse.org/opensuse-updates/2012-06/msg00001.html
bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-1185
secunia.com/advisories/49043
debian.org/security/2012/dsa-2462
securityfocus.com/bid/51957
Show 21 moreShow less
openwall.com/lists/oss-security/2012/03/19/5
trac.imagemagick.org/changeset/6998/ImageMagick/branches/ImageMagick-6.7.5/magick/profile.c
trac.imagemagick.org/changeset/6998/ImageMagick/branches/ImageMagick-6.7.5/magick/property.c
secunia.com/advisories/47926
ubuntu.com/usn/usn-1435-1
exchange.xforce.ibmcloud.com/vulnerabilities/76140
secunia.com/advisories/48974
secunia.com/advisories/49317
nvd.nist.gov/vuln/detail/CVE-2012-1185
github.com/advisories/GHSA-6j5v-g8wm-9r98
security-tracker.debian.org/tracker/CVE-2012-1185
suse.com/security/cve/CVE-2012-0247
suse.com/security/cve/CVE-2012-0248
suse.com/security/cve/CVE-2012-1185
suse.com/security/cve/CVE-2012-1186
suse.com/security/cve/CVE-2016-3714
suse.com/security/cve/CVE-2016-3715
suse.com/security/cve/CVE-2016-3716
suse.com/security/cve/CVE-2016-3717
suse.com/security/cve/CVE-2016-3718
suse.com/security/cve/CVE-2016-5118