Description
The xmlBufAttrSerializeTxtContent function in xmlsave.c in libxml2 allows context-dependent attackers to cause a denial of service (out-of-bounds read and application crash) via a non-UTF-8 attribute value, related to serialization. NOTE: this vulnerability may be a duplicate of CVE-2016-3627.
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.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 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP1 | libxml2 +1 | 2.9.1-24.1 | SUSE-SU-2016:1538-1 |
| SLES 12 | libxml2 +1 | 2.9.1-24.1 | SUSE-SU-2016:1538-1 |
| SLES 11 SP4 | libxml2 | 2.7.6-0.44.1 | SUSE-SU-2016:1604-1 |
| SLES 11 SP4 | libxml2-python | 2.7.6-0.44.4 | SUSE-SU-2016:1604-1 |
| SLES 11 SP3 | libxml2 | 2.7.6-0.44.1 | SUSE-SU-2016:1604-1 |
| SLES 11 SP3 | libxml2-python | 2.7.6-0.44.4 | SUSE-SU-2016:1604-1 |
| SLES 11 SP2 | libxml2 | 2.7.6-0.44.1 | SUSE-SU-2016:1604-1 |
| SLES 11 SP2 | libxml2-python | 2.7.6-0.44.4 | SUSE-SU-2016:1604-1 |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP1 | libxml2 +1 | 2.9.1-24.1 | SUSE-SU-2016:1538-1 |
| SLES for SAP 12 | libxml2 +1 | 2.9.1-24.1 | SUSE-SU-2016:1538-1 |
| SLES for SAP 11 SP4 | libxml2 | 2.7.6-0.44.1 | SUSE-SU-2016:1604-1 |
| SLES for SAP 11 SP4 | libxml2-python | 2.7.6-0.44.4 | SUSE-SU-2016:1604-1 |
| SUSE OpenStack Cloud 5 | libxml2 | 2.7.6-0.44.1 | SUSE-SU-2016:1604-1 |
| SUSE OpenStack Cloud 5 | libxml2-python | 2.7.6-0.44.4 | SUSE-SU-2016:1604-1 |
| SUSE Manager Proxy 2.1 | libxml2 | 2.7.6-0.44.1 | SUSE-SU-2016:1604-1 |
| SUSE Manager Proxy 2.1 | libxml2-python | 2.7.6-0.44.4 | SUSE-SU-2016:1604-1 |
| SUSE Manager 2.1 | libxml2 | 2.7.6-0.44.1 | SUSE-SU-2016:1604-1 |
| SUSE Manager 2.1 | libxml2-python | 2.7.6-0.44.4 | SUSE-SU-2016:1604-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
Advisories 9
- USN-2994-1 libxml2 vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-3593-1 libxml2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-503-1 libxml2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2016:1538-1 Security update for libxml2 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10228-1 python-libxml2-2.9.4-1.4 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:1604-1 Security update for libxml2 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10192-1 libxml2-2-2.9.4-1.22 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2024-3385 libxml2: Schwachstelle ermöglicht Denial of Service oder Offenlegung von Informationen BSI CERT-Bund (WID) · Jun 30, 2025
- WID-SEC-2023-1614 Tenable Security Nessus Network Monitor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 25, 2023
References
- [oss-security] 20160503 CVE request: out-of-bounds read parsing an XML in libxml2 using recover mode mailing-list
- [oss-security] 20160504 Re: CVE request: out-of-bounds read parsing an XML in libxml2 using recover mode mailing-list
- https://git.gnome.org/browse/libxml2/commit/?id=c97750d11bb8b6f3303e7131fe526a61ac65bcfd
- [oss-security] 20160607 Re: Please reject duplicate CVE for libxml2 mailing-list
- http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
- 90013 vdb-entry
- https://www.tenable.com/security/tns-2016-18
- DSA-3593 vendor-advisory
- [oss-security] 20160607 Please reject duplicate CVE for libxml2 mailing-list
- RHSA-2016:2957 vendor-advisory
- GLSA-201701-37 vendor-advisory
- 1036348 vdb-entry
- [bookkeeper-issues] 20210628 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list
- [bookkeeper-issues] 20210629 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list