Skip to content
Fencer Intel
medium 5.0

CVE-2012-0841 json

libxml2 before 2.8.0 computes hash values without restricting the ability to trigger hash collisions predictably, which allows context-depe…

published 2012-12-21 13 y ago modified 2026-06-16 4 mo ago also EUVD-2012-0866

cvss
5.0
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.3%
EPSS 3.3% chance of exploitation in 30 days, percentile 88%
public exploits
0
none known

Summary

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.

Patch / fix

  • libxml2 Debian 14, Debian 13, Debian 12 2.7.8.dfsg-8

debian advisories DEBIAN-CVE-2012-0841

  • mingw32-libxml2 RHEL 6 2.7.6-6.el6_3
  • libxml2 RHEL 5 2.6.26-2.1.15.el5_8.2
  • libxml2 RHEL 6 2.7.6-4.el6_2.4
  • libxml2-python RHEL 5 2.6.26-2.1.15.el5_8.2
  • libxml2-python RHEL 6 2.7.6-4.el6_2.4

red hat advisories RHSA-2013:0217RHSA-2012:0324

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2012-0841 updated cvss 5.0

libxml2: hash table collisions CPU usage DoS

  • Red Hat Enterprise Linux 4 libxml2
    affected: no fix available
  • Red Hat Enterprise Linux (v. 5 server) libxml2 2.6.26-2.1.15.el5_8.2, libxml2-python 2.6.26-2.1.15.el5_8.2 Red Hat Enterprise Linux Desktop (v. 5 client) libxml2 2.6.26-2.1.15.el5_8.2, libxml2-python 2.6.26-2.1.15.el5_8.2 Red Hat Enterprise Linux Desktop (v. 6) libxml2 2.7.6-4.el6_2.4, libxml2-python 2.7.6-4.el6_2.4 Red Hat Enterprise Linux Desktop Optional (v. 6) libxml2 2.7.6-4.el6_2.4, mingw32-libxml2 2.7.6-6.el6_3 Red Hat Enterprise Linux HPC Node (v. 6) libxml2 2.7.6-4.el6_2.4, libxml2-python 2.7.6-4.el6_2.4 Red Hat Enterprise Linux HPC Node Optional (v. 6) libxml2 2.7.6-4.el6_2.4, mingw32-libxml2 2.7.6-6.el6_3
    +5 more products
    Red Hat Enterprise Linux Server (v. 6) libxml2 2.7.6-4.el6_2.4, libxml2-python 2.7.6-4.el6_2.4 Red Hat Enterprise Linux Server Optional (v. 6) libxml2 2.7.6-4.el6_2.4, mingw32-libxml2 2.7.6-6.el6_3 Red Hat Enterprise Linux Workstation (v. 6) libxml2 2.7.6-4.el6_2.4, libxml2-python 2.7.6-4.el6_2.4 Red Hat Enterprise Linux Workstation Optional (v. 6) libxml2 2.7.6-4.el6_2.4, mingw32-libxml2 2.7.6-6.el6_3 Red Hat RHEL Desktop Workstation (v. 5 client) libxml2 2.6.26-2.1.15.el5_8.2
    fixed: vendor fix RHSA-2012:0324

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.26% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

Weakness
  • CWE-399 Resource Management Errors

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.