Every CVESearch/Get API key

CVE-2012-0841

libxml2 before 2.8.0 computes hash values without restricting the ability to trigger hash...

5.0 MediumFix available

CVE-2012-0841 is a medium vulnerability (CVSS 5.0) in Xmlsoft Libxml2, published February 22, 2012. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.26%, the 88th percentile. Fixed in libxml2 2.7.8.dfsg-8.

What does this mean?
Severity
5.0 MediumCVSS 2.0, NVD
Exploit chance
3.26%EPSS, 88th percentile
Exploitation
None knownNot on CISA’s or ENISA’s lists
Fixed in
2.7.8.dfsg-8libxml2 +45 more

Description

libxml2 before 2.8.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 crafted XML data.

Exploit likelihood

3.26%Up 0.6 points since Feb 4, 2022
90%50%10%1%

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libxml2
Debian:12
before 2.7.8.dfsg-8
2.7.8.dfsg-8
libxml2
Debian:13
before 2.7.8.dfsg-8
2.7.8.dfsg-8
libxml2
Debian:14
before 2.7.8.dfsg-8
2.7.8.dfsg-8
libxml2
Debian:6.0
before 2.7.8.dfsg-2+squeeze3, plus listed versions
2.7.8.dfsg-22.7.8.dfsg-2+squeeze12.7.8.dfsg-2+squeeze2
2.7.8.dfsg-2+squeeze3
libxml2
Red Hat:enterprise_linux:5::client
before 0:2.6.26-2.1.15.el5_8.2
0:2.6.26-2.1.15.el5_8.2
libxml2-debuginfo
Red Hat:enterprise_linux:5::client
before 0:2.6.26-2.1.15.el5_8.2
0:2.6.26-2.1.15.el5_8.2
libxml2-python
Red Hat:enterprise_linux:5::client
before 0:2.6.26-2.1.15.el5_8.2
0:2.6.26-2.1.15.el5_8.2
libxml2
Red Hat:enterprise_linux:5::client_workstation
before 0:2.6.26-2.1.15.el5_8.2
0:2.6.26-2.1.15.el5_8.2
libxml2-debuginfo
Red Hat:enterprise_linux:5::client_workstation
before 0:2.6.26-2.1.15.el5_8.2
0:2.6.26-2.1.15.el5_8.2
libxml2-devel
Red Hat:enterprise_linux:5::client_workstation
before 0:2.6.26-2.1.15.el5_8.2
0:2.6.26-2.1.15.el5_8.2
Show 36 moreShow less
Affected packages
PackageAffectedFixed
libxml2
Red Hat:enterprise_linux:5::server
before 0:2.6.26-2.1.15.el5_8.2
0:2.6.26-2.1.15.el5_8.2
libxml2-debuginfo
Red Hat:enterprise_linux:5::server
before 0:2.6.26-2.1.15.el5_8.2
0:2.6.26-2.1.15.el5_8.2
libxml2-devel
Red Hat:enterprise_linux:5::server
before 0:2.6.26-2.1.15.el5_8.2
0:2.6.26-2.1.15.el5_8.2
libxml2-python
Red Hat:enterprise_linux:5::server
before 0:2.6.26-2.1.15.el5_8.2
0:2.6.26-2.1.15.el5_8.2
libxml2
Red Hat:enterprise_linux:6::client
before 0:2.7.6-4.el6_2.4
0:2.7.6-4.el6_2.4
libxml2-debuginfo
Red Hat:enterprise_linux:6::client
before 0:2.7.6-4.el6_2.4
0:2.7.6-4.el6_2.4
libxml2-python
Red Hat:enterprise_linux:6::client
before 0:2.7.6-4.el6_2.4
0:2.7.6-4.el6_2.4
libxml2-devel
Red Hat:enterprise_linux:6::client
before 0:2.7.6-4.el6_2.4
0:2.7.6-4.el6_2.4
libxml2-static
Red Hat:enterprise_linux:6::client
before 0:2.7.6-4.el6_2.4
0:2.7.6-4.el6_2.4
libxml2
Red Hat:enterprise_linux:6::computenode
before 0:2.7.6-4.el6_2.4
0:2.7.6-4.el6_2.4
libxml2-debuginfo
Red Hat:enterprise_linux:6::computenode
before 0:2.7.6-4.el6_2.4
0:2.7.6-4.el6_2.4
libxml2-python
Red Hat:enterprise_linux:6::computenode
before 0:2.7.6-4.el6_2.4
0:2.7.6-4.el6_2.4
libxml2-devel
Red Hat:enterprise_linux:6::computenode
before 0:2.7.6-4.el6_2.4
0:2.7.6-4.el6_2.4
libxml2-static
Red Hat:enterprise_linux:6::computenode
before 0:2.7.6-4.el6_2.4
0:2.7.6-4.el6_2.4
libxml2
Red Hat:enterprise_linux:6::server
before 0:2.7.6-4.el6_2.4
0:2.7.6-4.el6_2.4
libxml2-debuginfo
Red Hat:enterprise_linux:6::server
before 0:2.7.6-4.el6_2.4
0:2.7.6-4.el6_2.4
libxml2-devel
Red Hat:enterprise_linux:6::server
before 0:2.7.6-4.el6_2.4
0:2.7.6-4.el6_2.4
libxml2-python
Red Hat:enterprise_linux:6::server
before 0:2.7.6-4.el6_2.4
0:2.7.6-4.el6_2.4
libxml2-static
Red Hat:enterprise_linux:6::server
before 0:2.7.6-4.el6_2.4
0:2.7.6-4.el6_2.4
libxml2
Red Hat:enterprise_linux:6::workstation
before 0:2.7.6-4.el6_2.4
0:2.7.6-4.el6_2.4
libxml2-debuginfo
Red Hat:enterprise_linux:6::workstation
before 0:2.7.6-4.el6_2.4
0:2.7.6-4.el6_2.4
libxml2-devel
Red Hat:enterprise_linux:6::workstation
before 0:2.7.6-4.el6_2.4
0:2.7.6-4.el6_2.4
libxml2-python
Red Hat:enterprise_linux:6::workstation
before 0:2.7.6-4.el6_2.4
0:2.7.6-4.el6_2.4
libxml2-static
Red Hat:enterprise_linux:6::workstation
before 0:2.7.6-4.el6_2.4
0:2.7.6-4.el6_2.4
mingw32-libxml2
Red Hat:enterprise_linux:6::client
From an advisory covering 11 CVEs
before 0:2.7.6-6.el6_3
0:2.7.6-6.el6_3
mingw32-libxml2-debuginfo
Red Hat:enterprise_linux:6::client
From an advisory covering 11 CVEs
before 0:2.7.6-6.el6_3
0:2.7.6-6.el6_3
mingw32-libxml2-static
Red Hat:enterprise_linux:6::client
From an advisory covering 11 CVEs
before 0:2.7.6-6.el6_3
0:2.7.6-6.el6_3
mingw32-libxml2
Red Hat:enterprise_linux:6::computenode
From an advisory covering 11 CVEs
before 0:2.7.6-6.el6_3
0:2.7.6-6.el6_3
mingw32-libxml2-debuginfo
Red Hat:enterprise_linux:6::computenode
From an advisory covering 11 CVEs
before 0:2.7.6-6.el6_3
0:2.7.6-6.el6_3
mingw32-libxml2-static
Red Hat:enterprise_linux:6::computenode
From an advisory covering 11 CVEs
before 0:2.7.6-6.el6_3
0:2.7.6-6.el6_3
mingw32-libxml2
Red Hat:enterprise_linux:6::server
From an advisory covering 11 CVEs
before 0:2.7.6-6.el6_3
0:2.7.6-6.el6_3
mingw32-libxml2-debuginfo
Red Hat:enterprise_linux:6::server
From an advisory covering 11 CVEs
before 0:2.7.6-6.el6_3
0:2.7.6-6.el6_3
mingw32-libxml2-static
Red Hat:enterprise_linux:6::server
From an advisory covering 11 CVEs
before 0:2.7.6-6.el6_3
0:2.7.6-6.el6_3
mingw32-libxml2
Red Hat:enterprise_linux:6::workstation
From an advisory covering 11 CVEs
before 0:2.7.6-6.el6_3
0:2.7.6-6.el6_3
mingw32-libxml2-debuginfo
Red Hat:enterprise_linux:6::workstation
From an advisory covering 11 CVEs
before 0:2.7.6-6.el6_3
0:2.7.6-6.el6_3
mingw32-libxml2-static
Red Hat:enterprise_linux:6::workstation
From an advisory covering 11 CVEs
before 0:2.7.6-6.el6_3
0:2.7.6-6.el6_3

What each source reports

NVD Score used5.0

libxml2 before 2.8.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 crafted XML data.

Record
CVE-2012-0841
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-399
Updated
2026-11-02
CVE ListNo score

libxml2 before 2.8.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 crafted XML data.

Record
CVE-2012-0841
Updated
2026-11-02
EUVDEUVD-2012-0866No score

libxml2 before 2.8.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 crafted XML data.

Record
EUVD-2012-0866
Updated
2026-11-03
GitHub AdvisoriesGHSA-339p-rqfr-wg3jNo score

libxml2 before 2.8.0 computes hash values without restricting the ability to trigger hash...

libxml2 before 2.8.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 crafted XML data.

Record
GHSA-339p-rqfr-wg3j
Updated
2026-11-02
OSVNo score

libxml2 before 2.8.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 crafted XML data.

Record
CVE-2012-0841
Updated
2026-11-02
OSVDEBIAN-CVE-2012-0841No score

libxml2 before 2.8.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 crafted XML data.

Record
DEBIAN-CVE-2012-0841
Updated
2026-11-02

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

Show 65 moreShow less
MoveEnter Open