CVE-2011-1944
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
libxmlInvalid 2.7.x - XPath Multiple Memory Corruption Vulnerabilities
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 2.7.8.dfsg-3 |
| sid | Fixed | 2.7.8.dfsg-3 |
| forky | Fixed | 2.7.8.dfsg-3 |
| bullseye | Fixed | 2.7.8.dfsg-3 |
| bookworm | Fixed | 2.7.8.dfsg-3 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| xmlsoft | libxml2 | 2.6.7 | |
| xmlsoft | libxml2 | 2.6.8 | |
| xmlsoft | libxml2 | 2.6.9 | |
| xmlsoft | libxml2 | 2.6.11 | |
| xmlsoft | libxml2 | 2.6.12 | |
| xmlsoft | libxml2 | 2.6.13 | |
| xmlsoft | libxml2 | 2.6.14 | |
| xmlsoft | libxml2 | 2.6.16 | |
| xmlsoft | libxml2 | 2.6.17 | |
| xmlsoft | libxml2 | 2.6.18 | |
| xmlsoft | libxml2 | 2.6.20 | |
| xmlsoft | libxml2 | 2.6.22 | |
| xmlsoft | libxml2 | 2.6.26 | |
| xmlsoft | libxml2 | 2.6.27 | |
| xmlsoft | libxml2 | 2.6.30 | |
| xmlsoft | libxml2 | 2.6.32 | |
| xmlsoft | libxml2 | 2.7.0 | |
| xmlsoft | libxml2 | 2.7.1 | |
| xmlsoft | libxml2 | 2.7.2 | |
| xmlsoft | libxml2 | 2.7.3 | |
| xmlsoft | libxml2 | 2.7.4 | |
| xmlsoft | libxml2 | 2.7.5 | |
| xmlsoft | libxml2 | 2.7.6 | |
| xmlsoft | libxml2 | 2.7.7 | |
| xmlsoft | libxml2 | 2.7.8 | |
| xmlsoft | libxml | {"endIncluding":"1.8.16"} | |
| xmlsoft | libxml | 1.5.0 | |
| xmlsoft | libxml | 1.6.0 | |
| xmlsoft | libxml | 1.6.1 | |
| xmlsoft | libxml | 1.6.2 | |
| xmlsoft | libxml | 1.7.0 | |
| xmlsoft | libxml | 1.7.1 | |
| xmlsoft | libxml | 1.7.2 | |
| xmlsoft | libxml | 1.7.3 | |
| xmlsoft | libxml | 1.7.4 | |
| xmlsoft | libxml | 1.8.0 | |
| xmlsoft | libxml | 1.8.1 | |
| xmlsoft | libxml | 1.8.2 | |
| xmlsoft | libxml | 1.8.3 | |
| xmlsoft | libxml | 1.8.4 | |
| xmlsoft | libxml | 1.8.5 | |
| xmlsoft | libxml | 1.8.6 | |
| xmlsoft | libxml | 1.8.7 | |
| xmlsoft | libxml | 1.8.8 | |
| xmlsoft | libxml | 1.8.9 | |
| xmlsoft | libxml | 1.8.10 | |
| xmlsoft | libxml | 1.8.11 | |
| xmlsoft | libxml | 1.8.12 | |
| xmlsoft | libxml | 1.8.13 | |
| xmlsoft | libxml | 1.8.14 | |
| xmlsoft | libxml | 1.8.15 | |
| xmlsoft | libxml2 | 2.6.0 | |
| xmlsoft | libxml2 | 2.6.1 | |
| xmlsoft | libxml2 | 2.6.2 | |
| xmlsoft | libxml2 | 2.6.3 | |
| xmlsoft | libxml2 | 2.6.4 | |
| xmlsoft | libxml2 | 2.6.5 | |
| xmlsoft | libxml2 | 2.6.6 | |
References
- http://git.gnome.org/browse/libxml2/commit/?id=d7958b21e7f8c447a26bb2436f08402b2c308be4
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041
- http://lists.apple.com/archives/security-announce/2012/May/msg00001.html
- http://lists.apple.com/archives/security-announce/2012/Sep/msg00003.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-July/062238.html
- http://lists.opensuse.org/opensuse-updates/2011-07/msg00035.html
- http://rhn.redhat.com/errata/RHSA-2013-0217.html
- http://scarybeastsecurity.blogspot.com/2011/05/libxml-vulnerability-and-interesting.html
- http://secunia.com/advisories/44711
- http://support.apple.com/kb/HT5281
- http://support.apple.com/kb/HT5503
- http://ubuntu.com/usn/usn-1153-1
- http://www.debian.org/security/2011/dsa-2255
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:131
- http://www.openwall.com/lists/oss-security/2011/05/31/8
- http://www.oracle.com/technetwork/topics/security/cpujan2015-1972971.html
- http://www.osvdb.org/73248
- http://www.redhat.com/support/errata/RHSA-2011-1749.html
- http://www.securityfocus.com/bid/48056
- https://bugzilla.redhat.com/show_bug.cgi?id=709747
- https://security-tracker.debian.org/tracker/CVE-2011-1944
CWEs
CWE-189
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.