CVE-2012-1571 json
file before 5.11 and libmagic allow remote attackers to cause a denial of service (crash) via a crafted Composite Document File (CDF) file…
published 2012-07-17 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-1589
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.1%
- EPSS 4.1% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
file before 5.11 and libmagic allow remote attackers to cause a denial of service (crash) via a crafted Composite Document File (CDF) file that triggers (1) an out-of-bounds read or (2) an invalid pointer dereference.
Patch / fix
- file Debian 14, Debian 13, Debian 12 5.11-1
debian advisories DEBIAN-CVE-2012-1571
- php RHEL 6 5.3.3-27.el6_5.1
- php53 RHEL 5 5.3.3-23.el5_10
- php-gd RHEL 6 5.3.3-27.el6_5.1
- php-cli RHEL 6 5.3.3-27.el6_5.1
- php-dba RHEL 6 5.3.3-27.el6_5.1
- php-fpm RHEL 6 5.3.3-27.el6_5.1
- php-pdo RHEL 6 5.3.3-27.el6_5.1
- php-xml RHEL 6 5.3.3-27.el6_5.1
red hat advisories RHSA-2014:1012RHSA-2014:1606
- file openSUSE Tumbleweed 5.29-2.1
opensuse advisories openSUSE-SU-2024:10221-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-1571 updated cvss 4.3
file: out of bounds read in CDF parser
-
Red Hat Enterprise Linux (v. 5 server) php53 5.3.3-23.el5_10, php53-gd 5.3.3-23.el5_10, php53-cli 5.3.3-23.el5_10, php53-dba 5.3.3-23.el5_10, php53-pdo 5.3.3-23.el5_10, php53-xml 5.3.3-23.el5_10, +14 morefixed: vendor fix RHSA-2014:1012
-
Red Hat Enterprise Linux Desktop (v. 6) file 5.04-21.el6, file-libs 5.04-21.el6fixed: vendor fix RHSA-2014:1606
-
Red Hat Enterprise Linux Desktop Optional (v. 6) php 5.3.3-27.el6_5.1, php-gd 5.3.3-27.el6_5.1, php-cli 5.3.3-27.el6_5.1, php-dba 5.3.3-27.el6_5.1, php-fpm 5.3.3-27.el6_5.1, php-pdo 5.3.3-27.el6_5.1, +21 more Red Hat Enterprise Linux Desktop Workstation (v. 5 client) php53 5.3.3-23.el5_10, php53-gd 5.3.3-23.el5_10, php53-cli 5.3.3-23.el5_10, php53-dba 5.3.3-23.el5_10, php53-pdo 5.3.3-23.el5_10, php53-xml 5.3.3-23.el5_10, +14 more Red Hat Enterprise Linux HPC Node (v. 6) file 5.04-21.el6, php 5.3.3-27.el6_5.1, file-libs 5.04-21.el6, php-cli 5.3.3-27.el6_5.1, php-common 5.3.3-27.el6_5.1 Red Hat Enterprise Linux HPC Node Optional (v. 6) php 5.3.3-27.el6_5.1, php-gd 5.3.3-27.el6_5.1, php-dba 5.3.3-27.el6_5.1, php-fpm 5.3.3-27.el6_5.1, php-pdo 5.3.3-27.el6_5.1, php-xml 5.3.3-27.el6_5.1, +19 more Red Hat Enterprise Linux Server (v. 6) file 5.04-21.el6, php 5.3.3-27.el6_5.1, file-libs 5.04-21.el6, php-gd 5.3.3-27.el6_5.1, php-cli 5.3.3-27.el6_5.1, php-pdo 5.3.3-27.el6_5.1, +9 more Red Hat Enterprise Linux Server Optional (v. 6) php 5.3.3-27.el6_5.1, php-dba 5.3.3-27.el6_5.1, php-fpm 5.3.3-27.el6_5.1, php-zts 5.3.3-27.el6_5.1, php-imap 5.3.3-27.el6_5.1, php-intl 5.3.3-27.el6_5.1, +9 morefixed: vendor fix RHSA-2014:1012
+2 more productsfewer
Red Hat Enterprise Linux Workstation (v. 6) file 5.04-21.el6, php 5.3.3-27.el6_5.1, file-libs 5.04-21.el6, php-gd 5.3.3-27.el6_5.1, php-cli 5.3.3-27.el6_5.1, php-pdo 5.3.3-27.el6_5.1, +9 more Red Hat Enterprise Linux Workstation Optional (v. 6) php 5.3.3-27.el6_5.1, php-dba 5.3.3-27.el6_5.1, php-fpm 5.3.3-27.el6_5.1, php-zts 5.3.3-27.el6_5.1, php-imap 5.3.3-27.el6_5.1, php-intl 5.3.3-27.el6_5.1, +9 more -
Red Hat Enterprise Linux 5 php, rpm, file, cdrtools Red Hat Enterprise Linux 7 php, file, php-gd, php-cli, php-dba, php-fpm, +21 more Red Hat Software Collections php54-php, php55-php, php54-php-gd, php55-php-gd, php54-php-cli, php54-php-dba, +44 morenot 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
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 11 mo ago
Exploit prediction
4.12% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/glensc/file/commit/1aec04dbf8a24b8a6ba64c4f74efa0628e36db0b referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/glensc/file/commit/1859fdb4e67c49c463c4e0078054335cd46ba295 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/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
References
-
github.com
/glensc/file/commit/1aec04dbf8a24b8a6ba64c4f74efa0628e36db0b
exploit, patch
-
github.com
/glensc/file/commit/1859fdb4e67c49c463c4e0078054335cd46ba295
exploit, patch
-
mx.gw.com
/pipermail/file/2012/000914.html
mailing-list, patch
-
debian.org
/security/2012/dsa-2422
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2012:035
vendor-advisory
-
ubuntu.com
/usn/USN-2123-1
vendor-advisory
Sources
- CVE List CVE-2012-1571
- NVD CVE-2012-1571
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.