Description
Buffer overflow in libxml2 allows remote attackers to execute arbitrary code by leveraging an incorrect limit for port values when handling redirects.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libxml2 | 2.9.4+dfsg1-3.1 | — |
| Debian 13 | libxml2 | 2.9.4+dfsg1-3.1 | — |
| Debian 12 | libxml2 | 2.9.4+dfsg1-3.1 | — |
| Debian 9 | libxml2 | 2.9.4+dfsg1-2.2+deb9u1 | DSA-3952-1 |
| Debian 8 | libxml2 | 2.9.1+dfsg1-5+deb8u5 | DSA-3952-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | libxml2 | 2.8.0+dfsg1-7+wheezy9 | DLA-1060-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | libxml2 | 2.9.3+dfsg1-1ubuntu0.3 | USN-3424-1 |
| Ubuntu 14.04 LTS | libxml2 | 2.9.1+dfsg1-3ubuntu4.10 | USN-3424-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 SP4 | libxml2 | 2.7.6-0.76.1 | SUSE-SU-2017:1813-1 |
| SLES 11 SP4 | libxml2-python | 2.7.6-0.76.4 | SUSE-SU-2017:1813-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 11 SP4 | libxml2 | 2.7.6-0.76.1 | SUSE-SU-2017:1813-1 |
| SLES for SAP 11 SP4 | libxml2-python | 2.7.6-0.76.4 | SUSE-SU-2017:1813-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.
GitHub 1 repository
-
brahmstaedt/libxml2-exploit ★ 3 · Jun 11, 2020
An example exploit for CVE-2017-7376
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 7
- SSA-398330 SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5 Siemens ProductCERT · Oct 13, 2026
- USN-3424-1 libxml2 vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-3952-1 libxml2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1060-1 libxml2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2017:1813-1 Security update for libxml2 SUSE / openSUSE Security Updates · Feb 4, 2026
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- WID-SEC-2023-1614 Tenable Security Nessus Network Monitor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 25, 2023
References
- https://source.android.com/security/bulletin/2017-06-01
- DSA-3952 vendor-advisory
- https://git.gnome.org/browse/libxml2/commit/?id=5dca9eea1bd4263bfa4d037ab2443de1cd730f7e
- https://android.googlesource.com/platform/external/libxml2/+/51e0cb2e5ec18eaf6fb331bc573ff27b743898f4
- 98877 vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=1462216
- 1038623 vdb-entry