CVE-2012-2870 json
libxslt 1.1.26 and earlier, as used in Google Chrome before 21.0.1180.89, does not properly manage memory, which might allow remote attacke…
published 2012-08-31 14 y ago modified 2026-06-16 4 mo ago also EUVD-2012-2850
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.5%
- EPSS 2.5% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
libxslt 1.1.26 and earlier, as used in Google Chrome before 21.0.1180.89, does not properly manage memory, which might allow remote attackers to cause a denial of service (application crash) via a crafted XSLT expression that is not properly identified during XPath navigation, related to (1) the xsltCompileLocationPathPattern function in libxslt/pattern.c and (2) the xsltGenerateIdFunction function in libxslt/functions.c.
Patch / fix
- libxslt Debian 14, Debian 13, Debian 12 1.1.26-14
debian advisories DEBIAN-CVE-2012-2870
- 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-2870 updated cvss 4.3
libxslt: Use-after-free when processing an invalid XPath expression
-
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.46% 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 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-399 Resource Management Errors
- 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
- code.google.com /p/chromium/issues/detail?id=138672
- chromiumcodereview.appspot.com /10823168
-
secunia.com
/advisories/50838
third-party-advisory
- src.chromium.org /viewvc/chrome/trunk/src/third_party/libxslt/libxslt/functions.c?r1=75684&r2=149998
- support.apple.com /kb/HT6001
- googlechromereleases.blogspot.com /2012/08/stable-channel-update_30.html
-
secunia.com
/advisories/54886
third-party-advisory
- support.apple.com /kb/HT5934
- code.google.com /p/chromium/issues/detail?id=140368
- chromiumcodereview.appspot.com /10830177
- src.chromium.org /viewvc/chrome/trunk/src/third_party/libxslt/libxslt/functions.c?view=log
- src.chromium.org /viewvc/chrome/trunk/src/third_party/libxslt/libxslt/pattern.c?view=log
- src.chromium.org /viewvc/chrome/trunk/src/third_party/libxslt/libxslt/pattern.c?r1=118654&r2=150123
Sources
- CVE List CVE-2012-2870
- NVD CVE-2012-2870
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.