Home / Xmlsoft / Libxml2 / CVE-2012-0841
CVE-2012-0841: is it exploited, and which versions of Xmlsoft Libxml2 are affected and fixed?
CVE-2012-0841 is a vulnerability in Xmlsoft Libxml2. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 06:38 UTC). Affected: libxml2 through 2.7.8, libxml2 1.7.0, libxml2 1.7.1 and 38 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.0, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:48 UTC.
What is CVE-2012-0841?
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.
From the CVE record by redhat, last updated August 6, 2024, 18:38 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| xmlsoft | libxml2 | through 2.7.8 | application |
| xmlsoft | libxml2 | 1.7.0 | application |
| xmlsoft | libxml2 | 1.7.1 | application |
| xmlsoft | libxml2 | 1.7.2 | application |
| xmlsoft | libxml2 | 1.7.3 | application |
| xmlsoft | libxml2 | 1.7.4 | application |
| xmlsoft | libxml2 | 1.8.0 | application |
| xmlsoft | libxml2 | 1.8.1 | application |
| xmlsoft | libxml2 | 1.8.2 | application |
| xmlsoft | libxml2 | 1.8.3 | application |
| xmlsoft | libxml2 | 1.8.4 | application |
| xmlsoft | libxml2 | 1.8.5 | application |
| xmlsoft | libxml2 | 1.8.6 | application |
| xmlsoft | libxml2 | 1.8.7 | application |
| xmlsoft | libxml2 | 1.8.9 | application |
| xmlsoft | libxml2 | 1.8.10 | application |
| xmlsoft | libxml2 | 1.8.13 | application |
| xmlsoft | libxml2 | 1.8.14 | application |
| xmlsoft | libxml2 | 1.8.16 | application |
| xmlsoft | libxml2 | 2.0.0 | application |
| xmlsoft | libxml2 | 2.1.0 | application |
| xmlsoft | libxml2 | 2.1.1 | application |
| xmlsoft | libxml2 | 2.2.0 | application |
| xmlsoft | libxml2 | 2.2.1 | application |
| xmlsoft | libxml2 | 2.2.2 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:38 UTC.
How severe is CVE-2012-0841?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2012-0841 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.26% probability of exploitation activity in the next 30 days, percentile 88.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- APPLE-SA-2013-10-22-8 vendor-advisory, x_refsource_APPLE
- SUSE-SU-2013:1627 vendor-advisory, x_refsource_SUSE
- RHSA-2012:0324 vendor-advisory, x_refsource_REDHAT
- [oss-security] 20120222 libxml2: hash table collisions CPU usage DoS mailing-list, x_refsource_MLIST
- RHSA-2013:0217 vendor-advisory, x_refsource_REDHAT
- http://support.apple.com/kb/HT6001 x_refsource_CONFIRM
- http://xmlsoft.org/news.html x_refsource_CONFIRM
- 1026723 vdb-entry, x_refsource_SECTRACK
- 54886 third-party-advisory, x_refsource_SECUNIA
- http://www.oracle.com/technetwork/topics/security/cpuapr2013-1899555.html x_refsource_CONFIRM
- http://support.apple.com/kb/HT5934 x_refsource_CONFIRM
- DSA-2417 vendor-advisory, x_refsource_DEBIAN
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=660846 x_refsource_MISC
- https://blogs.oracle.com/sunsecurity/entry/cve_2012_0841_denial_of x_refsource_CONFIRM
- 55568 third-party-advisory, x_refsource_SECUNIA
- 52107 vdb-entry, x_refsource_BID
- MDVSA-2013:150 vendor-advisory, x_refsource_MANDRIVA
- http://git.gnome.org/browse/libxml2/commit/?id=8973d58b7498fa5100a876815476b81fd1a2412a x_refsource_CONFIRM
- http://www.xerox.com/download/security/security-bulletin/16287-4d6b7b0c81f7b/cert_XRX13-003_v1.0.pdf x_refsource_CONFIRM
- APPLE-SA-2013-09-18-2 vendor-advisory, x_refsource_APPLE
When was it published, and where is the official record?
- Reserved
- January 19, 2012
- Published
- December 21, 2012, 02:00 UTC
- CVE record updated
- August 6, 2024, 18:38 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:38 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:48 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Libxml2?
- Sep 5, 2026CVE-2026-86144 xmlsoft libxml2: incorrect resource transfer
- Sep 5, 2026CVE-2026-86143 xmlsoft libxml2: integer Coercion Error
- Sep 5, 2026CVE-2026-86142 xmlsoft libxml2: heap buffer overflow
- Sep 5, 2026CVE-2026-86141 xmlsoft libxml2: unchecked return value
- Sep 5, 2026CVE-2026-86140 xmlsoft libxml2: stack buffer overflow
- Sep 5, 2026CVE-2026-86139 xmlsoft libxml2: integer overflow
- Sep 5, 2026CVE-2026-86138 xmlsoft libxml2: integer overflow
- Sep 5, 2026CVE-2026-86137 xmlsoft libxml2: out-of-bounds read
Questions about CVE-2012-0841
Is CVE-2012-0841 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 3.26% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Xmlsoft Libxml2 are affected by CVE-2012-0841?
libxml2 through 2.7.8, libxml2 1.7.0, libxml2 1.7.1, libxml2 1.7.2, libxml2 1.7.3, libxml2 1.7.4 and 35 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2012-0841?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2012-0841?
Medium (5.0, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2012-0841?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.