← Vulnerability feed

Vulnerability record · CVE-2012-1185 · published 5 June 2012

CVE-2012-1185: Imagemagick integer overflow vulnerability

Imagemagick · Imagemagick

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.

7.8 CVSS 3.1 High EPSS 30% · top 1.9% CWE-190 · Integer overflow
7.8CVSS 3.1 base score, v2 6.8
30%EPSS exploitation probability, 30 days
NoNot in CISA KEV
4Affected product versions listed by NVD
28References
16 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

4 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://lists.opensuse.org/opensuse-updates/2012-06/msg00001.html Mailing ListThird Party Advisory
http://secunia.com/advisories/47926 Broken Link
http://secunia.com/advisories/48974 Broken Link
http://secunia.com/advisories/49043 Broken Link
http://secunia.com/advisories/49317 Broken Link
http://trac.imagemagick.org/changeset/6998/ImageMagick/branches/ImageMagick-6.7.5/magick/profile.c Broken Link
http://trac.imagemagick.org/changeset/6998/ImageMagick/branches/ImageMagick-6.7.5/magick/property.c Broken Link
http://ubuntu.com/usn/usn-1435-1 Third Party Advisory
http://www.debian.org/security/2012/dsa-2462 Third Party Advisory
http://www.openwall.com/lists/oss-security/2012/03/19/5 Mailing ListPatchThird Party Advisory
http://www.osvdb.org/80556 Broken Link
http://www.securityfocus.com/bid/51957 Third Party AdvisoryVDB Entry
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-1185 Issue TrackingPatchThird Party Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/76140 Third Party AdvisoryVDB Entry
http://lists.opensuse.org/opensuse-updates/2012-06/msg00001.html Mailing ListThird Party Advisory
http://secunia.com/advisories/47926 Broken Link
http://secunia.com/advisories/48974 Broken Link
http://secunia.com/advisories/49043 Broken Link
http://secunia.com/advisories/49317 Broken Link
http://trac.imagemagick.org/changeset/6998/ImageMagick/branches/ImageMagick-6.7.5/magick/profile.c Broken Link
http://trac.imagemagick.org/changeset/6998/ImageMagick/branches/ImageMagick-6.7.5/magick/property.c Broken Link
http://ubuntu.com/usn/usn-1435-1 Third Party Advisory
http://www.debian.org/security/2012/dsa-2462 Third Party Advisory
http://www.openwall.com/lists/oss-security/2012/03/19/5 Mailing ListPatchThird Party Advisory
http://www.osvdb.org/80556 Broken Link
http://www.securityfocus.com/bid/51957 Third Party AdvisoryVDB Entry
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-1185 Issue TrackingPatchThird Party Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/76140 Third Party AdvisoryVDB Entry

Track CVE-2012-1185 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2023-46604Apache ActiveMQ OpenWire deserialization remote code executionThe Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting an attacker manipulate serialized class types so the br…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2012-1185), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.