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_8fixed: 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_2fixed: vendor fix RHSA-2012:0544
+1 more productsfewer
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 -
Red Hat RHEL Desktop Workstation (v. 5 client) ImageMagick 6.2.8.0-15.el5_8fixed: vendor fix RHSA-2012:0545
-
Red Hat Enterprise Linux 4 ImageMagicknot 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
-
imagemagick.org
/discourse-server/viewtopic.php?f=4&t=20286
issue-tracking, patch, vendor-advisory
-
gentoo.org
/security/en/glsa/glsa-201203-09.xml
vendor-advisory, third-party-advisory
-
debian.org
/security/2012/dsa-2427
vendor-advisory, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2012-0544.html
vendor-advisory, third-party-advisory
-
ubuntu.com
/usn/usn-1435-1
vendor-advisory, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2012-0545.html
vendor-advisory, third-party-advisory
-
secunia.com
/advisories/49068
third-party-advisory, broken-link
-
cert.fi
/en/reports/2012/vulnerability595210.html
broken-link
-
secunia.com
/advisories/48259
third-party-advisory, broken-link
-
secunia.com
/advisories/49043
third-party-advisory, broken-link
-
securityfocus.com
/bid/51957
vdb-entry, third-party-advisory
-
secunia.com
/advisories/49063
third-party-advisory, broken-link
-
secunia.com
/advisories/47926
third-party-advisory, broken-link
-
secunia.com
/advisories/48247
third-party-advisory, broken-link
-
osvdb.org
/79003
vdb-entry, broken-link
-
securitytracker.com
/id?1027032
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2012-0248
- NVD CVE-2012-0248
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.