CVE-2012-0841
libxml2 before 2.8.0 computes hash values without restricting the ability to trigger hash...
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.
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
What each source reports
NVD Score used
5.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 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-399
- Updated
- 2026-11-02
CVE List No 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-0866 No 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-wg3j No 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
OSV No 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-0841 No 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
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libxml2Debian:12 |
before 2.7.8.dfsg-8 | 2.7.8.dfsg-8 |
libxml2Debian:13 |
before 2.7.8.dfsg-8 | 2.7.8.dfsg-8 |
libxml2Debian:14 |
before 2.7.8.dfsg-8 | 2.7.8.dfsg-8 |
libxml2Debian: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 |
libxml2Red 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-debuginfoRed 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-pythonRed 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 |
libxml2Red 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-debuginfoRed 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-develRed 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
| Package | Affected | Fixed |
|---|---|---|
libxml2Red 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-debuginfoRed 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-develRed 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-pythonRed 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 |
libxml2Red Hat:enterprise_linux:6::client |
before 0:2.7.6-4.el6_2.4 | 0:2.7.6-4.el6_2.4 |
libxml2-debuginfoRed Hat:enterprise_linux:6::client |
before 0:2.7.6-4.el6_2.4 | 0:2.7.6-4.el6_2.4 |
libxml2-pythonRed Hat:enterprise_linux:6::client |
before 0:2.7.6-4.el6_2.4 | 0:2.7.6-4.el6_2.4 |
libxml2-develRed Hat:enterprise_linux:6::client |
before 0:2.7.6-4.el6_2.4 | 0:2.7.6-4.el6_2.4 |
libxml2-staticRed Hat:enterprise_linux:6::client |
before 0:2.7.6-4.el6_2.4 | 0:2.7.6-4.el6_2.4 |
libxml2Red Hat:enterprise_linux:6::computenode |
before 0:2.7.6-4.el6_2.4 | 0:2.7.6-4.el6_2.4 |
libxml2-debuginfoRed Hat:enterprise_linux:6::computenode |
before 0:2.7.6-4.el6_2.4 | 0:2.7.6-4.el6_2.4 |
libxml2-pythonRed Hat:enterprise_linux:6::computenode |
before 0:2.7.6-4.el6_2.4 | 0:2.7.6-4.el6_2.4 |
libxml2-develRed Hat:enterprise_linux:6::computenode |
before 0:2.7.6-4.el6_2.4 | 0:2.7.6-4.el6_2.4 |
libxml2-staticRed Hat:enterprise_linux:6::computenode |
before 0:2.7.6-4.el6_2.4 | 0:2.7.6-4.el6_2.4 |
libxml2Red Hat:enterprise_linux:6::server |
before 0:2.7.6-4.el6_2.4 | 0:2.7.6-4.el6_2.4 |
libxml2-debuginfoRed Hat:enterprise_linux:6::server |
before 0:2.7.6-4.el6_2.4 | 0:2.7.6-4.el6_2.4 |
libxml2-develRed Hat:enterprise_linux:6::server |
before 0:2.7.6-4.el6_2.4 | 0:2.7.6-4.el6_2.4 |
libxml2-pythonRed Hat:enterprise_linux:6::server |
before 0:2.7.6-4.el6_2.4 | 0:2.7.6-4.el6_2.4 |
libxml2-staticRed Hat:enterprise_linux:6::server |
before 0:2.7.6-4.el6_2.4 | 0:2.7.6-4.el6_2.4 |
libxml2Red Hat:enterprise_linux:6::workstation |
before 0:2.7.6-4.el6_2.4 | 0:2.7.6-4.el6_2.4 |
libxml2-debuginfoRed Hat:enterprise_linux:6::workstation |
before 0:2.7.6-4.el6_2.4 | 0:2.7.6-4.el6_2.4 |
libxml2-develRed Hat:enterprise_linux:6::workstation |
before 0:2.7.6-4.el6_2.4 | 0:2.7.6-4.el6_2.4 |
libxml2-pythonRed Hat:enterprise_linux:6::workstation |
before 0:2.7.6-4.el6_2.4 | 0:2.7.6-4.el6_2.4 |
libxml2-staticRed Hat:enterprise_linux:6::workstation |
before 0:2.7.6-4.el6_2.4 | 0:2.7.6-4.el6_2.4 |
mingw32-libxml2Red Hat:enterprise_linux:6::client |
before 0:2.7.6-6.el6_3 | 0:2.7.6-6.el6_3 |
mingw32-libxml2-debuginfoRed Hat:enterprise_linux:6::client |
before 0:2.7.6-6.el6_3 | 0:2.7.6-6.el6_3 |
mingw32-libxml2-staticRed Hat:enterprise_linux:6::client |
before 0:2.7.6-6.el6_3 | 0:2.7.6-6.el6_3 |
mingw32-libxml2Red Hat:enterprise_linux:6::computenode |
before 0:2.7.6-6.el6_3 | 0:2.7.6-6.el6_3 |
mingw32-libxml2-debuginfoRed Hat:enterprise_linux:6::computenode |
before 0:2.7.6-6.el6_3 | 0:2.7.6-6.el6_3 |
mingw32-libxml2-staticRed Hat:enterprise_linux:6::computenode |
before 0:2.7.6-6.el6_3 | 0:2.7.6-6.el6_3 |
mingw32-libxml2Red Hat:enterprise_linux:6::server |
before 0:2.7.6-6.el6_3 | 0:2.7.6-6.el6_3 |
mingw32-libxml2-debuginfoRed Hat:enterprise_linux:6::server |
before 0:2.7.6-6.el6_3 | 0:2.7.6-6.el6_3 |
mingw32-libxml2-staticRed Hat:enterprise_linux:6::server |
before 0:2.7.6-6.el6_3 | 0:2.7.6-6.el6_3 |
mingw32-libxml2Red Hat:enterprise_linux:6::workstation |
before 0:2.7.6-6.el6_3 | 0:2.7.6-6.el6_3 |
mingw32-libxml2-debuginfoRed Hat:enterprise_linux:6::workstation |
before 0:2.7.6-6.el6_3 | 0:2.7.6-6.el6_3 |
mingw32-libxml2-staticRed Hat:enterprise_linux:6::workstation |
before 0:2.7.6-6.el6_3 | 0:2.7.6-6.el6_3 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
lists.apple.com/archives/security-announce/2013/Oct/msg00009.html
lists.opensuse.org/opensuse-security-announce/2013-11/msg00002.html
rhn.redhat.com/errata/RHSA-2012-0324.html
openwall.com/lists/oss-security/2012/02/22/1
rhn.redhat.com/errata/RHSA-2013-0217.html
support.apple.com/kb/HT6001
Show 65 moreShow less
xmlsoft.org/news.html
securitytracker.com/id?1026723
secunia.com/advisories/54886
oracle.com/technetwork/topics/security/cpuapr2013-1899555.html
support.apple.com/kb/HT5934
debian.org/security/2012/dsa-2417
bugs.debian.org/cgi-bin/bugreport.cgi?bug=660846
blogs.oracle.com/sunsecurity/entry/cve_2012_0841_denial_of
secunia.com/advisories/55568
securityfocus.com/bid/52107
mandriva.com/security/advisories?name=MDVSA-2013:150
git.gnome.org/browse/libxml2/commit?id=8973d58b7498fa5100a876815476b81fd1a2412a
xerox.com/download/security/security-bulletin/16287-4d6b7b0c81f7b/cert_XRX13-003_v1.0.pdf
lists.apple.com/archives/security-announce/2013/Sep/msg00006.html
nvd.nist.gov/vuln/detail/CVE-2012-0841
access.redhat.com/errata/RHSA-2012:0324
access.redhat.com/errata/RHSA-2013:0217
access.redhat.com/security/cve/CVE-2012-0841
bugzilla.redhat.com/show_bug.cgi?id=787067
github.com/advisories/GHSA-339p-rqfr-wg3j
security-tracker.debian.org/tracker/CVE-2012-0841
access.redhat.com/security/updates/classification
security.access.redhat.com/data/csaf/v2/advisories/2012/rhsa-2012_0324.json
cve.org/CVERecord?id=CVE-2012-0841
bugzilla.redhat.com/show_bug.cgi?id=645341
bugzilla.redhat.com/show_bug.cgi?id=665963
bugzilla.redhat.com/show_bug.cgi?id=709747
bugzilla.redhat.com/show_bug.cgi?id=724906
bugzilla.redhat.com/show_bug.cgi?id=735712
bugzilla.redhat.com/show_bug.cgi?id=735751
bugzilla.redhat.com/show_bug.cgi?id=767387
bugzilla.redhat.com/show_bug.cgi?id=771896
bugzilla.redhat.com/show_bug.cgi?id=822109
bugzilla.redhat.com/show_bug.cgi?id=880466
security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_0217.json
access.redhat.com/security/cve/CVE-2010-4008
cve.org/CVERecord?id=CVE-2010-4008
nvd.nist.gov/vuln/detail/CVE-2010-4008
access.redhat.com/security/cve/CVE-2010-4494
cve.org/CVERecord?id=CVE-2010-4494
nvd.nist.gov/vuln/detail/CVE-2010-4494
access.redhat.com/security/cve/CVE-2011-0216
cve.org/CVERecord?id=CVE-2011-0216
nvd.nist.gov/vuln/detail/CVE-2011-0216
access.redhat.com/security/cve/CVE-2011-1944
cve.org/CVERecord?id=CVE-2011-1944
nvd.nist.gov/vuln/detail/CVE-2011-1944
access.redhat.com/security/cve/CVE-2011-2821
cve.org/CVERecord?id=CVE-2011-2821
nvd.nist.gov/vuln/detail/CVE-2011-2821
access.redhat.com/security/cve/CVE-2011-2834
cve.org/CVERecord?id=CVE-2011-2834
nvd.nist.gov/vuln/detail/CVE-2011-2834
access.redhat.com/security/cve/CVE-2011-3102
cve.org/CVERecord?id=CVE-2011-3102
nvd.nist.gov/vuln/detail/CVE-2011-3102
access.redhat.com/security/cve/CVE-2011-3905
cve.org/CVERecord?id=CVE-2011-3905
nvd.nist.gov/vuln/detail/CVE-2011-3905
access.redhat.com/security/cve/CVE-2011-3919
cve.org/CVERecord?id=CVE-2011-3919
nvd.nist.gov/vuln/detail/CVE-2011-3919
access.redhat.com/security/cve/CVE-2012-5134
cve.org/CVERecord?id=CVE-2012-5134
nvd.nist.gov/vuln/detail/CVE-2012-5134