Skip to content
Fencer Intel
medium 5.5

CVE-2012-0248 json

ImageMagick 6.7.5-7 and earlier allows remote attackers to cause a denial of service (infinite loop and hang) via a crafted image whose IFD…

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

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

Summary

ImageMagick 6.7.5-7 and earlier allows remote attackers to cause a denial of service (infinite loop and hang) via a crafted image whose IFD contains IOP tags that all reference the beginning of the IDF.

Patch / fix

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

debian advisories DEBIAN-CVE-2012-0248

  • 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-0248 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

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

CVSS scores

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

Classification

Weakness
  • CWE-835 Loop with Unreachable Exit Condition

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.