Description
Expat (aka libexpat) before 2.4.4 has a signed integer overflow in XML_GetBuffer, for configurations with a nonzero XML_CONTEXT_BYTES.
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.4.3-2 | — |
| Debian 13 | expat | 2.4.3-2 | — |
| Debian 12 | expat | 2.4.3-2 | — |
| Debian 12 | libxmltok | No fix yet | — |
| Debian 11 | expat | 2.2.10-2+deb11u1 | DSA-5073-1 |
| Debian 10 | expat | 2.2.6-2+deb10u2 | DSA-5073-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 9 | expat | 2.2.0-2+deb9u4 | DLA-2935-1, DLA-2904-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.3-2 | — |
| Ubuntu 22.04 LTS | firefox | 1:1snap1-0ubuntu1 | — |
| Ubuntu 22.04 LTS | tdom +4 | No fix yet | — |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | expat | 2.2.9-1ubuntu0.2 | USN-5288-1 |
| Ubuntu 20.04 LTS | tdom +1 | No fix yet | — |
| Ubuntu 18.04 LTS | expat | 2.2.5-3ubuntu0.4 | USN-5288-1 |
| Ubuntu 18.04 LTS | tdom +2 | No fix yet | — |
| Ubuntu 16.04 LTS | tdom +2 | 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 18.04 LTS | coin3 | No fix yet | — |
| Ubuntu Pro 16.04 LTS | expat | 2.1.0-7ubuntu0.16.04.5+esm2 | USN-5288-1 |
| Ubuntu Pro 16.04 LTS | vtk +4 | No fix yet | — |
| Ubuntu Pro 14.04 LTS | expat | 2.1.0-4ubuntu1.4+esm4 | USN-5288-1 |
| Ubuntu Pro 14.04 LTS | vtk +2 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | expat +1 | 2.2.10-12.el9_0 | RHBA-2022:4046 |
| RHEL 8 | expat +1 | 2.2.5-4.el8_5.3 | RHSA-2022:0951 |
| RHEL 7 | expat +2 | 2.1.0-14.el7_9 | RHSA-2022:1069 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8.4 EUS | expat +1 | 2.2.5-4.el8_4.3 | RHSA-2022:4834 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | expat +1 | 2.2.5-8.el8_6.2 | ALSA-2022:0951 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | expat | 2.2.5-4.el8_5.3 | RLSA-2022:0951 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | expat | 2.2.5-3.12.1 | SUSE-SU-2022:0498-1 |
| SLES 15 SP2 | expat | 2.2.5-3.12.1 | SUSE-SU-2022:0498-1 |
| SLES 15 SP1 | expat | 2.2.5-3.12.1 | SUSE-SU-2022:0498-1 |
| SLES 15 | expat | 2.2.5-3.12.1 | SUSE-SU-2022:0498-1 |
| SLES 12 SP5 | expat | 2.1.0-21.15.1 | SUSE-SU-2022:0495-1 |
Show 27 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP4 | expat | 2.1.0-21.15.1 | SUSE-SU-2022:0495-1 |
| SLES 12 SP3 | expat | 2.1.0-21.15.1 | SUSE-SU-2022:0495-1 |
| SLES 12 SP2 | expat | 2.1.0-21.15.1 | SUSE-SU-2022:0495-1 |
| SLES 11 SP4 | expat | 2.0.1-88.42.15.1 | SUSE-SU-2022:14884-1 |
| SLES for SAP 15 SP2 | expat | 2.2.5-3.12.1 | SUSE-SU-2022:0498-1 |
| SLES for SAP 15 SP1 | expat | 2.2.5-3.12.1 | SUSE-SU-2022:0498-1 |
| SLES for SAP 15 | expat | 2.2.5-3.12.1 | SUSE-SU-2022:0498-1 |
| SLES for SAP 12 SP5 | expat | 2.1.0-21.15.1 | SUSE-SU-2022:0495-1 |
| SLES for SAP 12 SP4 | expat | 2.1.0-21.15.1 | SUSE-SU-2022:0495-1 |
| SLES for SAP 12 SP3 | expat | 2.1.0-21.15.1 | SUSE-SU-2022:0495-1 |
| SLE Real Time 15 SP2 | expat | 2.2.5-3.12.1 | SUSE-SU-2022:0498-1 |
| SLE Micro 5.1 | expat | 2.2.5-3.12.1 | SUSE-SU-2022:0498-1 |
| SLE Micro 5.0 | expat | 2.2.5-3.12.1 | SUSE-SU-2022:0498-1 |
| SLE HPC 15 SP2 | expat | 2.2.5-3.12.1 | SUSE-SU-2022:0498-1 |
| SLE HPC 15 SP1 | expat | 2.2.5-3.12.1 | SUSE-SU-2022:0498-1 |
| SLE HPC 15 | expat | 2.2.5-3.12.1 | SUSE-SU-2022:0498-1 |
| SUSE OpenStack Cloud Crowbar 9 | expat | 2.1.0-21.15.1 | SUSE-SU-2022:0495-1 |
| SUSE OpenStack Cloud Crowbar 8 | expat | 2.1.0-21.15.1 | SUSE-SU-2022:0495-1 |
| SUSE OpenStack Cloud 9 | expat | 2.1.0-21.15.1 | SUSE-SU-2022:0495-1 |
| SUSE OpenStack Cloud 8 | expat | 2.1.0-21.15.1 | SUSE-SU-2022:0495-1 |
| SUSE Manager Server 4.1 | expat | 2.2.5-3.12.1 | SUSE-SU-2022:0498-1 |
| SUSE Manager Retail Branch Server 4.1 | expat | 2.2.5-3.12.1 | SUSE-SU-2022:0498-1 |
| SUSE Manager Proxy 4.1 | expat | 2.2.5-3.12.1 | SUSE-SU-2022:0498-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | expat | 2.0.1-88.42.15.1 | SUSE-SU-2022:14884-1 |
| SUSE HPE Helion OpenStack 8 | expat | 2.1.0-21.15.1 | SUSE-SU-2022:0495-1 |
| SUSE Enterprise Storage 7 | expat | 2.2.5-3.12.1 | SUSE-SU-2022:0498-1 |
| SUSE Enterprise Storage 6 | expat | 2.2.5-3.12.1 | SUSE-SU-2022:0498-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | expat | 2.4.4-1.1 | openSUSE-SU-2024:11793-1 |
| openSUSE Leap 15.3 | expat | 2.2.5-3.12.1 | openSUSE-SU-2022:0498-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | expat | 2.4.4-r0 | — |
| Alpine v3.23 | expat | 2.4.4-r0 | — |
| Alpine v3.23 | qt5-qtwebengine | 5.15.3_git20220121-r4 | — |
| Alpine v3.22 | expat | 2.4.4-r0 | — |
| Alpine v3.22 | qt5-qtwebengine | 5.15.3_git20220121-r4 | — |
| Alpine v3.21 | expat | 2.4.4-r0 | — |
| Alpine v3.21 | qt5-qtwebengine | 5.15.3_git20220121-r4 | — |
| Alpine v3.20 | expat | 2.4.4-r0 | — |
| Alpine v3.20 | qt5-qtwebengine | 5.15.3_git20220121-r4 | — |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | expat | 2.4.4-r0 | — |
| Alpine v3.19 | qt5-qtwebengine | 5.15.3_git20220121-r4 | — |
| Alpine v3.18 | expat | 2.4.4-r0 | — |
| Alpine v3.18 | qt5-qtwebengine | 5.15.3_git20220121-r4 | — |
| Alpine v3.17 | expat | 2.4.4-r0 | — |
| Alpine v3.17 | qt5-qtwebengine | 5.15.3_git20220121-r4 | — |
| Alpine v3.16 | expat | 2.4.4-r0 | — |
| Alpine v3.16 | qt5-qtwebengine | 5.15.3_git20220121-r4 | — |
| Alpine v3.15 | expat | 2.4.4-r0 | — |
| Alpine v3.15 | qt5-qtwebengine | 5.15.3_git20211127-r4 | — |
| Alpine v3.14 | expat | 2.4.4-r0 | — |
| Alpine v3.13 | expat | 2.2.10-r3 | — |
| Alpine v3.12 | expat | 2.2.10-r1 | — |
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-12.amzn2.0.1 | ALAS2-2022-1754 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | expat | 2.4.8-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | expat +1 | 2.2.5-4.el8_5.3 | ELSA-2022-0951 |
| Oracle Linux 7 | expat +2 | 2.1.0-14.0.1.el7_9 | ELSA-2022-1069 |
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
-
Satheesh575555/external_expat_AOSP10_r33_CVE-2022-23852 ★ 0 · May 10, 2022
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 33
- WID-SEC-2026-4429 IBM Tivoli Monitoring: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 9, 2026
- ALSA-2022:0951 Important: expat security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2022:4834 Red Hat Security Advisory: expat security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2022:1069 Red Hat Security Advisory: expat security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHSA-2022:0951 Red Hat Security Advisory: expat security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- RHBA-2022:4046 Red Hat Bug Fix Advisory: new packages: expat Red Hat Security Advisories (RHSA) · Oct 15, 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-2022-0432 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 11, 2026
- WID-SEC-2022-0302 Xerox FreeFlow Print Server: Mehrere Schwachstellen ermöglichen Ausführen von beliebigem Programmcode mit Administratorrechten BSI CERT-Bund (WID) · Oct 11, 2026
- USN-5288-1 expat vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- DSA-5073-1 expat - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2935-1 expat - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2904-1 expat - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2022:0951 Important: expat security update Rocky Linux Security Advisories · Feb 4, 2026
- openSUSE-SU-2022:0498-1 Security update for expat SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0498-1 Security update for expat SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0495-1 Security update for expat SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11793-1 expat-2.4.4-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:14884-1 Security update for expat SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2022-1335 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 6, 2025
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- VDE-2022-005 PHOENIX CONTACT: Vulnerabilities in XML parser library Expat (libexpat) CERT@VDE · May 22, 2025
- VDE-2022-010 PHOENIX CONTACT: Multiple Linux component vulnerabilities fixed in latest AXC F x152 LTS release CERT@VDE · May 22, 2025
- WID-SEC-2024-1591 Juniper JUNOS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 11, 2024
- SSA-484086 SSA-484086: Multiple Vulnerabilities in SINEMA Remote Connect Server before V3.1 Siemens ProductCERT · Jul 9, 2024
- ICSA-22-167-17 Siemens OpenSSL Affecting Industrial Products CISA ICS & IT advisories · Jul 9, 2024
- WID-SEC-2023-2639 Hitachi Energy AFS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 12, 2023
- ICSA-23-278-01 Hitachi Energy AFS65x,AFF66x, AFS67x, and AFR67x Series Products CISA ICS & IT advisories · Oct 5, 2023
- WID-SEC-2022-0498 expat: Schwachstelle ermöglicht nicht spezifizierten Angriff BSI CERT-Bund (WID) · May 9, 2023
- ALAS2023-2023-058 Critical: expat security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 22, 2023
- ELSA-2022-1069 Important: expat security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Mar 28, 2022
- ELSA-2022-0951 Important: expat security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Mar 16, 2022
- ALAS2-2022-1754 Moderate: expat security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Mar 4, 2022
References
- https://github.com/libexpat/libexpat/pull/550
- DSA-5073 vendor-advisory
- [debian-lts-announce] 20220307 [SECURITY] [DLA 2935-1] expat security update mailing-list
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.tenable.com/security/tns-2022-05
- https://security.netapp.com/advisory/ntap-20220217-0001/
- https://cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf
- GLSA-202209-24 vendor-advisory