CVE-2012-0876
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
Fixed builds are available from Debian, Red Hat: see the table below for the fixed version per release.
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | cadaver | Fix pending | UBUNTU-CVE-2012-0876 | |
| Ubuntu 26.10 | matanza | Fix pending | UBUNTU-CVE-2012-0876 | |
| Ubuntu 26.10 | paraview | Fix pending | UBUNTU-CVE-2012-0876 | |
| Ubuntu 26.10 | sitecopy | Fix pending | UBUNTU-CVE-2012-0876 | |
| Ubuntu 26.10 | swish-e | Fix pending | UBUNTU-CVE-2012-0876 | |
| Ubuntu 26.04 | apache2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | apr-util | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | audacity | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | cadaver | Fix pending | UBUNTU-CVE-2012-0876 | |
| Ubuntu 26.04 | cmake | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | coin3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | expat | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | gdcm | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | ghostscript | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | matanza | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | UBUNTU-CVE-2012-0876 | |
| Ubuntu 26.04 | paraview | Under investigation | UBUNTU-CVE-2012-0876 | |
| Ubuntu 26.04 | poco | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | simgear | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | sitecopy | Under investigation | UBUNTU-CVE-2012-0876 | |
| Ubuntu 26.04 | swish-e | Fix pending | UBUNTU-CVE-2012-0876 | |
| Ubuntu 26.04 | tdom | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | texlive-bin | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | wbxml2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | xotcl | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | apache2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | apr-util | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | audacity | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | cadaver | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | UBUNTU-CVE-2012-0876 | |
| Ubuntu 25.10 | cmake | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | coin3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | expat | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | gdcm | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | ghostscript | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | matanza | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | UBUNTU-CVE-2012-0876 | |
| Ubuntu 25.10 | paraview | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | UBUNTU-CVE-2012-0876 | |
| Ubuntu 25.10 | poco | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | simgear | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | sitecopy | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | UBUNTU-CVE-2012-0876 | |
| Ubuntu 25.10 | swish-e | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | UBUNTU-CVE-2012-0876 | |
| Ubuntu 25.10 | tdom | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | texlive-bin | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | tla | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | wbxml2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | xotcl | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | apache2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | apr-util | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | audacity | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | cadaver | Fix pending | UBUNTU-CVE-2012-0876 | |
| Ubuntu 24.04 | cmake | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | coin3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | expat | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | gdcm | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | ghostscript | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | matanza | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | UBUNTU-CVE-2012-0876 | |
| Ubuntu 24.04 | paraview | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | poco | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | swish-e | Fix pending | UBUNTU-CVE-2012-0876 | |
| Ubuntu 24.04 | tdom | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | texlive-bin | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | tla | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | wbxml2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | xotcl | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | apache2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | apr-util | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | audacity | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | cadaver | Fix pending | UBUNTU-CVE-2012-0876 | |
| Ubuntu 22.04 | cmake | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | coin3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | expat | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | gdcm | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | ghostscript | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | matanza | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | UBUNTU-CVE-2012-0876 | |
| Ubuntu 22.04 | paraview | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | poco | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | sitecopy | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | swish-e | Fix pending | UBUNTU-CVE-2012-0876 | |
| Ubuntu 22.04 | tdom | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | texlive-bin | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | tla | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | wbxml2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | xotcl | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | cadaver | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | UBUNTU-CVE-2012-0876 | |
| Ubuntu 20.04 | cmake | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | coin3 | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | gdcm | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | matanza | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | UBUNTU-CVE-2012-0876 | |
| Ubuntu 20.04 | paraview | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | poco | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | sitecopy | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | swish-e | Fix pending | UBUNTU-CVE-2012-0876 | |
| Ubuntu 20.04 | tdom | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | tla | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | wbxml2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | xotcl | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | cadaver | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | UBUNTU-CVE-2012-0876 | |
| Ubuntu 18.04 | cmake | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | coin3 | Fix pending | UBUNTU-CVE-2012-0876 | |
| Ubuntu 18.04 | gdcm | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | matanza | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | UBUNTU-CVE-2012-0876 | |
| Ubuntu 18.04 | paraview | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | poco | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | sitecopy | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | smart | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | swish-e | Fix pending | UBUNTU-CVE-2012-0876 | |
| Ubuntu 18.04 | tdom | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | tla | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | vnc4 | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | UBUNTU-CVE-2012-0876 | |
| Ubuntu 18.04 | wbxml2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | xotcl | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | apache2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | apr-util | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | audacity | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | ayttm | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | UBUNTU-CVE-2012-0876 | |
| Ubuntu 16.04 | cableswig | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | UBUNTU-CVE-2012-0876 | |
| Ubuntu 16.04 | cadaver | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | UBUNTU-CVE-2012-0876 | |
| Ubuntu 16.04 | cmake | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | coin3 | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | UBUNTU-CVE-2012-0876 | |
| Ubuntu 16.04 | expat | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | gdcm | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | ghostscript | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | insighttoolkit | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | UBUNTU-CVE-2012-0876 | |
| Ubuntu 16.04 | libxmltok | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | ||
| Ubuntu 16.04 | matanza | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | UBUNTU-CVE-2012-0876 | |
| Ubuntu 16.04 | paraview | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | poco | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | simgear | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | sitecopy | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | smart | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | swish-e | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | UBUNTU-CVE-2012-0876 | |
| Ubuntu 16.04 | tdom | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | texlive-bin | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | tla | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | vnc4 | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | UBUNTU-CVE-2012-0876 | |
| Ubuntu 16.04 | vtk | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | wbxml2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | xotcl | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | audacity | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | ayttm | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | ||
| Ubuntu 14.04 | cableswig | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | ||
| Ubuntu 14.04 | cadaver | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | ||
| Ubuntu 14.04 | cmake | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | coin3 | Fix pending | UBUNTU-CVE-2012-0876 | |
| Ubuntu 14.04 | ghostscript | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | insighttoolkit | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | ||
| Ubuntu 14.04 | libxmltok | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | ||
| Ubuntu 14.04 | matanza | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | ||
| Ubuntu 14.04 | paraview | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | poco | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | simgear | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | sitecopy | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | ||
| Ubuntu 14.04 | smart | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | swish-e | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | ||
| Ubuntu 14.04 | tdom | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | ||
| Ubuntu 14.04 | texlive-bin | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | tla | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | vnc4 | Fix pending | UBUNTU-CVE-2012-0876 | |
| Ubuntu 14.04 | wbxml2 | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | ||
| Ubuntu 14.04 | wxwidgets2.8 | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | xotcl | Will not fix RedHat issued https://rhn.redhat.com/errata/RHBA-2012-1250.html for python as a result of the added XML_SetHashSalt symbol tla uses system expat as of… | ||
| Debian 14 | expat | Fixed | 2.1.0~beta3-1 | DEBIAN-CVE-2012-0876 |
| Debian 14 | xmlrpc-c | Fixed | 1.16.33-3.2 | DEBIAN-CVE-2012-0876 |
| Debian 13 | expat | Fixed | 2.1.0~beta3-1 | DEBIAN-CVE-2012-0876 |
| Debian 13 | xmlrpc-c | Fixed | 1.16.33-3.2 | DEBIAN-CVE-2012-0876 |
| Debian 12 | expat | Fixed | 2.1.0~beta3-1 | DEBIAN-CVE-2012-0876 |
| Debian 12 | libxmltok | Fix pending | DEBIAN-CVE-2012-0876 | |
| Debian 12 | xmlrpc-c | Fixed | 1.16.33-3.2 | DEBIAN-CVE-2012-0876 |
| Red Hat Enterprise Linux 6 | compat-expat1 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | expat | Fixed | 0:2.0.1-11.el6_2 | RHSA-2012:0731 |
| Red Hat Enterprise Linux 6 | expat-devel | Fixed | 0:2.0.1-11.el6_2 | RHSA-2012:0731 |
| Red Hat Enterprise Linux 6 | mingw32-expat | Fix pending Affected | ||
| Red Hat Enterprise Linux 5 | expat | Fixed | 0:1.95.8-11.el5_8 | RHSA-2012:0731 |
| Red Hat Enterprise Linux 5 | expat-devel | Fixed | 0:1.95.8-11.el5_8 | RHSA-2012:0731 |
| Red Hat Enterprise Linux 5 | xmlrpc-c | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 4 | expat | Will not fix Will not fix |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://www.ubuntu.com/usn/USN-1527-1 (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2012-0731.html (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2016-0062.html (vendor-advisory)
- http://lists.apple.com/archives/security-announce/2013/Oct/msg00004.html (vendor-advisory)
- http://lists.apple.com/archives/security-announce/2015/Dec/msg00005.html (vendor-advisory)
- http://www.debian.org/security/2012/dsa-2525 (vendor-advisory)
References
- http://secunia.com/advisories/49504
- http://sourceforge.net/tracker/?func=detail&atid=110127&aid=3496608&group_id=10127
- https://www.tenable.com/security/tns-2016-20
- http://www.ubuntu.com/usn/USN-1527-1
- http://bugs.python.org/issue13703#msg151870
- https://support.apple.com/HT205637
- http://secunia.com/advisories/51040
- http://rhn.redhat.com/errata/RHSA-2012-0731.html
- http://www.securityfocus.com/bid/52379
- http://sourceforge.net/projects/expat/files/expat/2.1.0/
- http://rhn.redhat.com/errata/RHSA-2016-0062.html
- http://lists.apple.com/archives/security-announce/2013/Oct/msg00004.html
- http://lists.apple.com/archives/security-announce/2015/Dec/msg00005.html
- http://www.debian.org/security/2012/dsa-2525
- http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.