CVE-2011-1944: Buffer Overflow

Published Jun 1, 2011
·
Updated

An integer overflow, leading to heap-based buffer overflow was found in the way libxml, XML files manipulation library, processed certain XPath expressions. A remote attacker could provide a specially-crafted XML file, which once opened in an application linked against libxml would cause that application to crash, or, potentially, execute arbitrary code with the privileges of the user running the application.

References: [1] http://scarybeastsecurity.blogspot.com/2011/05/libxml-vulnerability-and-interesting.html [2] http://www.openwall.com/lists/oss-security/2011/05/31/5 [3] http://www.openwall.com/lists/oss-security/2011/05/31/8

Upstream patch: [4] http://git.gnome.org/browse/libxml2/commit/?id=d7958b21e7f8c447a26bb2436f08402b2c308be4

Other sources

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.

MITRE

Affected Software

59 affected componentsFixes available
redhat/libxml2<2.8.0
2.8.0
XMLSoft Libxml2=2.6.16
XMLSoft Libxml2=2.6.32
XMLSoft Libxml2=2.6.26
XMLSoft Libxml2=2.6.11
XMLSoft Libxml2=2.6.17
XMLSoft Libxml2=2.6.27
XMLSoft Libxml2=2.6.13
XMLSoft Libxml2=2.6.7
XMLSoft Libxml2=2.6.14
XMLSoft Libxml2=2.6.8
XMLSoft Libxml2=2.6.2
XMLSoft Libxml2=2.6.5
XMLSoft Libxml2=2.6.4
XMLSoft Libxml2=2.6.18
XMLSoft Libxml2=2.6.1
XMLSoft Libxml2=2.6.20
XMLSoft Libxml2=2.6.12
XMLSoft Libxml2=2.6.0
XMLSoft Libxml2=2.6.9
XMLSoft Libxml2=2.6.30
XMLSoft Libxml2=2.6.22
XMLSoft Libxml2=2.6.3
XMLSoft Libxml2=2.6.6
XMLSoft Libxml2=2.7.2
XMLSoft Libxml2=2.7.8
XMLSoft Libxml2=2.7.7
XMLSoft Libxml2=2.7.5
XMLSoft Libxml2=2.7.3
XMLSoft Libxml2=2.7.1
XMLSoft Libxml2=2.7.0
XMLSoft Libxml2=2.7.6
XMLSoft Libxml2=2.7.4
XMLSoft Libxml=1.8.9
XMLSoft Libxml=1.6.0
XMLSoft Libxml=1.7.2
XMLSoft Libxml=1.8.3
XMLSoft Libxml=1.8.0
XMLSoft Libxml=1.8.13
XMLSoft Libxml=1.8.10
XMLSoft Libxml=1.8.4
XMLSoft Libxml=1.8.6
XMLSoft Libxml=1.7.0
XMLSoft Libxml<=1.8.16
XMLSoft Libxml=1.8.14
XMLSoft Libxml=1.8.8
XMLSoft Libxml=1.7.4
XMLSoft Libxml=1.8.7
XMLSoft Libxml=1.7.3
XMLSoft Libxml=1.8.1
XMLSoft Libxml=1.8.11
XMLSoft Libxml=1.6.2
XMLSoft Libxml=1.5.0
XMLSoft Libxml=1.8.2
XMLSoft Libxml=1.8.12
XMLSoft Libxml=1.8.5
XMLSoft Libxml=1.6.1
XMLSoft Libxml=1.8.15
XMLSoft Libxml=1.7.1

Event History

Sep 2, 2011
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2011-1944?

CVE-2011-1944 is considered a high severity vulnerability due to the potential for remote code execution and denial of service.

2

How do I fix CVE-2011-1944?

To fix CVE-2011-1944, update libxml2 to version 2.8.0 or later.

3

What types of systems are affected by CVE-2011-1944?

CVE-2011-1944 affects systems using libxml2 versions older than 2.8.0, including various distributions like Red Hat and Gnome.

4

What causes CVE-2011-1944?

CVE-2011-1944 is caused by an integer overflow leading to a heap-based buffer overflow while processing specific XPath expressions in XML files.

5

Can CVE-2011-1944 be exploited remotely?

Yes, an attacker can exploit CVE-2011-1944 remotely by providing a specially-crafted XML file that triggers the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203