CVE-2012-2871

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.

Published: 2012-08-31 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2012-2871 is rated Moderate Risk (57.7/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 2.38%). Core evidence: EPSS rose +1.93% over the last day, indicating growing attacker interest. Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2012-2871

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.45% 2.38% +1.93%
2 2026-06-08 0.78% 0.45% -0.34%
3 2026-02-05 0.78%

Full EPSS history (13 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2012-2871

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.8 2.0 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
8.6 6.4 [email protected]

Weakness enumeration for CVE-2012-2871

OS Trackers for CVE-2012-2871

vendor priority summary link
debian not yet assigned CVE-2012-2871 not yet assigned priority: Debian including 1 source packages (libxslt), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2012-2871
gentoo normal CVE-2012-2871: 1 GLSA(s) (201311-06), 1 atom(s) (dev-libs/libxml2); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2012-2871
redhat high https://access.redhat.com/security/cve/CVE-2012-2871
ubuntu low CVE-2012-2871 low priority: Ubuntu including 2 source packages (chromium-browser, libxslt), 14 status rows across 7 suites (hardy, lucid, natty, oneiric, precise, quantal, upstream): released 10, DNE 1, ignored 1, needs-triage 1, not-affected 1. https://ubuntu.com/security/CVE-2012-2871

NVD evaluator notes for CVE-2012-2871

Comment: Per: http://cwe.mitre.org/data/definitions/704.html 'CWE-704: Incorrect Type Conversion or Cast'

Affected software / configurations for CVE-2012-2871

Vendor Product Version Raw CPE
apple iphone_os <= 6.1.4 cpe:2.3:o:apple:iphone_os:*:*:*:*:*:*:*:*
apple iphone_os 1.0.0 cpe:2.3:o:apple:iphone_os:1.0.0:*:*:*:*:*:*:*
apple iphone_os 1.0.1 cpe:2.3:o:apple:iphone_os:1.0.1:*:*:*:*:*:*:*
apple iphone_os 1.0.2 cpe:2.3:o:apple:iphone_os:1.0.2:*:*:*:*:*:*:*
apple iphone_os 1.1.0 cpe:2.3:o:apple:iphone_os:1.1.0:*:*:*:*:*:*:*
apple iphone_os 1.1.1 cpe:2.3:o:apple:iphone_os:1.1.1:*:*:*:*:*:*:*
apple iphone_os 1.1.2 cpe:2.3:o:apple:iphone_os:1.1.2:*:*:*:*:*:*:*
apple iphone_os 1.1.3 cpe:2.3:o:apple:iphone_os:1.1.3:*:*:*:*:*:*:*
apple iphone_os 1.1.4 cpe:2.3:o:apple:iphone_os:1.1.4:*:*:*:*:*:*:*
apple iphone_os 1.1.5 cpe:2.3:o:apple:iphone_os:1.1.5:*:*:*:*:*:*:*
apple iphone_os 2.0 cpe:2.3:o:apple:iphone_os:2.0:*:*:*:*:*:*:*
apple iphone_os 2.0.0 cpe:2.3:o:apple:iphone_os:2.0.0:*:*:*:*:*:*:*
apple iphone_os 2.0.1 cpe:2.3:o:apple:iphone_os:2.0.1:*:*:*:*:*:*:*
apple iphone_os 2.0.2 cpe:2.3:o:apple:iphone_os:2.0.2:*:*:*:*:*:*:*
apple iphone_os 2.1 cpe:2.3:o:apple:iphone_os:2.1:*:*:*:*:*:*:*
apple iphone_os 2.1.1 cpe:2.3:o:apple:iphone_os:2.1.1:*:*:*:*:*:*:*
apple iphone_os 2.2 cpe:2.3:o:apple:iphone_os:2.2:*:*:*:*:*:*:*
apple iphone_os 2.2.1 cpe:2.3:o:apple:iphone_os:2.2.1:*:*:*:*:*:*:*
apple iphone_os 3.0 cpe:2.3:o:apple:iphone_os:3.0:*:*:*:*:*:*:*
apple iphone_os 3.0.1 cpe:2.3:o:apple:iphone_os:3.0.1:*:*:*:*:*:*:*
apple iphone_os 3.1 cpe:2.3:o:apple:iphone_os:3.1:*:*:*:*:*:*:*
apple iphone_os 3.1.2 cpe:2.3:o:apple:iphone_os:3.1.2:*:*:*:*:*:*:*
apple iphone_os 3.1.3 cpe:2.3:o:apple:iphone_os:3.1.3:*:*:*:*:*:*:*
apple iphone_os 3.2 cpe:2.3:o:apple:iphone_os:3.2:*:*:*:*:*:*:*
apple iphone_os 3.2.1 cpe:2.3:o:apple:iphone_os:3.2.1:*:*:*:*:*:*:*
apple iphone_os 3.2.2 cpe:2.3:o:apple:iphone_os:3.2.2:*:*:*:*:*:*:*
apple iphone_os 4.0 cpe:2.3:o:apple:iphone_os:4.0:*:*:*:*:*:*:*
apple iphone_os 4.0.1 cpe:2.3:o:apple:iphone_os:4.0.1:*:*:*:*:*:*:*
apple iphone_os 4.0.2 cpe:2.3:o:apple:iphone_os:4.0.2:*:*:*:*:*:*:*
apple iphone_os 4.1 cpe:2.3:o:apple:iphone_os:4.1:*:*:*:*:*:*:*
apple iphone_os 4.2.1 cpe:2.3:o:apple:iphone_os:4.2.1:*:*:*:*:*:*:*
apple iphone_os 4.2.5 cpe:2.3:o:apple:iphone_os:4.2.5:*:*:*:*:*:*:*
apple iphone_os 4.2.8 cpe:2.3:o:apple:iphone_os:4.2.8:*:*:*:*:*:*:*
apple iphone_os 4.3.0 cpe:2.3:o:apple:iphone_os:4.3.0:*:*:*:*:*:*:*
apple iphone_os 4.3.1 cpe:2.3:o:apple:iphone_os:4.3.1:*:*:*:*:*:*:*
apple iphone_os 4.3.2 cpe:2.3:o:apple:iphone_os:4.3.2:*:*:*:*:*:*:*
apple iphone_os 4.3.3 cpe:2.3:o:apple:iphone_os:4.3.3:*:*:*:*:*:*:*
apple iphone_os 4.3.5 cpe:2.3:o:apple:iphone_os:4.3.5:*:*:*:*:*:*:*
apple iphone_os 5.0 cpe:2.3:o:apple:iphone_os:5.0:*:*:*:*:*:*:*
apple iphone_os 5.0.1 cpe:2.3:o:apple:iphone_os:5.0.1:*:*:*:*:*:*:*
apple iphone_os 5.1 cpe:2.3:o:apple:iphone_os:5.1:*:*:*:*:*:*:*
apple iphone_os 5.1.1 cpe:2.3:o:apple:iphone_os:5.1.1:*:*:*:*:*:*:*
apple iphone_os 6.0 cpe:2.3:o:apple:iphone_os:6.0:*:*:*:*:*:*:*
apple iphone_os 6.0.1 cpe:2.3:o:apple:iphone_os:6.0.1:*:*:*:*:*:*:*
apple iphone_os 6.0.2 cpe:2.3:o:apple:iphone_os:6.0.2:*:*:*:*:*:*:*
apple iphone_os 6.1 cpe:2.3:o:apple:iphone_os:6.1:*:*:*:*:*:*:*
apple iphone_os 6.1.2 cpe:2.3:o:apple:iphone_os:6.1.2:*:*:*:*:*:*:*
apple iphone_os 6.1.3 cpe:2.3:o:apple:iphone_os:6.1.3:*:*:*:*:*:*:*
google chrome <= 21.0.1180.88 cpe:2.3:a:google:chrome:*:*:*:*:*:*:*:*
google chrome 21.0.1180.0 cpe:2.3:a:google:chrome:21.0.1180.0:*:*:*:*:*:*:*
google chrome 21.0.1180.1 cpe:2.3:a:google:chrome:21.0.1180.1:*:*:*:*:*:*:*
google chrome 21.0.1180.2 cpe:2.3:a:google:chrome:21.0.1180.2:*:*:*:*:*:*:*
google chrome 21.0.1180.31 cpe:2.3:a:google:chrome:21.0.1180.31:*:*:*:*:*:*:*
google chrome 21.0.1180.32 cpe:2.3:a:google:chrome:21.0.1180.32:*:*:*:*:*:*:*
google chrome 21.0.1180.33 cpe:2.3:a:google:chrome:21.0.1180.33:*:*:*:*:*:*:*
google chrome 21.0.1180.34 cpe:2.3:a:google:chrome:21.0.1180.34:*:*:*:*:*:*:*
google chrome 21.0.1180.35 cpe:2.3:a:google:chrome:21.0.1180.35:*:*:*:*:*:*:*
google chrome 21.0.1180.36 cpe:2.3:a:google:chrome:21.0.1180.36:*:*:*:*:*:*:*
google chrome 21.0.1180.37 cpe:2.3:a:google:chrome:21.0.1180.37:*:*:*:*:*:*:*
google chrome 21.0.1180.38 cpe:2.3:a:google:chrome:21.0.1180.38:*:*:*:*:*:*:*
google chrome 21.0.1180.39 cpe:2.3:a:google:chrome:21.0.1180.39:*:*:*:*:*:*:*
google chrome 21.0.1180.41 cpe:2.3:a:google:chrome:21.0.1180.41:*:*:*:*:*:*:*
google chrome 21.0.1180.46 cpe:2.3:a:google:chrome:21.0.1180.46:*:*:*:*:*:*:*
google chrome 21.0.1180.47 cpe:2.3:a:google:chrome:21.0.1180.47:*:*:*:*:*:*:*
google chrome 21.0.1180.48 cpe:2.3:a:google:chrome:21.0.1180.48:*:*:*:*:*:*:*
google chrome 21.0.1180.49 cpe:2.3:a:google:chrome:21.0.1180.49:*:*:*:*:*:*:*
google chrome 21.0.1180.50 cpe:2.3:a:google:chrome:21.0.1180.50:*:*:*:*:*:*:*
google chrome 21.0.1180.51 cpe:2.3:a:google:chrome:21.0.1180.51:*:*:*:*:*:*:*
google chrome 21.0.1180.52 cpe:2.3:a:google:chrome:21.0.1180.52:*:*:*:*:*:*:*
google chrome 21.0.1180.53 cpe:2.3:a:google:chrome:21.0.1180.53:*:*:*:*:*:*:*
google chrome 21.0.1180.54 cpe:2.3:a:google:chrome:21.0.1180.54:*:*:*:*:*:*:*
google chrome 21.0.1180.55 cpe:2.3:a:google:chrome:21.0.1180.55:*:*:*:*:*:*:*
google chrome 21.0.1180.56 cpe:2.3:a:google:chrome:21.0.1180.56:*:*:*:*:*:*:*
google chrome 21.0.1180.57 cpe:2.3:a:google:chrome:21.0.1180.57:*:*:*:*:*:*:*
google chrome 21.0.1180.59 cpe:2.3:a:google:chrome:21.0.1180.59:*:*:*:*:*:*:*
google chrome 21.0.1180.60 cpe:2.3:a:google:chrome:21.0.1180.60:*:*:*:*:*:*:*
google chrome 21.0.1180.61 cpe:2.3:a:google:chrome:21.0.1180.61:*:*:*:*:*:*:*
google chrome 21.0.1180.62 cpe:2.3:a:google:chrome:21.0.1180.62:*:*:*:*:*:*:*
google chrome 21.0.1180.63 cpe:2.3:a:google:chrome:21.0.1180.63:*:*:*:*:*:*:*
google chrome 21.0.1180.64 cpe:2.3:a:google:chrome:21.0.1180.64:*:*:*:*:*:*:*

References for CVE-2012-2871

URL Tags
http://code.google.com/p/chromium/issues/detail?id=138673
http://googlechromereleases.blogspot.com/2012/08/stable-channel-update_30.html
http://lists.apple.com/archives/security-announce/2013/Oct/msg00009.html
http://lists.apple.com/archives/security-announce/2013/Sep/msg00006.html
http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00030.html
http://secunia.com/advisories/50838
http://secunia.com/advisories/54886
http://src.chromium.org/viewvc/chrome/trunk/src/third_party/libxml/src/include/libxml/tree.h?r1=56276&r2=149930
http://src.chromium.org/viewvc/chrome/trunk/src/third_party/libxml/src/include/libxml/tree.h?view=log
http://support.apple.com/kb/HT5934
http://support.apple.com/kb/HT6001
http://www.debian.org/security/2012/dsa-2555
http://www.mandriva.com/security/advisories?name=MDVSA-2012:164
https://chromiumcodereview.appspot.com/10824157
https://exchange.xforce.ibmcloud.com/vulnerabilities/78179
cvelogic Threat Intelligence