CVE-2012-1147 json
readfilemap.c in expat before 2.1.0 allows context-dependent attackers to cause a denial of service (file descriptor consumption) via a lar…
published 2012-07-03 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-1181
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.5%
- EPSS 2.5% chance of exploitation in 30 days, percentile 85%
- public exploits
- 0
- none known
Summary
readfilemap.c in expat before 2.1.0 allows context-dependent attackers to cause a denial of service (file descriptor consumption) via a large number of crafted XML files.
Patch / fix
- expat openSUSE Tumbleweed 2.2.0-3.1
opensuse advisories openSUSE-SU-2024:10077-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-1147 updated cvss 1.9
expat: resource leak in readfilemap.c
-
Red Hat Enterprise Linux 6 mingw32-expataffected: no fix planned “Will not fix”
-
Red Hat Directory Server 8 expat Red Hat Enterprise Linux 4 expat Red Hat Enterprise Linux 5 expat Red Hat Enterprise Linux 6 expat, compat-expat1not 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.54% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
lists.apple.com
/archives/security-announce/2015/Dec/msg00005.html
vendor-advisory
-
support.apple.com
/HT205637
vendor-advisory
-
securitytracker.com
/id/1034344
vdb-entry
-
securityfocus.com
/bid/52379
vdb-entry
- sourceforge.net /projects/expat/files/expat/2.1.0/
- expat.cvs.sourceforge.net /viewvc/expat/expat/xmlwf/readfilemap.c?r1=1.14&r2=1.15
- sourceforge.net /tracker/?func=detail&aid=2895533&group_id=10127&atid=110127
- trac.wxwidgets.org /ticket/11432
- trac.wxwidgets.org /ticket/11194
Sources
- CVE List CVE-2012-1147
- NVD CVE-2012-1147
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.