Description
In libexpat through 2.4.9, there is a use-after free caused by overeager destruction of a shared DTD in XML_ExternalEntityParserCreate in out-of-memory situations.
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 | expat | 2.5.0-1 | — |
| Debian 13 | expat | 2.5.0-1 | — |
| Debian 12 | expat | 2.5.0-1 | — |
| Debian 12 | libxmltok | No fix yet | — |
| Debian 11 | expat | 2.2.10-2+deb11u5 | DSA-5266-1 |
| Debian 10 | expat | 2.2.6-2+deb10u6 | DLA-3165-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | tdom +6 | No fix yet | — |
| Ubuntu 26.04 LTS | tdom +5 | No fix yet | — |
| Ubuntu 25.10 | tdom +6 | No fix yet | — |
| Ubuntu 24.04 LTS | tdom +4 | No fix yet | — |
| Ubuntu 22.04 LTS | expat | 2.4.7-1ubuntu0.2 | USN-5638-3, USN-5638-2 |
| Ubuntu 22.04 LTS | tdom +4 | No fix yet | — |
Show 10 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | expat | 2.2.9-1ubuntu0.6 | USN-5638-3, USN-5638-2 |
| Ubuntu 20.04 LTS | tdom +3 | No fix yet | — |
| Ubuntu 18.04 LTS | expat | 2.2.5-3ubuntu0.8 | USN-5638-3, USN-5638-2 |
| Ubuntu 18.04 LTS | tdom +4 | No fix yet | — |
| Ubuntu 16.04 LTS | tdom +4 | No fix yet | — |
| Ubuntu Pro 26.04 LTS | swish-e | No fix yet | — |
| Ubuntu Pro 24.04 LTS | swish-e +1 | No fix yet | — |
| Ubuntu Pro 22.04 LTS | swish-e +1 | No fix yet | — |
| Ubuntu Pro 20.04 LTS | swish-e +1 | No fix yet | — |
| Ubuntu Pro 18.04 LTS | coin3 +2 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | expat | 2.1.0-7ubuntu0.16.04.5+esm7 | USN-5638-3 |
| Ubuntu Pro 16.04 LTS | vtk +7 | No fix yet | — |
| Ubuntu Pro 14.04 LTS | expat | 2.1.0-4ubuntu1.4+esm7 | USN-5638-4 |
| Ubuntu Pro 14.04 LTS | vtk +3 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | expat +1 | 2.4.9-1.el9_1.1 | RHSA-2023:0337 |
| RHEL 8 | expat +1 | 2.2.5-10.el8_7.1 | RHSA-2023:0103 |
| RHEL 8 | firefox | 102.5.0-1.el8_7 | RHSA-2022:8554 |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8.6 EUS | expat +1 | 2.2.5-8.el8_6.4 | RHSA-2024:0421 |
| RHEL 8.6 EUS | firefox | 102.5.0-1.el8_6 | RHSA-2022:8548 |
| RHEL 8.4 EUS Long Life | expat | 2.2.10-1.el8_4 | RHSA-2025:22785 |
| RHEL 8.4 EUS | firefox | 102.5.0-1.el8_4 | RHSA-2022:8549 |
| RHEL 8.4 AUS | expat | 2.2.10-1.el8_4 | RHSA-2025:22785 |
| RHEL 8.2 TUS | firefox | 102.5.0-1.el8_2 | RHSA-2022:8550 |
| RHEL 8.2 E4S | firefox | 102.5.0-1.el8_2 | RHSA-2022:8550 |
| RHEL 8.2 AUS | expat | 2.2.10-1.el8_2 | RHSA-2025:22871 |
| RHEL 8.2 AUS | firefox | 102.5.0-1.el8_2 | RHSA-2022:8550 |
| RHEL 8.1 E4S | firefox | 102.5.0-1.el8_1 | RHSA-2022:8553 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | expat +1 | 2.4.9-1.el9_1.1 | ALSA-2023:0337 |
| AlmaLinux 8 | expat +1 | 2.2.5-10.el8_7.1 | ALSA-2023:0103 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | expat | 2.4.9-1.el9_1.1 | RLSA-2023:0337 |
| Rocky Linux 8 | expat | 2.2.5-10.el8_7.1 | RLSA-2023:0103 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | expat | 2.8.5-150400.3.40.1 | SUSE-SU-2026:4623-1 |
| SLES 15 SP5 | expat | 2.8.5-150400.3.40.1 | SUSE-SU-2026:4623-1 |
| SLES 15 SP4 | expat | 2.4.4-150400.3.12.1 | SUSE-SU-2026:4623-1, SUSE-SU-2022:3884-1 |
| SLES 15 SP3 | expat | 2.2.5-150000.3.25.1 | SUSE-SU-2022:3912-1 |
| SLES 15 SP2 | expat | 2.2.5-150000.3.25.1 | SUSE-SU-2022:3912-1 |
Show 32 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP1 | expat | 2.2.5-150000.3.25.1 | SUSE-SU-2022:3912-1 |
| SLES 15 | expat | 2.2.5-150000.3.25.1 | SUSE-SU-2022:3912-1 |
| SLES 12 SP5 | expat | 2.1.0-21.28.1 | SUSE-SU-2026:4615-1, SUSE-SU-2022:3874-1 |
| SLES 12 SP4 | expat | 2.1.0-21.28.1 | SUSE-SU-2022:3874-1 |
| SLES 12 SP3 | expat | 2.1.0-21.28.1 | SUSE-SU-2022:3874-1 |
| SLES 12 SP2 | expat | 2.1.0-21.28.1 | SUSE-SU-2022:3874-1 |
| SLES for SAP 15 SP6 | expat | 2.8.5-150400.3.40.1 | SUSE-SU-2026:4623-1 |
| SLES for SAP 15 SP5 | expat | 2.8.5-150400.3.40.1 | SUSE-SU-2026:4623-1 |
| SLES for SAP 15 SP4 | expat | 2.8.5-150400.3.40.1 | SUSE-SU-2026:4623-1 |
| SLES for SAP 15 SP2 | expat | 2.2.5-150000.3.25.1 | SUSE-SU-2022:3912-1 |
| SLES for SAP 15 SP1 | expat | 2.2.5-150000.3.25.1 | SUSE-SU-2022:3912-1 |
| SLES for SAP 15 | expat | 2.2.5-150000.3.25.1 | SUSE-SU-2022:3912-1 |
| SLES for SAP 12 SP5 | expat | 2.1.0-21.28.1 | SUSE-SU-2022:3874-1 |
| SLES for SAP 12 SP4 | expat | 2.1.0-21.28.1 | SUSE-SU-2022:3874-1 |
| SLE Micro 6.0 | expat | 2.8.5-159998.1.1 | SUSE-SU-2026:24323-1 |
| SLE Micro 5.5 | expat | 2.8.5-150400.3.40.1 | SUSE-SU-2026:4623-1 |
| SLE Micro 5.4 | expat | 2.8.5-150400.3.40.1 | SUSE-SU-2026:4623-1 |
| SLE Micro 5.3 | expat | 2.4.4-150400.3.12.1 | SUSE-SU-2026:4623-1, SUSE-SU-2022:3884-1 |
| SLE Micro 5.2 | expat | 2.2.5-150000.3.25.1 | SUSE-SU-2022:3912-1 |
| SLE Micro 5.1 | expat | 2.2.5-150000.3.25.1 | SUSE-SU-2022:3912-1 |
| SLE HPC 15 SP5 | expat | 2.8.5-150400.3.40.1 | SUSE-SU-2026:4623-1 |
| SLE HPC 15 SP4 | expat | 2.8.5-150400.3.40.1 | SUSE-SU-2026:4623-1 |
| SLE HPC 15 SP2 | expat | 2.2.5-150000.3.25.1 | SUSE-SU-2022:3912-1 |
| SLE HPC 15 SP1 | expat | 2.2.5-150000.3.25.1 | SUSE-SU-2022:3912-1 |
| SLE HPC 15 | expat | 2.2.5-150000.3.25.1 | SUSE-SU-2022:3912-1 |
| SUSE OpenStack Cloud Crowbar 9 | expat | 2.1.0-21.28.1 | SUSE-SU-2022:3874-1 |
| SUSE OpenStack Cloud 9 | expat | 2.1.0-21.28.1 | SUSE-SU-2022:3874-1 |
| SUSE Manager Server 4.1 | expat | 2.2.5-150000.3.25.1 | SUSE-SU-2022:3912-1 |
| SUSE Manager Retail Branch Server 4.1 | expat | 2.2.5-150000.3.25.1 | SUSE-SU-2022:3912-1 |
| SUSE Manager Proxy 4.1 | expat | 2.2.5-150000.3.25.1 | SUSE-SU-2022:3912-1 |
| SUSE Enterprise Storage 7 | expat | 2.2.5-150000.3.25.1 | SUSE-SU-2022:3912-1 |
| SUSE Enterprise Storage 6 | expat | 2.2.5-150000.3.25.1 | SUSE-SU-2022:3912-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | expat | 2.5.0-1.1 | openSUSE-SU-2024:12449-1 |
| openSUSE Leap 15.4 | expat | 2.4.4-150400.3.12.1 | SUSE-SU-2022:3884-1 |
| openSUSE Leap 15.3 | expat | 2.2.5-150000.3.25.1 | SUSE-SU-2022:3912-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.2 | expat | 2.2.5-150000.3.25.1 | SUSE-SU-2022:3912-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | expat | 2.5.0-r0 | — |
| Alpine v3.23 | expat | 2.5.0-r0 | — |
| Alpine v3.22 | expat | 2.5.0-r0 | — |
| Alpine v3.21 | expat | 2.5.0-r0 | — |
| Alpine v3.20 | expat | 2.5.0-r0 | — |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | expat | 2.5.0-r0 | — |
| Alpine v3.18 | expat | 2.5.0-r0 | — |
| Alpine v3.17 | expat | 2.5.0-r0 | — |
| Alpine v3.16 | expat | 2.5.0-r0 | — |
| Alpine v3.15 | expat | 2.5.0-r0 | — |
| Alpine v3.14 | expat | 2.5.0-r0 | — |
| Alpine v3.13 | expat | 2.2.10-r8 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | expat +2 | 2.5.0-1.amzn2023.0.2 | ALAS2023-2023-058 |
| Amazon Linux 2 | expat +2 | 2.1.0-15.amzn2.0.2 | ALAS2-2022-1885 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | expat | 2.5.0-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | expat +1 | 2.4.9-1.el9_1.1 | ELSA-2023-0337 |
| Oracle Linux 8 | expat +1 | 2.2.5-10.0.1.el8_7.1 | ELSA-2023-0103 |
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 2 repositories
-
nidhihcl/external_expat_2.1.0_CVE-2022-43680 ★ 0 · Dec 19, 2022
-
Trinadh465/external_expat-2.1.0_CVE-2022-43680 ★ 0 · Dec 15, 2022
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 50
- ALSA-2023:0337 Moderate: expat security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2023:0103 Moderate: expat security update AlmaLinux Security Advisories · Oct 29, 2026
- SUSE-SU-2026:24323-1 Security update for expat SUSE / openSUSE Security Updates · Oct 27, 2026
- WID-SEC-2022-1844 expat: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Oct 25, 2026
- RHSA-2025:22871 Red Hat Security Advisory: expat security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2025:22785 Red Hat Security Advisory: expat security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2024:0421 Red Hat Security Advisory: expat security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2023:0337 Red Hat Security Advisory: expat security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2023:0103 Red Hat Security Advisory: expat security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2022:8553 Red Hat Security Advisory: firefox security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2022:8554 Red Hat Security Advisory: firefox security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2022:8549 Red Hat Security Advisory: firefox security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2022:8550 Red Hat Security Advisory: firefox security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2022:8548 Red Hat Security Advisory: firefox security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- SUSE-SU-2026:4623-1 Security update for expat SUSE / openSUSE Security Updates · Oct 13, 2026
- SUSE-SU-2026:4615-1 Security update for expat SUSE / openSUSE Security Updates · Oct 13, 2026
- 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
- WID-SEC-2026-2912 Dell PowerScale OneFS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 30, 2026
- WID-SEC-2024-0794 Dell ECS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- WID-SEC-2026-2355 Dell integrated Dell Remote Access Controller: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 14, 2026
- WID-SEC-2023-1350 Splunk Splunk Enterprise: Mehrere Schwachstellen in Komponenten von Drittanbietern BSI CERT-Bund (WID) · Jul 1, 2026
- USN-5638-4 expat vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- USN-5638-3 expat vulnerability Ubuntu Security Notices (USN) · Jun 25, 2026
- USN-5638-2 expat vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DSA-5266-1 expat - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3165-1 expat - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2023:0337 Moderate: expat security update Rocky Linux Security Advisories · Feb 4, 2026
- RLSA-2023:0103 Moderate: expat security update Rocky Linux Security Advisories · Feb 4, 2026
- openSUSE-SU-2024:12449-1 expat-2.5.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:3912-1 Security update for expat SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:3874-1 Security update for expat SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-1542 Red Hat OpenShift: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 18, 2025
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- VDE-2023-001 PHOENIX CONTACT: Multiple Vulnerabilities in PLCnext Firmware CERT@VDE · Jun 5, 2025
- VDE-2022-058 PHOENIX CONTACT: Profinet SDK libexpat vulnerabilities CERT@VDE · May 14, 2025
- ICSA-23-131-05 Siemens SINEC NMS Third-Party CISA ICS & IT advisories · May 6, 2025
- SUSE-SU-2022:3884-1 Security update for expat SUSE / openSUSE Security Updates · May 2, 2025
- WID-SEC-2023-3226 Apache OpenOffice: Mehrere Schwachstellen BSI CERT-Bund (WID) · Dec 28, 2023
- WID-SEC-2023-1807 Oracle Fusion Middleware: Mehrere Schwachstellen BSI CERT-Bund (WID) · Dec 26, 2023
- WID-SEC-2023-2676 Oracle Enterprise Manager: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 17, 2023
- WID-SEC-2023-1818 Oracle Database Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 18, 2023
- WID-SEC-2023-0292 Android Patchday Februar 2023 BSI CERT-Bund (WID) · Jun 1, 2023
- ICSA-23-143-01 Hitachi Energy’s AFS65x, AFS67x, AFR67x and AFF66x Products CISA ICS & IT advisories · May 31, 2023
- WID-SEC-2023-0561 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 18, 2023
- SSA-892048 SSA-892048: Third-Party Component Vulnerabilities in SINEC NMS before V1.0.3.1 Siemens ProductCERT · May 9, 2023
- WID-SEC-2023-0132 Oracle Fusion Middleware: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 1, 2023
- WID-SEC-2023-1017 Oracle Financial Services Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 18, 2023
- ALAS2023-2023-058 Critical: expat security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 22, 2023
- ELSA-2023-0337 Moderate: expat security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jan 24, 2023
- WID-SEC-2022-2372 genua genugate: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 19, 2023
References
- https://github.com/libexpat/libexpat/pull/650
- https://github.com/libexpat/libexpat/issues/649
- https://github.com/libexpat/libexpat/pull/616
- [debian-lts-announce] 20221028 [SECURITY] [DLA 3165-1] expat security update mailing-list
- DSA-5266 vendor-advisory
- GLSA-202210-38 vendor-advisory
- FEDORA-2022-ae2559a8f4 vendor-advisory
- FEDORA-2022-3cf0e7ebc7 vendor-advisory
- FEDORA-2022-f3a939e960 vendor-advisory
- FEDORA-2022-5f1e2e9016 vendor-advisory
- FEDORA-2022-49db80f821 vendor-advisory
- FEDORA-2022-c43235716e vendor-advisory
- https://security.netapp.com/advisory/ntap-20221118-0007/
- [oss-security] 20231228 CVE-2022-43680: Apache OpenOffice: "Use after free" fixed in libexpat mailing-list
- [oss-security] 20240103 CVE-2022-43680: Apache OpenOffice: "Use after free" fixed in libexpat mailing-list