CVE-2012-0876
MEDIUM 4.3CVSS 2.0The 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.
- Published
- 3 Jul 2012
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-400
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | libexpat_project | libexpatcpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:* |
< 2.1.0 | 2.1.0 |
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
>= 2.6.0, < 2.6.8 | 2.6.8 |
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
>= 2.7.0, < 2.7.3 | 2.7.3 |
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
>= 3.1.0, < 3.1.5 | 3.1.5 |
| NVD | python | pythoncpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
>= 3.2.0, < 3.2.3 | 3.2.3 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:-:*:*:* |
= 8.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:-:*:*:* |
= 10.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:11.04:*:*:*:*:*:*:* |
= 11.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:11.10:*:*:*:*:*:*:* |
= 11.10 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* |
= 12.04 | |
| NVD | oracle | solariscpe:2.3:o:oracle:solaris:11.3:*:*:*:*:*:*:* |
= 11.3 | |
| NVD | redhat | storagecpe:2.3:a:redhat:storage:2.0:*:*:*:*:*:*:* |
= 2.0 | |
| NVD | redhat | enterprise_linux_desktopcpe:2.3:o:redhat:enterprise_linux_desktop:5.0:*:*:*:*:*:*:* |
= 5.0 | |
| NVD | redhat | enterprise_linux_desktopcpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | redhat | enterprise_linux_euscpe:2.3:o:redhat:enterprise_linux_eus:6.2:*:*:*:*:*:*:* |
= 6.2 | |
| NVD | redhat | enterprise_linux_servercpe:2.3:o:redhat:enterprise_linux_server:5.0:*:*:*:*:*:*:* |
= 5.0 | |
| NVD | redhat | enterprise_linux_servercpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | redhat | enterprise_linux_server_auscpe:2.3:o:redhat:enterprise_linux_server_aus:6.2:*:*:*:*:*:*:* |
= 6.2 | |
| NVD | redhat | enterprise_linux_workstationcpe:2.3:o:redhat:enterprise_linux_workstation:5.0:*:*:*:*:*:*:* |
= 5.0 | |
| NVD | redhat | enterprise_linux_workstationcpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* |
= 6.0 |
References
- http://bugs.python.org/issue13703#msg151870 · Issue Tracking, Third Party Advisory
- http://lists.apple.com/archives/security-announce/2013/Oct/msg00004.html · Broken Link, Mailing List
- http://lists.apple.com/archives/security-announce/2015/Dec/msg00005.html · Broken Link, Mailing List
- http://mail.libexpat.org/pipermail/expat-discuss/2012-March/002768.html · Broken Link
- http://rhn.redhat.com/errata/RHSA-2012-0731.html · Third Party Advisory
- http://rhn.redhat.com/errata/RHSA-2016-0062.html · Third Party Advisory
- http://rhn.redhat.com/errata/RHSA-2016-2957.html · Third Party Advisory
- http://secunia.com/advisories/49504 · Not Applicable
- http://secunia.com/advisories/51024 · Not Applicable
- http://secunia.com/advisories/51040 · Not Applicable
- http://sourceforge.net/projects/expat/files/expat/2.1.0/ · Release Notes, Third Party Advisory
- http://sourceforge.net/tracker/?func=detail&atid=110127&aid=3496608&group_id=10127 · Third Party Advisory
- http://www.debian.org/security/2012/dsa-2525 · Third Party Advisory
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:041 · Broken Link
- http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html · Third Party Advisory
- http://www.securityfocus.com/bid/52379 · Third Party Advisory, VDB Entry
- http://www.ubuntu.com/usn/USN-1527-1 · Third Party Advisory
- http://www.ubuntu.com/usn/USN-1613-1 · Third Party Advisory
- http://www.ubuntu.com/usn/USN-1613-2 · Third Party Advisory
- https://kc.mcafee.com/corporate/index?page=content&id=SB10365 · Broken Link
- https://support.apple.com/HT205637 · Third Party Advisory
- https://www.tenable.com/security/tns-2016-20 · Third Party Advisory
History
- 25 Nov 2026 20:16 UTC · NVD: first stored (published 3 Jul 2012)