Skip to content
OpenAdvisories
High · 7.5 Public exploit CVE-2022-43680 EUVD-2022-46673GHSA-4hjv-8mmr-jxwv

In libexpat through 2.4.9, there is a use-after free caused by overeager destruction of a shared DTD in XML_ExternalEntityParserCreate in o…

Published Oct 24, 2022 · Updated Oct 14, 2026 · Assigned by mitre

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.

ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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 ↗
ReleasePackageFixed inAdvisory
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 ↗
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.2 expat 2.2.5-150000.3.25.1 SUSE-SU-2022:3912-1
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) expat 2.5.0-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
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.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 50

References