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 libxml2affected: 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_3fixed: vendor fix RHSA-2012:0324
+5 more productsfewer
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
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
- git.gnome.org /browse/libxml2/commit/?id=8973d58b7498fa5100a876815476b81fd1a2412a
-
securityfocus.com
/bid/52107
vdb-entry, patch
-
lists.apple.com
/archives/security-announce/2013/Oct/msg00009.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2013-11/msg00002.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2012-0324.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2013-0217.html
vendor-advisory
-
debian.org
/security/2012/dsa-2417
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2013:150
vendor-advisory
-
lists.apple.com
/archives/security-announce/2013/Sep/msg00006.html
vendor-advisory
-
openwall.com
/lists/oss-security/2012/02/22/1
mailing-list
- support.apple.com /kb/HT6001
- xmlsoft.org /news.html
-
securitytracker.com
/id?1026723
vdb-entry
-
secunia.com
/advisories/54886
third-party-advisory
- oracle.com /technetwork/topics/security/cpuapr2013-1899555.html
- support.apple.com /kb/HT5934
- bugs.debian.org /cgi-bin/bugreport.cgi?bug=660846
- blogs.oracle.com /sunsecurity/entry/cve_2012_0841_denial_of
-
secunia.com
/advisories/55568
third-party-advisory
- xerox.com /download/security/security-bulletin/16287-4d6b7b0c81f7b/cert_XRX13-003_v1.0.pdf
Sources
- CVE List CVE-2012-0841
- NVD CVE-2012-0841
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.