CVE-2012-2871 json
libxml2 2.9.0-rc1 and earlier, as used in Google Chrome before 21.0.1180.89, does not properly support a cast of an unspecified variable du…
published 2012-08-31 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-2851
- cvss
- 6.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.4%
- EPSS 2.4% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
libxml2 2.9.0-rc1 and earlier, as used in Google Chrome before 21.0.1180.89, does not properly support a cast of an unspecified variable during handling of XSL transforms, which allows remote attackers to cause a denial of service or possibly have unknown other impact via a crafted document, related to the _xmlNs data structure in include/libxml/tree.h.
Patch / fix
- libxslt Debian 14, Debian 13, Debian 12 1.1.26-14
debian advisories DEBIAN-CVE-2012-2871
- libxslt RHEL 5 1.1.17-4.el5_8.3
- libxslt RHEL 6 1.1.26-2.el6_3.1
- libxslt-python RHEL 5 1.1.17-4.el5_8.3
- libxslt-python RHEL 6 1.1.26-2.el6_3.1
red hat advisories RHSA-2012:1265
- chromium openSUSE Tumbleweed 55.0.2883.75-3.1
- chromium openSUSE Tumbleweed 113.0.5672.92-1.1
opensuse advisories openSUSE-SU-2024:10171-1openSUSE-SU-2024:12948-1
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-2871 updated cvss 6.8
libxslt: Heap-buffer overflow caused by bad cast in XSL transforms
-
Red Hat Enterprise Linux (v. 5 server) libxslt 1.1.17-4.el5_8.3, libxslt-python 1.1.17-4.el5_8.3 Red Hat Enterprise Linux Desktop (v. 5 client) libxslt 1.1.17-4.el5_8.3, libxslt-python 1.1.17-4.el5_8.3 Red Hat Enterprise Linux Desktop (v. 6) libxslt 1.1.26-2.el6_3.1, libxslt-python 1.1.26-2.el6_3.1 Red Hat Enterprise Linux Desktop Optional (v. 6) libxslt 1.1.26-2.el6_3.1, libxslt-python 1.1.26-2.el6_3.1 Red Hat Enterprise Linux HPC Node (v. 6) libxslt 1.1.26-2.el6_3.1, libxslt-python 1.1.26-2.el6_3.1 Red Hat Enterprise Linux HPC Node Optional (v. 6) libxslt 1.1.26-2.el6_3.1, libxslt-python 1.1.26-2.el6_3.1fixed: vendor fix RHSA-2012:1265
+5 more productsfewer
Red Hat Enterprise Linux Server (v. 6) libxslt 1.1.26-2.el6_3.1, libxslt-python 1.1.26-2.el6_3.1 Red Hat Enterprise Linux Server Optional (v. 6) libxslt 1.1.26-2.el6_3.1, libxslt-python 1.1.26-2.el6_3.1 Red Hat Enterprise Linux Workstation (v. 6) libxslt 1.1.26-2.el6_3.1, libxslt-python 1.1.26-2.el6_3.1 Red Hat Enterprise Linux Workstation Optional (v. 6) libxslt 1.1.26-2.el6_3.1, libxslt-python 1.1.26-2.el6_3.1 Red Hat RHEL Desktop Workstation (v. 5 client) libxslt 1.1.17-4.el5_8.3, libxslt-python 1.1.17-4.el5_8.3
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
2.38% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Technology feeds
References
-
lists.apple.com
/archives/security-announce/2013/Oct/msg00009.html
vendor-advisory
-
debian.org
/security/2012/dsa-2555
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2012-09/msg00030.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2012:164
vendor-advisory
-
lists.apple.com
/archives/security-announce/2013/Sep/msg00006.html
vendor-advisory
-
secunia.com
/advisories/50838
third-party-advisory
- src.chromium.org /viewvc/chrome/trunk/src/third_party/libxml/src/include/libxml/tree.h?r1=56276&r2=149930
- code.google.com /p/chromium/issues/detail?id=138673
- support.apple.com /kb/HT6001
-
exchange.xforce.ibmcloud.com
/vulnerabilities/78179
vdb-entry
- googlechromereleases.blogspot.com /2012/08/stable-channel-update_30.html
-
secunia.com
/advisories/54886
third-party-advisory
- support.apple.com /kb/HT5934
- chromiumcodereview.appspot.com /10824157
- src.chromium.org /viewvc/chrome/trunk/src/third_party/libxml/src/include/libxml/tree.h?view=log
Sources
- CVE List CVE-2012-2871
- NVD CVE-2012-2871
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.