CVE-2012-0876Libexpat Project Libexpat
Medium 4.3 No auth needed
Follow: this CVE · Libexpat Project · Libexpat Project Libexpat We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 2.0
- 4.3
- EPSS
- 5.7% probability of exploitation in 30 days · percentile 94
- Auth required
- No
- Published
- Jul 3, 2012
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- Vector
AV:N/AC:M/Au:N/C:N/I:N/A:P
What happens
The XML parser (xmlparse.c) in expat before 2.1.0 computes hash values without restricting the ability to trigger hash collisions predictably, which allows context-dependent attackers to cause a denial of service (CPU consumption) via an XML file with many identifiers with the same value.
What to do
- Apply the vendor's security update for Libexpat.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| libexpat_project | libexpat | < 2.1.0 |
| python | python | ≥ 2.6.0 < 2.6.8 |
| python | python | ≥ 2.7.0 < 2.7.3 |
| python | python | ≥ 3.1.0 < 3.1.5 |
| python | python | ≥ 3.2.0 < 3.2.3 |
| debian | debian_linux | 6.0 |
| debian | debian_linux | 7.0 |
| canonical | ubuntu_linux | 8.04 |
| canonical | ubuntu_linux | 10.04 |
| canonical | ubuntu_linux | 11.04 |
| canonical | ubuntu_linux | 11.10 |
| canonical | ubuntu_linux | 12.04 |
| oracle | solaris | 11.3 |
| redhat | storage | 2.0 |
| redhat | enterprise_linux_desktop | 5.0 |
| redhat | enterprise_linux_desktop | 6.0 |
| redhat | enterprise_linux_eus | 6.2 |
| redhat | enterprise_linux_server | 5.0 |
| redhat | enterprise_linux_server | 6.0 |
| redhat | enterprise_linux_server_aus | 6.2 |
| redhat | enterprise_linux_workstation | 5.0 |
| redhat | enterprise_linux_workstation | 6.0 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.python.org Issue Tracking Third Party Advisory
- lists.apple.com Broken Link Mailing List
- lists.apple.com Broken Link Mailing List
- mail.libexpat.org Broken Link
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- secunia.com Not Applicable
- secunia.com Not Applicable
- secunia.com Not Applicable
- sourceforge.net Release Notes Third Party Advisory
- sourceforge.net Third Party Advisory
- www.debian.org Third Party Advisory
- www.mandriva.com Broken Link
- www.oracle.com Third Party Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- www.ubuntu.com Third Party Advisory
- www.ubuntu.com Third Party Advisory
- www.ubuntu.com Third Party Advisory
- kc.mcafee.com Broken Link
- support.apple.com Third Party Advisory
- www.tenable.com Third Party Advisory