Description
libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a NULL pointer dereference in xmlPatMatch in pattern.c.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| xmlsoft | libxml2 | < 2.12.10, 2.13.0 – < 2.13.6 | 2.12.10 |
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.12.7+dfsg+really2.9.14-0.4 | — |
| Debian 13 | libxml2 | 2.12.7+dfsg+really2.9.14-0.4 | — |
| Debian 12 | libxml2 | 2.9.14+dfsg-1.3~deb12u2 | DSA-5949-1 |
| Debian 11 | libxml2 | 2.9.10+dfsg-6.7+deb11u6 | DLA-4064-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | libxml2 | 2.9.14+dfsg-1.3ubuntu3.2 | USN-7302-1 |
| Ubuntu 22.04 LTS | libxml2 | 2.9.13+dfsg-1ubuntu0.6 | USN-7302-1 |
| Ubuntu 20.04 LTS | libxml2 | 2.9.10+dfsg-5ubuntu0.20.04.9 | USN-7302-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | libxml2 | 2.9.4+dfsg1-6.1ubuntu1.9+esm2 | USN-7302-1 |
| Ubuntu Pro 16.04 LTS | libxml2 | 2.9.3+dfsg1-1ubuntu0.7+esm7 | USN-7302-1 |
| Ubuntu Pro 14.04 LTS | libxml2 | 2.9.1+dfsg1-3ubuntu4.13+esm7 | USN-7302-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | libxml2 +1 | 2.10.3-150500.5.23.1 | SUSE-SU-2025:0746-1 |
| SLES 15 SP5 | libxml2 +1 | 2.10.3-150500.5.23.1 | SUSE-SU-2025:0746-1 |
| SLES 15 SP4 | libxml2 +1 | 2.9.14-150400.5.38.1 | SUSE-SU-2025:0748-1 |
| SLES 15 SP3 | libxml2 +1 | 2.9.7-150000.3.76.1 | SUSE-SU-2025:0976-1 |
| SLES 12 SP5 | libxml2 +1 | 2.9.4-46.81.1 | SUSE-SU-2025:0747-1 |
Show 17 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 3 | libxml2-python | 2.10.3-150500.5.23.1 | SUSE-SU-2025:0746-1 |
| SLES for SAP 15 SP5 | libxml2 +1 | 2.10.3-150500.5.23.1 | SUSE-SU-2025:0746-1 |
| SLES for SAP 15 SP4 | libxml2 +1 | 2.9.14-150400.5.38.1 | SUSE-SU-2025:0748-1 |
| SLES for SAP 15 SP3 | libxml2 +1 | 2.9.7-150000.3.76.1 | SUSE-SU-2025:0976-1 |
| SLE Micro 6.1 | libxml2 | 2.11.6-slfo.1.1_2.1 | SUSE-SU-2025:20274-1 |
| SLE Micro 6.0 | libxml2 | 2.11.6-5.1 | SUSE-SU-2025:20177-1 |
| SLE Micro 5.5 | libxml2 +1 | 2.10.3-150500.5.23.1 | SUSE-SU-2025:0746-1 |
| SLE Micro 5.4 | libxml2 +1 | 2.9.14-150400.5.38.1 | SUSE-SU-2025:0748-1 |
| SLE Micro 5.3 | libxml2 +1 | 2.9.14-150400.5.38.1 | SUSE-SU-2025:0748-1 |
| SLE Micro 5.2 | libxml2 +1 | 2.9.7-150000.3.76.1 | SUSE-SU-2025:0976-1 |
| SLE Micro 5.1 | libxml2 | 2.9.7-150000.3.76.1 | SUSE-SU-2025:0976-1 |
| SLE HPC 15 SP5 | libxml2 +1 | 2.10.3-150500.5.23.1 | SUSE-SU-2025:0746-1 |
| SLE HPC 15 SP4 | libxml2 +1 | 2.9.14-150400.5.38.1 | SUSE-SU-2025:0748-1 |
| SLE HPC 15 SP3 | libxml2 +1 | 2.9.7-150000.3.76.1 | SUSE-SU-2025:0976-1 |
| SUSE Manager Server 4.3 | libxml2 +1 | 2.9.14-150400.5.38.1 | SUSE-SU-2025:0748-1 |
| SUSE Manager Proxy 4.3 | libxml2 +1 | 2.9.14-150400.5.38.1 | SUSE-SU-2025:0748-1 |
| SUSE Enterprise Storage 7.1 | libxml2 +1 | 2.9.7-150000.3.76.1 | SUSE-SU-2025:0976-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | libxml2 | 2.13.6-1.1 | openSUSE-SU-2025:14830-1 |
| openSUSE Leap 15.6 | libxml2 +1 | 2.10.3-150500.5.23.1 | SUSE-SU-2025:0746-1 |
| openSUSE Leap 15.6 | python-libxml2-python | 2.9.7-150000.3.76.1 | SUSE-SU-2025:0976-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | libxml2 | 2.13.6-r0 | — |
| Alpine v3.23 | libxml2 | 2.13.6-r0 | — |
| Alpine v3.22 | libxml2 | 2.13.6-r0 | — |
| Alpine v3.21 | libxml2 | 2.13.4-r5 | — |
| Alpine v3.20 | libxml2 | 2.12.7-r2 | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | libxml2 | 2.11.8-r2 | — |
| Alpine v3.18 | libxml2 | 2.11.8-r2 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | libxml2 +3 | 2.10.4-1.amzn2023.0.9 | ALAS2023-2025-896 |
| Amazon Linux 2 | libxml2 +3 | 2.9.1-6.amzn2.5.16 | ALAS2-2025-2794 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | libxml2 | 2.11.5-4 | — |
| Azure Linux 2 (CBL-Mariner) | libxml2 | 2.10.4-6 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | openjdk-7-jre | No fix yet | — |
Advisories 22
- WID-SEC-2025-1439 Dell Secure Connect Gateway: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Oct 11, 2026
- WID-SEC-2025-0403 libxml2: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 27, 2026
- WID-SEC-2025-1559 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- USN-7302-1 libxml2 vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- WID-SEC-2025-0668 Apple macOS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 11, 2026
- WID-SEC-2025-1569 Oracle Java SE: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 25, 2026
- SUSE-SU-2025:20274-1 Security update for libxml2 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:20177-1 Security update for libxml2 SUSE / openSUSE Security Updates · Mar 23, 2026
- DSA-5949-1 libxml2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-4064-1 libxml2 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2025:0976-1 Security update for libxml2 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2025:14830-1 libxml2-2-2.13.6-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:0747-1 Security update for libxml2 SUSE / openSUSE Security Updates · Feb 4, 2026
- VDE-2025-053 Phoenix Contact: Multiple Vulnerabilities in PLCnext Firmware CERT@VDE · Jul 8, 2025
- WID-SEC-2025-0663 Apple iOS und iPadOS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 11, 2025
- SUSE-SU-2025:0746-1 Security update for libxml2 SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2025:0748-1 Security update for libxml2 SUSE / openSUSE Security Updates · May 2, 2025
- WID-SEC-2025-0859 Tenable Security Nessus: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 21, 2025
- NCSC-2025-0103 Kwetsbaarheden verholpen in Apple iOS en iPadOS NCSC-NL (Netherlands) · Apr 1, 2025
- NCSC-2025-0102 Kwetsbaarheden verholpen in Apple macOS NCSC-NL (Netherlands) · Apr 1, 2025
- ALAS2023-2025-896 Important: libxml2 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Mar 26, 2025
- ALAS2-2025-2794 Important: libxml2 security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Mar 25, 2025