{"schemaVersion":3,"id":"CVE-2012-1185","aliases":["DEBIAN-CVE-2012-1185"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2012-06-05T22:00:00.000Z","modified":"2024-08-06T18:53:36.063Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true}]},"epss":{"probability":0.2789,"percentile":0.98082,"severity":"high","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":-1.7869999999999997,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.29677},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.2789,"percentile":0.98082}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.29677,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.2789,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.2789,"percentile":0.98082}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-190","name":"Integer Overflow or Wraparound","description":"The product performs a calculation that can\n         produce an integer overflow or wraparound when the logic\n         assumes that the resulting value will always be larger than\n         the original value. This occurs when an integer value is\n         incremented to a value that is too large to store in the\n         associated representation. When this occurs, the value may\n         become a very small or negative number.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/190.html"}],"affected":[{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"10.04","noFixRecorded":false,"fixedIn":null},{"text":"11.04","noFixRecorded":false,"fixedIn":null},{"text":"11.10","noFixRecorded":false,"fixedIn":null},{"text":"12.04","noFixRecorded":false,"fixedIn":null}],"versionsText":"10.04 | 11.04 | 11.10 | 12.04","eol":{"isEol":true,"eolDate":"2013-05-09T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"10.04","label":"10.04 'Lucid Lynx' (LTS)","eolFrom":"2013-05-09T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"10.04.4"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"debian","product":"imagemagick","name":"imagemagick","label":"imagemagick","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/imagemagick","purlType":"deb","versions":[{"text":"< 8:6.6.9.7-7","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 8:6.6.9.7-7","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"6.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"6.0","eol":{"isEol":true,"eolDate":"2016-02-29T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"6","label":"6 (Squeeze)","eolFrom":"2016-02-29T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"6.0.10"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"imagemagick","product":"imagemagick","name":"ImageMagick","label":"imagemagick","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 6.7.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 6.7.5","eol":null,"hubHref":"/vendor/imagemagick/imagemagick"},{"vendor":"opensuse","product":"opensuse","name":"opensuse","label":"opensuse","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"11.4","noFixRecorded":false,"fixedIn":null},{"text":"12.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"11.4 | 12.1","eol":{"isEol":true,"eolDate":"2012-11-05T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"11.4","label":"11.4","eolFrom":"2012-11-05T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"opensuse","label":"openSUSE","category":"os"}},"hubHref":"/vendor/opensuse/opensuse"}],"affectedCount":5,"eol":{"hasEol":true,"count":3},"references":[{"url":"http://www.osvdb.org/80556","label":"www.osvdb.org/80556","hostname":"www.osvdb.org","tags":["VDB Entry","X Refsource OSVDB","Broken Link"]},{"url":"http://lists.opensuse.org/opensuse-updates/2012-06/msg00001.html","label":"lists.opensuse.org/opensuse-updates/2012-06/msg00001.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-1185","label":"bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-1185","hostname":"bugzilla.redhat.com","tags":["X Refsource MISC","Issue Tracking","Patch","Third Party Advisory"]},{"url":"http://secunia.com/advisories/49043","label":"secunia.com/advisories/49043","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Broken Link"]},{"url":"http://www.debian.org/security/2012/dsa-2462","label":"www.debian.org/security/2012/dsa-2462","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"http://www.securityfocus.com/bid/51957","label":"www.securityfocus.com/bid/51957","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2012/03/19/5","label":"www.openwall.com/lists/oss-security/2012/03/19/5","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Patch","Third Party Advisory"]},{"url":"http://trac.imagemagick.org/changeset/6998/ImageMagick/branches/ImageMagick-6.7.5/magick/profile.c","label":"trac.imagemagick.org/changeset/6998/ImageMagick/branches/ImageMagick-6.7.5/magick/profile.c","hostname":"trac.imagemagick.org","tags":["X Refsource CONFIRM","Broken Link"]},{"url":"http://trac.imagemagick.org/changeset/6998/ImageMagick/branches/ImageMagick-6.7.5/magick/property.c","label":"trac.imagemagick.org/changeset/6998/ImageMagick/branches/ImageMagick-6.7.5/magick/property.c","hostname":"trac.imagemagick.org","tags":["X Refsource CONFIRM","Broken Link"]},{"url":"http://secunia.com/advisories/47926","label":"secunia.com/advisories/47926","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Broken Link"]},{"url":"http://ubuntu.com/usn/usn-1435-1","label":"ubuntu.com/usn/usn-1435-1","hostname":"ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/76140","label":"exchange.xforce.ibmcloud.com/vulnerabilities/76140","hostname":"exchange.xforce.ibmcloud.com","tags":["VDB Entry","X Refsource XF","Third Party Advisory"]},{"url":"http://secunia.com/advisories/48974","label":"secunia.com/advisories/48974","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Broken Link"]},{"url":"http://secunia.com/advisories/49317","label":"secunia.com/advisories/49317","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Broken Link"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-1185","label":"security-tracker.debian.org/tracker/CVE-2012-1185","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-2462-1","OPENSUSE-SU-2024:10040-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:10040-1"]},"timeline":[{"kind":"published","date":"2012-06-05T22:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T18:53:36.063Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":37,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T13:37:15.712Z","stale":false,"partial":false}}