Skip to content
OpenAdvisories
Unscored Public exploit CVE-2011-1944 EUVD-2011-1941GHSA-447f-hj4w-5xch

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-dependen…

Published Sep 2, 2011 · Updated Aug 6, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libxml2 2.7.8.dfsg-3 —
Debian 13 libxml2 2.7.8.dfsg-3 —
Debian 12 libxml2 2.7.8.dfsg-3 —
Debian 6.0 libxml2 2.7.8.dfsg-2+squeeze1 DSA-2255-1
Debian 5.0 libxml2 2.6.32.dfsg-5+lenny4 DSA-2255-1
ReleasePackageFixed inAdvisory
RHEL 6 libxml2 +3 2.7.6-4.el6 RHSA-2011:1749
RHEL 6 mingw32-libxml2 +1 2.7.6-6.el6_3 RHSA-2013:0217
RHEL 5 libxml2 +2 2.6.26-2.1.12.el5_7.2 RHSA-2012:0017
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libxml2 2.9.4-1.22 openSUSE-SU-2024:10192-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 6

References