Skip to content
OpenAdvisories
High · 7.5 Public exploit CVE-2016-3627 EUVD-2016-4653GHSA-2xwf-cg9m-5547

The xmlStringGetNodeList function in tree.c in libxml2 2.9.3 and earlier, when used in recovery mode, allows context-dependent attackers to…

Published May 17, 2016 · Updated Dec 4, 2025 · Assigned by mitre

Description

The xmlStringGetNodeList function in tree.c in libxml2 2.9.3 and earlier, when used in recovery mode, allows context-dependent attackers to cause a denial of service (infinite recursion, stack consumption, and application crash) via a crafted XML document.

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.9.3+dfsg1-1.1 —
Debian 13 libxml2 2.9.3+dfsg1-1.1 —
Debian 12 libxml2 2.9.3+dfsg1-1.1 —
Debian 8 libxml2 2.9.1+dfsg1-5+deb8u2 DSA-3593-1
Debian 7 libxml2 2.8.0+dfsg1-7+wheezy6 DLA-503-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS libxml2 2.9.3+dfsg1-1ubuntu0.1 USN-2994-1
Ubuntu 14.04 LTS libxml2 2.9.1+dfsg1-3ubuntu4.8 USN-2994-1
ReleasePackageFixed inAdvisory
RHEL 7 libxml2 +3 2.9.1-6.el7_2.3 RHSA-2016:1292
RHEL 6 libxml2 +3 2.7.6-21.el6_8.1 RHSA-2016:1292
ReleasePackageFixed inAdvisory
SLES 12 SP1 libxml2 +1 2.9.1-20.1 SUSE-SU-2016:1204-1
SLES 12 libxml2 +1 2.9.1-20.1 SUSE-SU-2016:1204-1
SLES 11 SP4 libxml2 2.7.6-0.40.1 SUSE-SU-2016:1205-1
SLES 11 SP4 libxml2-python 2.7.6-0.40.3 SUSE-SU-2016:1205-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP1 libxml2 +1 2.9.1-20.1 SUSE-SU-2016:1204-1
SLES for SAP 12 libxml2 +1 2.9.1-20.1 SUSE-SU-2016:1204-1
SLES for SAP 11 SP4 libxml2 2.7.6-0.40.1 SUSE-SU-2016:1205-1
SLES for SAP 11 SP4 libxml2-python 2.7.6-0.40.3 SUSE-SU-2016:1205-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libxml2 2.9.4-1.22 openSUSE-SU-2024:10192-1
openSUSE Tumbleweed python-libxml2 2.9.4-1.4 openSUSE-SU-2024:10228-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 libxml2 +3 2.9.1-6.0.1.el7_2.3 ELSA-2016-1292

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.

GitHub 1 repository

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

Advisories 11

References