Every CVE Search/ Get API key

CVE-2012-0876

The XML parser (xmlparse.c) in expat before 2.1.0 computes hash values without restricting the...

4.3 MediumFix available

CVE-2012-0876 is a medium vulnerability (CVSS 4.3) in Canonical Ubuntu Linux, published July 3, 2012. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 5.72%, the 93rd percentile. Fixed in expat 2.1.0~beta3-1.

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.

Exploit likelihood

5.72%Up 3.0 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 4.3

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.

Record
CVE-2012-0876
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-400
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2012-0876
Updated
2026-11-02
EUVDEUVD-2012-0901 No score

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.

Record
EUVD-2012-0901
Updated
2026-11-03
GitHub AdvisoriesGHSA-q8w9-7fww-v592 No score

The XML parser (xmlparse.c) in expat before 2.1.0 computes hash values without restricting the...

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.

Record
GHSA-q8w9-7fww-v592
Weakness
CWE-400
Updated
2026-11-02
OSVRHSA-2012:0731 7.5

Red Hat Security Advisory: expat security update

Record
RHSA-2012:0731
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSV No score

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.

Record
CVE-2012-0876
Updated
2026-11-02
Show 5 moreShow less
OSVDEBIAN-CVE-2012-0876 No score

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.

Record
DEBIAN-CVE-2012-0876
Updated
2026-11-02
OSVopenSUSE-SU-2024:10077-1 No score

expat-2.2.0-3.1 on GA media

These are all security issues fixed in the expat-2.2.0-3.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10077-1
Updated
2026-11-02
OSVPSF-2012-4 No score

Expat 2.2.1

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.

Record
PSF-2012-4
Updated
2026-11-02
OSVSUSE-SU-2020:0497-1 No score

Security update for python3

This update for python3 fixes the following issues:

Update to 3.4.10 (jsc#SLE-9427, bsc#1159208) from 3.4.6:

Security issues fixed:

  • Update expat copy from 2.1.1 to 2.2.0 to fix the following issues: CVE-2012-0876, CVE-2016-0718, CVE-2016-4472, CVE-2017-9233, CVE-2016-9063
  • CVE-2017-1000158: Fix an integer overflow in thePyString_DecodeEscape function in stringobject.c, resulting in heap-based bufferoverflow (bsc#1068664).
Record
SUSE-SU-2020:0497-1
Updated
2026-11-02
OSVUBUNTU-CVE-2012-0876 No score

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.

Record
UBUNTU-CVE-2012-0876
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
expat
Debian:12
before 2.1.0~beta3-1
2.1.0~beta3-1
expat
Debian:13
before 2.1.0~beta3-1
2.1.0~beta3-1
expat
Debian:14
before 2.1.0~beta3-1
2.1.0~beta3-1
libxmltok
Debian:12
All versions, plus listed versions
1.2-41.2-4.11.2-4.1~exp11.2-4.2
None known
xmlrpc-c
Debian:12
before 1.16.33-3.2
1.16.33-3.2
xmlrpc-c
Debian:13
before 1.16.33-3.2
1.16.33-3.2
xmlrpc-c
Debian:14
before 1.16.33-3.2
1.16.33-3.2
expat
Debian:6.0
before 2.0.1-7+squeeze1, plus listed versions
2.0.1-7
2.0.1-7+squeeze1
expat
Red Hat:enterprise_linux:5::client
before 0:1.95.8-11.el5_8
0:1.95.8-11.el5_8
expat-debuginfo
Red Hat:enterprise_linux:5::client
before 0:1.95.8-11.el5_8
0:1.95.8-11.el5_8
Show 100 moreShow less
Affected packages
PackageAffectedFixed
expat
Red Hat:enterprise_linux:5::client_workstation
before 0:1.95.8-11.el5_8
0:1.95.8-11.el5_8
expat-debuginfo
Red Hat:enterprise_linux:5::client_workstation
before 0:1.95.8-11.el5_8
0:1.95.8-11.el5_8
expat-devel
Red Hat:enterprise_linux:5::client_workstation
before 0:1.95.8-11.el5_8
0:1.95.8-11.el5_8
expat
Red Hat:enterprise_linux:5::server
before 0:1.95.8-11.el5_8
0:1.95.8-11.el5_8
expat-debuginfo
Red Hat:enterprise_linux:5::server
before 0:1.95.8-11.el5_8
0:1.95.8-11.el5_8
expat-devel
Red Hat:enterprise_linux:5::server
before 0:1.95.8-11.el5_8
0:1.95.8-11.el5_8
expat
Red Hat:enterprise_linux:6::client
before 0:2.0.1-11.el6_2
0:2.0.1-11.el6_2
expat-debuginfo
Red Hat:enterprise_linux:6::client
before 0:2.0.1-11.el6_2
0:2.0.1-11.el6_2
expat-devel
Red Hat:enterprise_linux:6::client
before 0:2.0.1-11.el6_2
0:2.0.1-11.el6_2
expat
Red Hat:enterprise_linux:6::computenode
before 0:2.0.1-11.el6_2
0:2.0.1-11.el6_2
expat-debuginfo
Red Hat:enterprise_linux:6::computenode
before 0:2.0.1-11.el6_2
0:2.0.1-11.el6_2
expat-devel
Red Hat:enterprise_linux:6::computenode
before 0:2.0.1-11.el6_2
0:2.0.1-11.el6_2
expat
Red Hat:enterprise_linux:6::server
before 0:2.0.1-11.el6_2
0:2.0.1-11.el6_2
expat-debuginfo
Red Hat:enterprise_linux:6::server
before 0:2.0.1-11.el6_2
0:2.0.1-11.el6_2
expat-devel
Red Hat:enterprise_linux:6::server
before 0:2.0.1-11.el6_2
0:2.0.1-11.el6_2
expat
Red Hat:enterprise_linux:6::workstation
before 0:2.0.1-11.el6_2
0:2.0.1-11.el6_2
expat-debuginfo
Red Hat:enterprise_linux:6::workstation
before 0:2.0.1-11.el6_2
0:2.0.1-11.el6_2
expat-devel
Red Hat:enterprise_linux:6::workstation
before 0:2.0.1-11.el6_2
0:2.0.1-11.el6_2
python3
SUSE:HPE Helion OpenStack 8
before 3.4.10-25.39.3
3.4.10-25.39.3
python3-base
SUSE:HPE Helion OpenStack 8
before 3.4.10-25.39.2
3.4.10-25.39.2
python3
SUSE:OpenStack Cloud 7
before 3.4.10-25.39.3
3.4.10-25.39.3
python3-base
SUSE:OpenStack Cloud 7
before 3.4.10-25.39.2
3.4.10-25.39.2
python3
SUSE:OpenStack Cloud 8
before 3.4.10-25.39.3
3.4.10-25.39.3
python3-base
SUSE:OpenStack Cloud 8
before 3.4.10-25.39.2
3.4.10-25.39.2
python3
SUSE:OpenStack Cloud Crowbar 8
before 3.4.10-25.39.3
3.4.10-25.39.3
python3-base
SUSE:OpenStack Cloud Crowbar 8
before 3.4.10-25.39.2
3.4.10-25.39.2
python3
SUSE:Linux Enterprise Desktop 12 SP4
before 3.4.10-25.39.3
3.4.10-25.39.3
python3-base
SUSE:Linux Enterprise Desktop 12 SP4
before 3.4.10-25.39.2
3.4.10-25.39.2
python3
SUSE:Linux Enterprise Module for Web and Scripting 12
before 3.4.10-25.39.3
3.4.10-25.39.3
python3-base
SUSE:Linux Enterprise Module for Web and Scripting 12
before 3.4.10-25.39.2
3.4.10-25.39.2
python3
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
before 3.4.10-25.39.3
3.4.10-25.39.3
python3-base
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
before 3.4.10-25.39.2
3.4.10-25.39.2
python3
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 3.4.10-25.39.3
3.4.10-25.39.3
python3-base
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 3.4.10-25.39.2
3.4.10-25.39.2
python3
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 3.4.10-25.39.3
3.4.10-25.39.3
python3-base
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 3.4.10-25.39.2
3.4.10-25.39.2
python3
SUSE:Linux Enterprise Software Development Kit 12 SP4
before 3.4.10-25.39.3
3.4.10-25.39.3
python3-base
SUSE:Linux Enterprise Software Development Kit 12 SP4
before 3.4.10-25.39.2
3.4.10-25.39.2
python3
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 3.4.10-25.39.3
3.4.10-25.39.3
python3-base
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 3.4.10-25.39.2
3.4.10-25.39.2
python3
SUSE:Linux Enterprise Server 12 SP1-LTSS
before 3.4.10-25.39.3
3.4.10-25.39.3
python3-base
SUSE:Linux Enterprise Server 12 SP1-LTSS
before 3.4.10-25.39.2
3.4.10-25.39.2
python3
SUSE:Linux Enterprise Server 12 SP2-LTSS
before 3.4.10-25.39.3
3.4.10-25.39.3
python3-base
SUSE:Linux Enterprise Server 12 SP2-LTSS
before 3.4.10-25.39.2
3.4.10-25.39.2
python3
SUSE:Linux Enterprise Server 12 SP2-BCL
before 3.4.10-25.39.3
3.4.10-25.39.3
python3-base
SUSE:Linux Enterprise Server 12 SP2-BCL
before 3.4.10-25.39.2
3.4.10-25.39.2
python3
SUSE:Linux Enterprise Server 12 SP3-LTSS
before 3.4.10-25.39.3
3.4.10-25.39.3
python3-base
SUSE:Linux Enterprise Server 12 SP3-LTSS
before 3.4.10-25.39.2
3.4.10-25.39.2
python3
SUSE:Linux Enterprise Server 12 SP3-BCL
before 3.4.10-25.39.3
3.4.10-25.39.3
python3-base
SUSE:Linux Enterprise Server 12 SP3-BCL
before 3.4.10-25.39.2
3.4.10-25.39.2
python3
SUSE:Linux Enterprise Server 12 SP4
before 3.4.10-25.39.3
3.4.10-25.39.3
python3-base
SUSE:Linux Enterprise Server 12 SP4
before 3.4.10-25.39.2
3.4.10-25.39.2
python3
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
before 3.4.10-25.39.3
3.4.10-25.39.3
python3-base
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
before 3.4.10-25.39.2
3.4.10-25.39.2
python3
SUSE:Linux Enterprise Server 12 SP5
before 3.4.10-25.39.3
3.4.10-25.39.3
python3-base
SUSE:Linux Enterprise Server 12 SP5
before 3.4.10-25.39.2
3.4.10-25.39.2
python3
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 3.4.10-25.39.3
3.4.10-25.39.3
python3-base
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 3.4.10-25.39.2
3.4.10-25.39.2
python3
SUSE:Enterprise Storage 5
before 3.4.10-25.39.3
3.4.10-25.39.3
python3-base
SUSE:Enterprise Storage 5
before 3.4.10-25.39.2
3.4.10-25.39.2
coin3
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
3.1.4~abc9f50-33.1.4~abc9f50-43.1.4~abc9f50-4ubuntu23.1.4~abc9f50-4ubuntu2+esm13.1.4~abc9f50-4ubuntu2+esm2
None known
vnc4
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
4.1.1+xorg4.3.0-37ubuntu54.1.1+xorg4.3.0-37ubuntu5.0.14.1.1+xorg4.3.0-37ubuntu5.0.24.1.1+xorg4.3.0-37ubuntu5.0.2+esm1
None known
ayttm
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
0.6.3-3build10.6.3-3ubuntu0.1~esm1
None known
cableswig
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
0.1.0+git20150808-10.1.0+git20150808-20.1.0+git20150808-2ubuntu0.1~esm1
None known
cadaver
Ubuntu:16.04:LTS
All versions, plus listed versions
0.23.3-2ubuntu2
None known
coin3
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
3.1.4~abc9f50+dfsg1-13.1.4~abc9f50+dfsg1-1ubuntu0.1~esm13.1.4~abc9f50+dfsg1-1ubuntu0.1~esm2
None known
insighttoolkit
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
3.20.1+git20120521-63.20.1+git20120521-6build13.20.1+git20120521-6ubuntu0.1~esm1
None known
matanza
Ubuntu:16.04:LTS
All versions, plus listed versions
0.13+ds1-5
None known
swish-e
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
2.4.7-42.4.7-4build12.4.7-4ubuntu0.1~esm1
None known
vnc4
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
4.1.1+xorg4.3.0-37.3ubuntu24.1.1+xorg4.3.0-37.3ubuntu2.1+esm1
None known
cadaver
Ubuntu:18.04:LTS
All versions, plus listed versions
0.23.3-2ubuntu3
None known
coin3
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
3.1.4~abc9f50+dfsg1-23.1.4~abc9f50+dfsg2-13.1.4~abc9f50+dfsg3-13.1.4~abc9f50+dfsg3-23.1.4~abc9f50+dfsg3-2ubuntu0.1~esm1
None known
matanza
Ubuntu:18.04:LTS
All versions, plus listed versions
0.13+ds1-5build10.13+ds1-6
None known
swish-e
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
2.4.7-5ubuntu12.4.7-5ubuntu1+esm1
None known
vnc4
Ubuntu:18.04:LTS
All versions, plus listed versions
4.1.1+xorg4.3.0-37.3ubuntu2
None known
cadaver
Ubuntu:20.04:LTS
All versions, plus listed versions
0.23.3-2.1build1
None known
matanza
Ubuntu:20.04:LTS
All versions, plus listed versions
0.13+ds1-60.13+ds2-1
None known
swish-e
Ubuntu:Pro:20.04:LTS
All versions, plus listed versions
2.4.7-6build12.4.7-6build22.4.7-6ubuntu0.1~esm1
None known
cadaver
Ubuntu:22.04:LTS
All versions, plus listed versions
0.23.3-2.1build1
None known
matanza
Ubuntu:22.04:LTS
All versions, plus listed versions
0.13+ds2-1
None known
swish-e
Ubuntu:Pro:22.04:LTS
All versions, plus listed versions
2.4.7-6build32.4.7-6.12.4.7-6.1build12.4.7-6.1ubuntu0.1~esm1
None known
cadaver
Ubuntu:24.04:LTS
All versions, plus listed versions
0.24+dfsg-20.24+dfsg-30.24+dfsg-3build10.24+dfsg-3build2
None known
matanza
Ubuntu:24.04:LTS
All versions, plus listed versions
0.13+ds2-10.13+ds2-1build10.13+ds2-1build2
None known
swish-e
Ubuntu:Pro:24.04:LTS
All versions, plus listed versions
2.4.7-6.22.4.7-6.2build12.4.7-6.2build22.4.7-6.2build32.4.7-6.2ubuntu0.1~esm1
None known
cadaver
Ubuntu:25.10
All versions, plus listed versions
0.26+dfsg-2
None known
matanza
Ubuntu:25.10
All versions, plus listed versions
0.13+ds2-2
None known
paraview
Ubuntu:25.10
All versions, plus listed versions
5.13.2+dfsg-2ubuntu15.13.2+dfsg-2ubuntu25.13.2+dfsg-3
None known
sitecopy
Ubuntu:25.10
All versions, plus listed versions
1:0.16.6-161:0.16.6-16build1
None known
swish-e
Ubuntu:25.10
All versions, plus listed versions
2.4.7-6.32.4.7-6.3build12.4.7-7
None known
cadaver
Ubuntu:26.10
All versions, plus listed versions
0.28+dfsg-2
None known
matanza
Ubuntu:26.10
All versions, plus listed versions
0.13+ds2-2build1
None known
paraview
Ubuntu:26.10
All versions, plus listed versions
6.0.1+dfsg1-76.0.1+dfsg1-86.1.1+dfsg1-2build1
None known
sitecopy
Ubuntu:26.10
All versions, plus listed versions
1:0.16.6-16build1
None known
swish-e
Ubuntu:26.10
All versions, plus listed versions
2.4.7-7.12.4.7-7.22.4.7-7.2build1
None known
cadaver
Ubuntu:26.04:LTS
All versions, plus listed versions
0.26+dfsg-20.28+dfsg-10.28+dfsg-2
None known
matanza
Ubuntu:26.04:LTS
All versions, plus listed versions
0.13+ds2-20.13+ds2-2build1
None known
paraview
Ubuntu:26.04:LTS
All versions, plus listed versions
5.13.2+dfsg-35.13.2+dfsg-3ubuntu15.13.2+dfsg-3.16.0.1+dfsg1-6ubuntu16.0.1+dfsg1-7
None known
sitecopy
Ubuntu:26.04:LTS
All versions, plus listed versions
1:0.16.6-16build1
None known
swish-e
Ubuntu:Pro:26.04:LTS
All versions, plus listed versions
2.4.7-72.4.7-7.12.4.7-7.1ubuntu0.1~esm1
None known
expat
openSUSE:Tumbleweed
before 2.2.0-3.1
2.2.0-3.1

History

History
WhenChangedSources
2026-11-03aliasesEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

Show 57 moreShow less
MoveEnter Open