cve.bz

CVE-2012-1186 Infinite Loop

5.5 mediumEPSS 1.9%Fix available

Medium (5.5). EPSS 1.9% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
1.9% (unchanged from 1.9% a week ago; 1.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 80th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2012-1186 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2012-1186?via=ask-ai-copy and https://cve.bz/cve/CVE-2012-1186?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2012-1186 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
imagemagick:imagemagickthrough 6.7.5-8
debian:debian_linux6.0
canonical:ubuntu_linux10.04
canonical:ubuntu_linux11.04
canonical:ubuntu_linux11.10
canonical:ubuntu_linux12.04
opensuse:opensuse11.4
opensuse:opensuse12.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian6.0imagemagick8:6.6.0.4-3+squeeze3DSA-2462-1
Debian12, 13, 14imagemagick8:6.6.9.7-7DEBIAN-CVE-2012-1186
openSUSETumbleweedImageMagick6.9.6.6-1.1openSUSE-SU-2024:10040-1

From the distributions' data via OSV.dev: the Debian Security Tracker; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · openSUSE.

Red Hat

Red Hat's statement

Not vulnerable. This issue did not affect the versions of ImageMagick as shipped with Red Hat Enterprise Linux 5 and 6 as they did not backport the insufficient patch for CVE-2012-0248.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5ImageMagickNot affected
Red Hat Enterprise Linux 6ImageMagickNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2012-1186.

References

Check your stackJSON