CVEfocus › CVE database › CVE-2012-0876

CVE-2012-0876

EPSS 5.7% (higher than 93% of CVEs)Published 2012-07-03Updated 2024-08-06Assigner: redhat

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

10Fixed
18Fix pending
2Under investigation
36Will not fix
108Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10cadaverFix pendingUBUNTU-CVE-2012-0876
Ubuntu 26.10matanzaFix pendingUBUNTU-CVE-2012-0876
Ubuntu 26.10paraviewFix pendingUBUNTU-CVE-2012-0876
Ubuntu 26.10sitecopyFix pendingUBUNTU-CVE-2012-0876
Ubuntu 26.10swish-eFix pendingUBUNTU-CVE-2012-0876
Ubuntu 26.04apache2Not affected
vulnerable_code_not_present
Ubuntu 26.04apr-utilNot affected
vulnerable_code_not_present
Ubuntu 26.04audacityNot affected
vulnerable_code_not_present
Ubuntu 26.04cadaverFix pendingUBUNTU-CVE-2012-0876
Ubuntu 26.04cmakeNot affected
vulnerable_code_not_present
Ubuntu 26.04coin3Not affected
vulnerable_code_not_present
Ubuntu 26.04expatNot affected
vulnerable_code_not_present
Ubuntu 26.04gdcmNot affected
vulnerable_code_not_present
Ubuntu 26.04ghostscriptNot affected
vulnerable_code_not_present
Ubuntu 26.04matanzaWill 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.04paraviewUnder investigationUBUNTU-CVE-2012-0876
Ubuntu 26.04pocoNot affected
vulnerable_code_not_present
Ubuntu 26.04simgearNot affected
vulnerable_code_not_present
Ubuntu 26.04sitecopyUnder investigationUBUNTU-CVE-2012-0876
Ubuntu 26.04swish-eFix pendingUBUNTU-CVE-2012-0876
Ubuntu 26.04tdomNot affected
vulnerable_code_not_present
Ubuntu 26.04texlive-binNot affected
vulnerable_code_not_present
Ubuntu 26.04wbxml2Not affected
vulnerable_code_not_present
Ubuntu 26.04xotclNot affected
vulnerable_code_not_present
Ubuntu 25.10apache2Not affected
vulnerable_code_not_present
Ubuntu 25.10apr-utilNot affected
vulnerable_code_not_present
Ubuntu 25.10audacityNot affected
vulnerable_code_not_present
Ubuntu 25.10cadaverWill 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.10cmakeNot affected
vulnerable_code_not_present
Ubuntu 25.10coin3Not affected
vulnerable_code_not_present
Ubuntu 25.10expatNot affected
vulnerable_code_not_present
Ubuntu 25.10gdcmNot affected
vulnerable_code_not_present
Ubuntu 25.10ghostscriptNot affected
vulnerable_code_not_present
Ubuntu 25.10matanzaWill 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.10paraviewWill 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.10pocoNot affected
vulnerable_code_not_present
Ubuntu 25.10simgearNot affected
vulnerable_code_not_present
Ubuntu 25.10sitecopyWill 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.10swish-eWill 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.10tdomNot affected
vulnerable_code_not_present
Ubuntu 25.10texlive-binNot affected
vulnerable_code_not_present
Ubuntu 25.10tlaNot affected
vulnerable_code_not_present
Ubuntu 25.10wbxml2Not affected
vulnerable_code_not_present
Ubuntu 25.10xotclNot affected
vulnerable_code_not_present
Ubuntu 24.04apache2Not affected
vulnerable_code_not_present
Ubuntu 24.04apr-utilNot affected
vulnerable_code_not_present
Ubuntu 24.04audacityNot affected
vulnerable_code_not_present
Ubuntu 24.04cadaverFix pendingUBUNTU-CVE-2012-0876
Ubuntu 24.04cmakeNot affected
vulnerable_code_not_present
Ubuntu 24.04coin3Not affected
vulnerable_code_not_present
Ubuntu 24.04expatNot affected
vulnerable_code_not_present
Ubuntu 24.04gdcmNot affected
vulnerable_code_not_present
Ubuntu 24.04ghostscriptNot affected
vulnerable_code_not_present
Ubuntu 24.04matanzaWill 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.04paraviewNot affected
vulnerable_code_not_present
Ubuntu 24.04pocoNot affected
vulnerable_code_not_present
Ubuntu 24.04swish-eFix pendingUBUNTU-CVE-2012-0876
Ubuntu 24.04tdomNot affected
vulnerable_code_not_present
Ubuntu 24.04texlive-binNot affected
vulnerable_code_not_present
Ubuntu 24.04tlaNot affected
vulnerable_code_not_present
Ubuntu 24.04wbxml2Not affected
vulnerable_code_not_present
Ubuntu 24.04xotclNot affected
vulnerable_code_not_present
Ubuntu 22.04apache2Not affected
vulnerable_code_not_present
Ubuntu 22.04apr-utilNot affected
vulnerable_code_not_present
Ubuntu 22.04audacityNot affected
vulnerable_code_not_present
Ubuntu 22.04cadaverFix pendingUBUNTU-CVE-2012-0876
Ubuntu 22.04cmakeNot affected
vulnerable_code_not_present
Ubuntu 22.04coin3Not affected
vulnerable_code_not_present
Ubuntu 22.04expatNot affected
vulnerable_code_not_present
Ubuntu 22.04gdcmNot affected
vulnerable_code_not_present
Ubuntu 22.04ghostscriptNot affected
vulnerable_code_not_present
Ubuntu 22.04matanzaWill 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.04paraviewNot affected
vulnerable_code_not_present
Ubuntu 22.04pocoNot affected
vulnerable_code_not_present
Ubuntu 22.04sitecopyNot affected
vulnerable_code_not_present
Ubuntu 22.04swish-eFix pendingUBUNTU-CVE-2012-0876
Ubuntu 22.04tdomNot affected
vulnerable_code_not_present
Ubuntu 22.04texlive-binNot affected
vulnerable_code_not_present
Ubuntu 22.04tlaNot affected
vulnerable_code_not_present
Ubuntu 22.04wbxml2Not affected
vulnerable_code_not_present
Ubuntu 22.04xotclNot affected
vulnerable_code_not_present
Ubuntu 20.04cadaverWill 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.04cmakeNot affected
vulnerable_code_not_present
Ubuntu 20.04coin3Not affected
vulnerable_code_not_present
Ubuntu 20.04gdcmNot affected
vulnerable_code_not_present
Ubuntu 20.04matanzaWill 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.04paraviewNot affected
vulnerable_code_not_present
Ubuntu 20.04pocoNot affected
vulnerable_code_not_present
Ubuntu 20.04sitecopyNot affected
vulnerable_code_not_present
Ubuntu 20.04swish-eFix pendingUBUNTU-CVE-2012-0876
Ubuntu 20.04tdomNot affected
vulnerable_code_not_present
Ubuntu 20.04tlaNot affected
vulnerable_code_not_present
Ubuntu 20.04wbxml2Not affected
vulnerable_code_not_present
Ubuntu 20.04xotclNot affected
vulnerable_code_not_present
Ubuntu 18.04cadaverWill 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.04cmakeNot affected
vulnerable_code_not_present
Ubuntu 18.04coin3Fix pendingUBUNTU-CVE-2012-0876
Ubuntu 18.04gdcmNot affected
vulnerable_code_not_present
Ubuntu 18.04matanzaWill 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.04paraviewNot affected
vulnerable_code_not_present
Ubuntu 18.04pocoNot affected
vulnerable_code_not_present
Ubuntu 18.04sitecopyNot affected
vulnerable_code_not_present
Ubuntu 18.04smartNot affected
vulnerable_code_not_present
Ubuntu 18.04swish-eFix pendingUBUNTU-CVE-2012-0876
Ubuntu 18.04tdomNot affected
vulnerable_code_not_present
Ubuntu 18.04tlaNot affected
vulnerable_code_not_present
Ubuntu 18.04vnc4Will 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.04wbxml2Not affected
vulnerable_code_not_present
Ubuntu 18.04xotclNot affected
vulnerable_code_not_present
Ubuntu 16.04apache2Not affected
vulnerable_code_not_present
Ubuntu 16.04apr-utilNot affected
vulnerable_code_not_present
Ubuntu 16.04audacityNot affected
vulnerable_code_not_present
Ubuntu 16.04ayttmWill 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.04cableswigWill 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.04cadaverWill 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.04cmakeNot affected
vulnerable_code_not_present
Ubuntu 16.04coin3Will 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.04expatNot affected
vulnerable_code_not_present
Ubuntu 16.04gdcmNot affected
vulnerable_code_not_present
Ubuntu 16.04ghostscriptNot affected
vulnerable_code_not_present
Ubuntu 16.04insighttoolkitWill 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.04libxmltokWill 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.04matanzaWill 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.04paraviewNot affected
vulnerable_code_not_present
Ubuntu 16.04pocoNot affected
vulnerable_code_not_present
Ubuntu 16.04simgearNot affected
vulnerable_code_not_present
Ubuntu 16.04sitecopyNot affected
vulnerable_code_not_present
Ubuntu 16.04smartNot affected
vulnerable_code_not_present
Ubuntu 16.04swish-eWill 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.04tdomNot affected
vulnerable_code_not_present
Ubuntu 16.04texlive-binNot affected
vulnerable_code_not_present
Ubuntu 16.04tlaNot affected
vulnerable_code_not_present
Ubuntu 16.04vnc4Will 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.04vtkNot affected
vulnerable_code_not_present
Ubuntu 16.04wbxml2Not affected
vulnerable_code_not_present
Ubuntu 16.04xotclNot affected
vulnerable_code_not_present
Ubuntu 14.04audacityNot affected
vulnerable_code_not_present
Ubuntu 14.04ayttmWill 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.04cableswigWill 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.04cadaverWill 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.04cmakeNot affected
vulnerable_code_not_present
Ubuntu 14.04coin3Fix pendingUBUNTU-CVE-2012-0876
Ubuntu 14.04ghostscriptNot affected
vulnerable_code_not_present
Ubuntu 14.04insighttoolkitWill 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.04libxmltokWill 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.04matanzaWill 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.04paraviewNot affected
vulnerable_code_not_present
Ubuntu 14.04pocoNot affected
vulnerable_code_not_present
Ubuntu 14.04simgearNot affected
vulnerable_code_not_present
Ubuntu 14.04sitecopyWill 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.04smartNot affected
vulnerable_code_not_present
Ubuntu 14.04swish-eWill 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.04tdomWill 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.04texlive-binNot affected
vulnerable_code_not_present
Ubuntu 14.04tlaNot affected
vulnerable_code_not_present
Ubuntu 14.04vnc4Fix pendingUBUNTU-CVE-2012-0876
Ubuntu 14.04wbxml2Will 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.04wxwidgets2.8Not affected
vulnerable_code_not_present
Ubuntu 14.04xotclWill 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 14expatFixed2.1.0~beta3-1DEBIAN-CVE-2012-0876
Debian 14xmlrpc-cFixed1.16.33-3.2DEBIAN-CVE-2012-0876
Debian 13expatFixed2.1.0~beta3-1DEBIAN-CVE-2012-0876
Debian 13xmlrpc-cFixed1.16.33-3.2DEBIAN-CVE-2012-0876
Debian 12expatFixed2.1.0~beta3-1DEBIAN-CVE-2012-0876
Debian 12libxmltokFix pendingDEBIAN-CVE-2012-0876
Debian 12xmlrpc-cFixed1.16.33-3.2DEBIAN-CVE-2012-0876
Red Hat Enterprise Linux 6compat-expat1Will not fix
Will not fix
Red Hat Enterprise Linux 6expatFixed0:2.0.1-11.el6_2RHSA-2012:0731
Red Hat Enterprise Linux 6expat-develFixed0:2.0.1-11.el6_2RHSA-2012:0731
Red Hat Enterprise Linux 6mingw32-expatFix pending
Affected
Red Hat Enterprise Linux 5expatFixed0:1.95.8-11.el5_8RHSA-2012:0731
Red Hat Enterprise Linux 5expat-develFixed0:1.95.8-11.el5_8RHSA-2012:0731
Red Hat Enterprise Linux 5xmlrpc-cWill not fix
Will not fix
Red Hat Enterprise Linux 4expatWill 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:

References

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.