---
title: "CVE-2012-1186\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2012-1186?format=md
keywords: index, follow
---

# CVE-2012-1186

Publication date 23 April 2012

Last updated 4 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**5.5 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2012-1186?format=md#impact-score)

Toggle side navigation

## 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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2012-1186?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| imagemagick | 12.04 LTS precise | Fixed 8:6.6.9.7-5ubuntu3.1 |
| 11.10 oneiric | Fixed 8:6.6.0.4-3ubuntu1.1 |
| 11.04 natty | Fixed 7:6.6.2.6-1ubuntu4.1 |
| 10.04 LTS lucid | Fixed 7:6.5.7.8-1ubuntu1.2 |
| 8.04 LTS hardy | Ignored end of life |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Notes

---

### [mdeslaur](https://launchpad.net/~mdeslaur)

incomplete fix for CVE-2012-0248
see fixes in CVE-2012-0247

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

5.5 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Local |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | Required |
  | Scope | Unchanged |
  | Confidentiality impact | None |
  | Integrity impact | None |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 5.5 · Medium |
  | Exploitability score | - |
  | Impact score | - |

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

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-1186)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2012-1186)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2012-1186)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2012-1186)

### Related Ubuntu Security Notices (USN)

+ [USN-1435-1](https://usn.ubuntu.com/USN-1435-1)
+ ImageMagick vulnerabilities
+ 1 May 2012

### Other references

* <http://www.openwall.com/lists/oss-security/2012/03/19/5>
* <https://www.cve.org/CVERecord?id=CVE-2012-1186>
