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.
Affected products
- xmlsoft / libxml1.8.16
- xmlsoft / libxml1.5.0 – 1.5.0
- xmlsoft / libxml1.6.0 – 1.6.0
- xmlsoft / libxml1.6.1 – 1.6.1
- xmlsoft / libxml1.6.2 – 1.6.2
- xmlsoft / libxml1.7.0 – 1.7.0
- xmlsoft / libxml1.7.1 – 1.7.1
- xmlsoft / libxml1.7.2 – 1.7.2
- xmlsoft / libxml1.7.3 – 1.7.3
- xmlsoft / libxml1.7.4 – 1.7.4
- xmlsoft / libxml1.8.0 – 1.8.0
- xmlsoft / libxml1.8.1 – 1.8.1
- xmlsoft / libxml1.8.2 – 1.8.2
- xmlsoft / libxml1.8.3 – 1.8.3
- xmlsoft / libxml1.8.4 – 1.8.4
- xmlsoft / libxml1.8.5 – 1.8.5
- xmlsoft / libxml1.8.6 – 1.8.6
- xmlsoft / libxml1.8.7 – 1.8.7
- xmlsoft / libxml1.8.8 – 1.8.8
- xmlsoft / libxml1.8.9 – 1.8.9
- xmlsoft / libxml1.8.10 – 1.8.10
- xmlsoft / libxml1.8.11 – 1.8.11
- xmlsoft / libxml1.8.12 – 1.8.12
- xmlsoft / libxml1.8.13 – 1.8.13
- xmlsoft / libxml1.8.14 – 1.8.14
- xmlsoft / libxml1.8.15 – 1.8.15
- xmlsoft / libxml22.7.3 – 2.7.3
- xmlsoft / libxml22.7.4 – 2.7.4
- xmlsoft / libxml22.7.5 – 2.7.5
- xmlsoft / libxml22.6.0 – 2.6.0
- xmlsoft / libxml22.7.7 – 2.7.7
- xmlsoft / libxml22.7.8 – 2.7.8
- xmlsoft / libxml22.7.6 – 2.7.6
- xmlsoft / libxml22.6.1 – 2.6.1
- xmlsoft / libxml22.6.2 – 2.6.2
- xmlsoft / libxml22.6.3 – 2.6.3
- xmlsoft / libxml22.6.4 – 2.6.4
- xmlsoft / libxml22.6.5 – 2.6.5
- xmlsoft / libxml22.6.6 – 2.6.6
- xmlsoft / libxml22.6.7 – 2.6.7
- xmlsoft / libxml22.6.8 – 2.6.8
- xmlsoft / libxml22.6.9 – 2.6.9
- xmlsoft / libxml22.6.11 – 2.6.11
- xmlsoft / libxml22.6.12 – 2.6.12
- xmlsoft / libxml22.6.13 – 2.6.13
- xmlsoft / libxml22.6.14 – 2.6.14
- xmlsoft / libxml22.6.16 – 2.6.16
- xmlsoft / libxml22.6.17 – 2.6.17
- xmlsoft / libxml22.6.18 – 2.6.18
- xmlsoft / libxml22.6.20 – 2.6.20
- xmlsoft / libxml22.6.22 – 2.6.22
- xmlsoft / libxml22.6.26 – 2.6.26
- xmlsoft / libxml22.6.27 – 2.6.27
- xmlsoft / libxml22.6.30 – 2.6.30
- xmlsoft / libxml22.6.32 – 2.6.32
- xmlsoft / libxml22.7.0 – 2.7.0
- xmlsoft / libxml22.7.1 – 2.7.1
- xmlsoft / libxml22.7.2 – 2.7.2
References
- MISChttp://www.securityfocus.com/bid/48056
- VENDOR_ADVISORYhttp://secunia.com/advisories/44711
- VENDOR_ADVISORYhttp://www.mandriva.com/security/advisories?name=MDVSA-2011:131
- MISChttp://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041
- MAILING_LISThttp://lists.opensuse.org/opensuse-updates/2011-07/msg00035.html
- MISChttp://git.gnome.org/browse/libxml2/commit/?id=d7958b21e7f8c447a26bb2436f08402b2c308be4
- MAILING_LISThttp://lists.apple.com/archives/security-announce/2012/Sep/msg00003.html
- VENDOR_ADVISORYhttp://support.apple.com/kb/HT5503
- MISChttps://bugzilla.redhat.com/show_bug.cgi?id=709747
- MISChttp://rhn.redhat.com/errata/RHSA-2013-0217.html
- MISChttp://www.redhat.com/support/errata/RHSA-2011-1749.html
- VENDOR_ADVISORYhttp://www.oracle.com/technetwork/topics/security/cpujan2015-1972971.html
- VENDOR_ADVISORYhttp://www.debian.org/security/2011/dsa-2255
- MISChttp://www.osvdb.org/73248
- MISChttp://scarybeastsecurity.blogspot.com/2011/05/libxml-vulnerability-and-interesting.html
- MAILING_LISThttp://lists.fedoraproject.org/pipermail/package-announce/2011-July/062238.html
- MISChttp://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041
- MAILING_LISThttp://www.openwall.com/lists/oss-security/2011/05/31/8
- VENDOR_ADVISORYhttp://support.apple.com/kb/HT5281
- MAILING_LISThttp://lists.apple.com/archives/security-announce/2012/May/msg00001.html
- VENDOR_ADVISORYhttp://ubuntu.com/usn/usn-1153-1