Skip to content
Fencer Intel
high 8.8

CVE-2012-0247 json

ImageMagick 6.7.5-7 and earlier allows remote attackers to cause a denial of service (memory corruption) and possibly execute arbitrary cod…

published 2012-06-05 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-0283

cvss
8.8
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.8%
EPSS 3.8% chance of exploitation in 30 days, percentile 90%
public exploits
0
none known

Summary

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.

Patch / fix

  • imagemagick Debian 14, Debian 13, Debian 12 8:6.6.9.7-6

debian advisories DEBIAN-CVE-2012-0247

  • ImageMagick RHEL 5 6.2.8.0-15.el5_8
  • ImageMagick-c++ RHEL 5 6.2.8.0-15.el5_8
  • ImageMagick-perl RHEL 5 6.2.8.0-15.el5_8
  • ImageMagick RHEL 6 6.5.4.7-6.el6_2
  • ImageMagick-c++ RHEL 6 6.5.4.7-6.el6_2
  • ImageMagick-perl RHEL 6 6.5.4.7-6.el6_2

red hat advisories RHSA-2012:0545RHSA-2012:0544

  • ImageMagick openSUSE Tumbleweed 6.9.6.6-1.1

opensuse advisories openSUSE-SU-2024:10040-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2012-0247 updated cvss 6.8

ImageMagick: invalid validation of images denial of service

  • Red Hat Enterprise Linux (v. 5 server) ImageMagick 6.2.8.0-15.el5_8, ImageMagick-c++ 6.2.8.0-15.el5_8, ImageMagick-perl 6.2.8.0-15.el5_8 Red Hat Enterprise Linux Desktop (v. 5 client) ImageMagick 6.2.8.0-15.el5_8, ImageMagick-c++ 6.2.8.0-15.el5_8, ImageMagick-perl 6.2.8.0-15.el5_8
    fixed: vendor fix RHSA-2012:0545
  • Red Hat Enterprise Linux Desktop (v. 6) ImageMagick 6.5.4.7-6.el6_2, ImageMagick-c++ 6.5.4.7-6.el6_2 Red Hat Enterprise Linux Desktop Optional (v. 6) ImageMagick 6.5.4.7-6.el6_2, ImageMagick-c++ 6.5.4.7-6.el6_2, ImageMagick-perl 6.5.4.7-6.el6_2 Red Hat Enterprise Linux HPC Node Optional (v. 6) ImageMagick 6.5.4.7-6.el6_2, ImageMagick-c++ 6.5.4.7-6.el6_2, ImageMagick-perl 6.5.4.7-6.el6_2 Red Hat Enterprise Linux Server (v. 6) ImageMagick 6.5.4.7-6.el6_2, ImageMagick-c++ 6.5.4.7-6.el6_2 Red Hat Enterprise Linux Server Optional (v. 6) ImageMagick 6.5.4.7-6.el6_2, ImageMagick-c++ 6.5.4.7-6.el6_2, ImageMagick-perl 6.5.4.7-6.el6_2 Red Hat Enterprise Linux Workstation (v. 6) ImageMagick 6.5.4.7-6.el6_2, ImageMagick-c++ 6.5.4.7-6.el6_2
    +1 more products
    Red Hat Enterprise Linux Workstation Optional (v. 6) ImageMagick 6.5.4.7-6.el6_2, ImageMagick-c++ 6.5.4.7-6.el6_2, ImageMagick-perl 6.5.4.7-6.el6_2
    fixed: vendor fix RHSA-2012:0544
  • Red Hat RHEL Desktop Workstation (v. 5 client) ImageMagick 6.2.8.0-15.el5_8
    fixed: vendor fix RHSA-2012:0545
  • Red Hat Enterprise Linux 4 ImageMagick
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.77% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-20 Improper Input Validation

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.