Description
xmlParseBalancedChunkMemoryRecover in parser.c in libxml2 before 2.9.10 has a memory leak related to newDoc->oldNs.
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.10+dfsg-2 | — |
| Debian 13 | libxml2 | 2.9.10+dfsg-2 | — |
| Debian 12 | libxml2 | 2.9.10+dfsg-2 | — |
| Debian 9 | libxml2 | 2.9.4+dfsg1-2.2+deb9u3 | DLA-2369-1 |
| Debian 8 | libxml2 | 2.9.1+dfsg1-5+deb8u8 | DLA-2048-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libxml2 | 2.9.4+dfsg1-6.1ubuntu1.3 | USN-4274-1 |
| Ubuntu 16.04 LTS | libxml2 | 2.9.3+dfsg1-1ubuntu0.7 | USN-4274-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | libxml2 | 2.9.1+dfsg1-3ubuntu4.13+esm1 | USN-4274-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | libxml2 +2 | 2.9.7-8.el8 | RHSA-2020:4479 |
| RHEL 7 | libxml2 +3 | 2.9.1-6.el7.5 | RHSA-2020:3996 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat JBoss Core Services 1 | jbcs-httpd24-curl +2 | 7.64.1-36.jbcs.el6 | RHSA-2020:2644 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-httpd +6 | 2.4.37-57.jbcs.el6 | RHSA-2020:2644 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-mod_cluster-native | 1.3.14-4.Final_redhat_2.jbcs.el6 | RHSA-2020:2644 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-mod_http2 | 1.15.7-3.jbcs.el6 | RHSA-2020:2644 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-mod_jk +2 | 1.2.48-4.redhat_1.jbcs.el6 | RHSA-2020:2644 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-mod_md | 1:2.0.8-24.jbcs.el6 | RHSA-2020:2644 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-mod_security | 2.9.2-51.GA.jbcs.el6 | RHSA-2020:2644 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-mod_ssl +1 | 1:2.4.37-57.jbcs.el6 | RHSA-2020:2644 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-nghttp2 +1 | 1.39.2-25.jbcs.el6 | RHSA-2020:2644 |
| Red Hat JBoss Core Services 1 | jbcs-httpd24-openssl-pkcs11 | 0.4.10-7.jbcs.el7 | RHSA-2020:2644 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP2 | libxml2 +1 | 2.9.7-3.22.1 | SUSE-SU-2020:1532-2 |
| SLES 15 SP1 | libxml2 | 2.9.7-3.19.8 | SUSE-SU-2020:1532-1, SUSE-SU-2020:1299-1 |
| SLES 15 SP1 | python-libxml2-python | 2.9.7-3.19.10 | SUSE-SU-2020:1532-1, SUSE-SU-2020:1299-1 |
| SLES 12 SP5 | libxml2 +1 | 2.9.4-46.34.1 | SUSE-SU-2020:2609-1 |
| SLES 11 SP4 | libxml2 +1 | 2.7.6-0.77.36.1 | SUSE-SU-2021:14729-1 |
| SLES 2 | python-libxml2-python | 2.9.7-3.19.10 | SUSE-SU-2020:1532-2, SUSE-SU-2020:1532-1, SUSE-SU-2020:1299-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP5 | libxml2 +1 | 2.9.4-46.34.1 | SUSE-SU-2020:2609-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | libxml2 +1 | 2.7.6-0.77.36.1 | SUSE-SU-2021:14729-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libxml2 | 2.9.12-1.2 | openSUSE-SU-2024:11016-1 |
| openSUSE Leap 15.1 | libxml2 +1 | 2.9.7-lp151.5.9.1 | openSUSE-SU-2020:0781-1, openSUSE-SU-2020:0681-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.10 | libxml2 | 2.9.9-r3 | — |
| Alpine v3.9 | libxml2 | 2.9.9-r2 | — |
| Alpine v3.8 | libxml2 | 2.9.8-r2 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | libxml2 +3 | 2.9.1-6.amzn2.5.1 | ALAS2-2020-1534 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | libxml2 +2 | 2.9.7-8.0.1.el8 | ELSA-2020-4479 |
| Oracle Linux 7 | libxml2 +3 | 2.9.1-6.0.1.el7.5 | ELSA-2020-3996 |
Advisories 24
- 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
- RHSA-2020:4479 Red Hat Security Advisory: libxml2 security update Red Hat Security Advisories (RHSA) · Sep 21, 2026
- RHSA-2020:3996 Red Hat Security Advisory: libxml2 security and bug fix update Red Hat Security Advisories (RHSA) · Sep 21, 2026
- RHSA-2020:2644 Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.37 SP3 security update Red Hat Security Advisories (RHSA) · Sep 21, 2026
- WID-SEC-2025-0227 IBM QRadar SIEM: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- USN-4274-1 libxml2 vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- DLA-2369-1 libxml2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2048-1 libxml2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2020:1532-2 Security update for libxml2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:2609-1 Security update for libxml2 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11016-1 libxml2-2-2.9.12-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:14729-1 Security update for libxml2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:1299-1 Security update for libxml2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:1532-1 Security update for libxml2 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:0781-1 Security update for libxml2 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:0681-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-2024-3380 libxml2: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Jun 30, 2025
- ICSA-21-103-08 Siemens SINEMA Remote Connect Server CISA ICS & IT advisories · May 6, 2025
- WID-SEC-2023-1614 Tenable Security Nessus Network Monitor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 25, 2023
- SSA-292794 SSA-292794: Multiple Denial-of-Service Vulnerabilities in SINEMA Remote Connect Server Siemens ProductCERT · Apr 13, 2021
- ELSA-2020-4479 Moderate: libxml2 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 10, 2020
- ALAS2-2020-1534 Moderate: libxml2 security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Oct 22, 2020
- ELSA-2020-3996 Moderate: libxml2 security and bug fix update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Oct 6, 2020
References
- [debian-lts-announce] 20191228 [SECURITY] [DLA 2048-1] libxml2 security update mailing-list
- USN-4274-1 vendor-advisory
- FEDORA-2020-0c71c00af4 vendor-advisory
- FEDORA-2020-7694e8be73 vendor-advisory
- openSUSE-SU-2020:0681 vendor-advisory
- openSUSE-SU-2020:0781 vendor-advisory
- https://www.oracle.com/security-alerts/cpujul2020.html
- https://gitlab.gnome.org/GNOME/libxml2/commit/5a02583c7e683896d84878bd90641d8d9b0d0549
- https://security.netapp.com/advisory/ntap-20200114-0002/
- [debian-lts-announce] 20200909 [SECURITY] [DLA 2369-1] libxml2 security update mailing-list
- https://cert-portal.siemens.com/productcert/pdf/ssa-292794.pdf
- https://us-cert.cisa.gov/ics/advisories/icsa-21-103-08