CVE-2012-1148
medium
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
5.0
Description
Memory leak in the poolGrow function in expat/lib/xmlparse.c in expat before 2.1.0 allows context-dependent attackers to cause a denial of service (memory consumption) via a large number of crafted XML files that cause improperly-handled reallocation failures when expanding entities.
Predictions
Exploit likelihood
20%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 2.1.0~beta3-1 |
| debian | bullseye | fixed | 2.1.0~beta3-1 |
| debian | forky | fixed | 2.1.0~beta3-1 |
| debian | sid | fixed | 2.1.0~beta3-1 |
| debian | trixie | fixed | 2.1.0~beta3-1 |
| macos | affected | |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| libexpat_project | libexpat | {"endIncluding":"2.0.1"} | |
| libexpat_project | libexpat | 1.95.1 | |
| libexpat_project | libexpat | 1.95.2 | |
| libexpat_project | libexpat | 1.95.4 | |
| libexpat_project | libexpat | 1.95.5 | |
| libexpat_project | libexpat | 1.95.6 | |
| libexpat_project | libexpat | 1.95.7 | |
| libexpat_project | libexpat | 1.95.8 | |
| libexpat_project | libexpat | 2.0.0 | |
References
- http://expat.cvs.sourceforge.net/viewvc/expat/expat/lib/xmlparse.c?r1=1.166&r2=1.167
- http://lists.apple.com/archives/security-announce/2015/Dec/msg00005.html
- http://rhn.redhat.com/errata/RHSA-2012-0731.html
- http://rhn.redhat.com/errata/RHSA-2016-0062.html
- http://rhn.redhat.com/errata/RHSA-2016-2957.html
- http://secunia.com/advisories/49504
- http://secunia.com/advisories/51024
- http://secunia.com/advisories/51040
- http://sourceforge.net/projects/expat/files/expat/2.1.0/
- http://sourceforge.net/tracker/?func=detail&atid=110127&aid=2958794&group_id=10127
- http://www.debian.org/security/2012/dsa-2525
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:041
- http://www.securityfocus.com/bid/52379
- http://www.securitytracker.com/id/1034344
- http://www.ubuntu.com/usn/USN-1527-1
- http://www.ubuntu.com/usn/USN-1613-1
- http://www.ubuntu.com/usn/USN-1613-2
- https://support.apple.com/HT205637
- https://security-tracker.debian.org/tracker/CVE-2012-1148
CWEs
CWE-399
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.