cve.bz

CVE-2012-0247 Improper Input Validation

8.8 highEPSS 3.8%Fix available

High (8.8). EPSS 3.8% estimated probability of exploitation activity in the next 30 days.

On this page
ImageMagick 6.7.5-7 and earlier allows remote attackers to cause a denial of service (memory corruption) and possibly execute arbitrary code via crafted offset and count values in the ResolutionUnit tag in the EXIF IFD0 of an image.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
3.8% (unchanged from 3.8% a week ago; 3.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 90th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
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-0247 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2012-0247?via=ask-ai-copy and https://cve.bz/cve/CVE-2012-0247?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-0247 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-7
debian:debian_linux6.0
debian:debian_linux7.0
canonical:ubuntu_linux10.04
canonical:ubuntu_linux11.04
canonical:ubuntu_linux11.10
canonical:ubuntu_linux12.04
redhat:storage2.0
redhat:enterprise_linux_desktop5.0
redhat:enterprise_linux_desktop6.0
redhat:enterprise_linux_eus6.2
redhat:enterprise_linux_server5.0
redhat:enterprise_linux_server6.0
redhat:enterprise_linux_server_aus6.2
redhat:enterprise_linux_server_eus6.2
redhat:enterprise_linux_workstation5.0
redhat:enterprise_linux_workstation6.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian6.0imagemagick8:6.6.0.4-3+squeeze1DSA-2427-1
Debian12, 13, 14imagemagick8:6.6.9.7-6DEBIAN-CVE-2012-0247
Red Hatenterprise_linux:5::clientImageMagick, ImageMagick-c++, ImageMagick-perl and 1 more0:6.2.8.0-15.el5_8RHSA-2012:0545
Red Hatenterprise_linux:5::client_workstationImageMagick, ImageMagick-devel, ImageMagick-c++-devel and 1 more0:6.2.8.0-15.el5_8RHSA-2012:0545
Red Hatenterprise_linux:5::serverImageMagick, ImageMagick-c++, ImageMagick-perl and 3 more0:6.2.8.0-15.el5_8RHSA-2012:0545
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 moreImageMagick, ImageMagick-c++, ImageMagick-doc and 4 more0:6.5.4.7-6.el6_2RHSA-2012:0544
openSUSETumbleweedImageMagick6.9.6.6-1.1openSUSE-SU-2024:10040-1

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

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5ImageMagick-0:6.2.8.0-15.el5_8Fixed 2012-05-07RHSA-2012:0545
Red Hat Enterprise Linux 6ImageMagick-0:6.5.4.7-6.el6_2Fixed 2012-05-07RHSA-2012:0544
Red Hat Enterprise Linux 4ImageMagickNot 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-0247.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON