cve.bz

CVE-2022-43680 Use After Free

7.5 highExploit referenceEPSS 3.2%Fix available

High (7.5). EPSS 3.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
3.2% (unchanged from 3.2% a week ago; 2.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-05-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-43680 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-43680?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-43680?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-43680 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2022-43680

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2022-43680](https://cve.bz/cve/badge/CVE-2022-43680.svg)](https://cve.bz/cve/CVE-2022-43680)

HTML:

<a href="https://cve.bz/cve/CVE-2022-43680"><img src="https://cve.bz/cve/badge/CVE-2022-43680.svg" alt="CVE-2022-43680"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libexpat_project:libexpatthrough 2.4.9
debian:debian_linux10.0
debian:debian_linux11.0
fedoraproject:fedora35
fedoraproject:fedora36
fedoraproject:fedora37

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10expat2.2.6-2+deb10u6DLA-3165-1
Debian11expat2.2.10-2+deb11u5DSA-5266-1
Debian12libxmltokno fix listedDEBIAN-CVE-2022-43680
Debian12, 13, 14expat2.5.0-1DEBIAN-CVE-2022-43680
Ubuntu16.04:LTStdom, wbxml2, cadaver and 2 moreno fix listedUBUNTU-CVE-2022-43680
Ubuntu18.04:LTSexpat2.2.5-3ubuntu0.8UBUNTU-CVE-2022-43680 USN-5638-2 USN-5638-3
Ubuntu18.04:LTStdom, vnc4, wbxml2 and 2 moreno fix listedUBUNTU-CVE-2022-43680
Ubuntu20.04:LTSexpat2.2.9-1ubuntu0.6UBUNTU-CVE-2022-43680 USN-5638-2 USN-5638-3
Ubuntu20.04:LTStdom, wbxml2, cadaver and 1 moreno fix listedUBUNTU-CVE-2022-43680
Ubuntu22.04:LTSexpat2.4.7-1ubuntu0.2UBUNTU-CVE-2022-43680 USN-5638-2 USN-5638-3
Ubuntu22.04:LTS, 24.04:LTStdom, wbxml2, cadaver and 2 moreno fix listedUBUNTU-CVE-2022-43680
Ubuntu25.10, 26.10tdom, wbxml2, cadaver and 4 moreno fix listedUBUNTU-CVE-2022-43680
Ubuntu26.04:LTStdom, wbxml2, cadaver and 3 moreno fix listedUBUNTU-CVE-2022-43680
UbuntuPro:14.04:LTSexpat2.1.0-4ubuntu1.4+esm7UBUNTU-CVE-2022-43680 USN-5638-4
UbuntuPro:14.04:LTSvtk, vnc4, coin3 and 1 moreno fix listedUBUNTU-CVE-2022-43680
UbuntuPro:16.04:LTSexpat2.1.0-7ubuntu0.16.04.5+esm7UBUNTU-CVE-2022-43680 USN-5638-3
4 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::appstreamfirefox, firefox-debuginfo, firefox-debugsource0:102.5.0-1.el8_7RHSA-2022:8554
Red Hatenterprise_linux:8::baseosexpat, expat-devel, expat-debuginfo and 1 more0:2.2.5-10.el8_7.1RHSA-2023:0103
Red Hatenterprise_linux:9::appstreamexpat-devel, expat-debuginfo, expat-debugsource0:2.4.9-1.el9_1.1RHSA-2023:0337
Red Hatenterprise_linux:9::baseosexpat, expat-debuginfo, expat-debugsource0:2.4.9-1.el9_1.1RHSA-2023:0337
Red Hatrhel_aus:8.2::appstream, rhel_e4s:8.2::appstream, rhel_tus:8.2::appstreamfirefox, firefox-debuginfo, firefox-debugsource0:102.5.0-1.el8_2RHSA-2022:8550
Red Hatrhel_aus:8.2::baseosexpat0:2.2.10-1.el8_2RHSA-2025:22871
Red Hatrhel_aus:8.4::baseos, rhel_eus_long_life:8.4::baseosexpat0:2.2.10-1.el8_4RHSA-2025:22785
Red Hatrhel_e4s:8.1::appstreamfirefox, firefox-debuginfo, firefox-debugsource0:102.5.0-1.el8_1RHSA-2022:8553
Red Hatrhel_eus:8.4::appstreamfirefox, firefox-debuginfo, firefox-debugsource0:102.5.0-1.el8_4RHSA-2022:8549
Red Hatrhel_eus:8.6::appstreamfirefox, firefox-debuginfo, firefox-debugsource0:102.5.0-1.el8_6RHSA-2022:8548
Red Hatrhel_eus:8.6::baseosexpat, expat-devel, expat-debuginfo and 1 more0:2.2.5-8.el8_6.4RHSA-2024:0421
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 19 moreexpat2.2.5-150000.3.25.1SUSE-SU-2022:3912-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 10 moreexpat2.8.5-150400.3.40.1SUSE-SU-2026:4623-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Module for Basesystem 15 SP4expat2.4.4-150400.3.12.1SUSE-SU-2022:3884-1
SUSELinux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP4-LTSS and 6 moreexpat2.1.0-21.28.1SUSE-SU-2022:3874-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5expat2.8.5-21.55.1SUSE-SU-2026:4615-1
SUSELinux Micro 6.0expat2.8.5-159998.1.1SUSE-SU-2026:24323-1
openSUSELeap 15.3, Leap Micro 5.2expat2.2.5-150000.3.25.1SUSE-SU-2022:3912-1
openSUSELeap 15.4expat2.4.4-150400.3.12.1SUSE-SU-2022:3884-1
openSUSETumbleweedexpat2.5.0-1.1openSUSE-SU-2024:12449-1
AlmaLinux8expat, expat-devel2.2.5-10.el8_7.1ALSA-2023:0103
AlmaLinux9expat, expat-devel2.4.9-1.el9_1.1ALSA-2023:0337
Rocky Linux8expat0:2.2.5-10.el8_7.1RLSA-2023:0103
Rocky Linux9expat0:2.4.9-1.el9_1.1RLSA-2023:0337
Alpinev3.13expat2.2.10-r8ALPINE-CVE-2022-43680
Alpinev3.14, v3.15, v3.16 and 8 moreexpat2.5.0-r0ALPINE-CVE-2022-43680
Azure Linux2expat2.5.0-1AZL-11316

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability can only happen under special (out-of-memory) conditions, thus it is not possible to exploit on every possible system that has expat installed. Additionally as the flaw is only capable of causing a Denial of Service, Red Hat rates the impact as Moderate.

ProductPackageStateAdvisory
JBCS httpd 2.4.51.sp2expatFixed 2023-06-05RHSA-2023:3355
Red Hat Enterprise Linux 8firefox-0:102.5.0-1.el8_7Fixed 2022-11-21RHSA-2022:8554
Red Hat Enterprise Linux 8expat-0:2.2.5-10.el8_7.1Fixed 2023-01-12RHSA-2023:0103
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionsfirefox-0:102.5.0-1.el8_1Fixed 2022-11-21RHSA-2022:8553
Red Hat Enterprise Linux 8.2 Advanced Update Supportfirefox-0:102.5.0-1.el8_2Fixed 2022-11-21RHSA-2022:8550
Red Hat Enterprise Linux 8.2 Advanced Update Supportexpat-0:2.2.10-1.el8_2Fixed 2025-12-09RHSA-2025:22871
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicefirefox-0:102.5.0-1.el8_2Fixed 2022-11-21RHSA-2022:8550
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionsfirefox-0:102.5.0-1.el8_2Fixed 2022-11-21RHSA-2022:8550
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportexpat-0:2.2.10-1.el8_4Fixed 2025-12-04RHSA-2025:22785
Red Hat Enterprise Linux 8.4 Extended Update Supportfirefox-0:102.5.0-1.el8_4Fixed 2022-11-21RHSA-2022:8549
Red Hat Enterprise Linux 6compat-expat1Out of support scope
Red Hat Enterprise Linux 6expatOut of support scope
Red Hat Enterprise Linux 7expatWill not fix
Red Hat Enterprise Linux 7firefoxAffected
Red Hat Enterprise Linux 7thunderbirdAffected
Red Hat Enterprise Linux 8firefox:flatpak/firefoxOut of support scope
Red Hat Enterprise Linux 8thunderbirdAffected
Red Hat Enterprise Linux 8thunderbird:flatpak/thunderbirdWill not fix
Red Hat Enterprise Linux 8xmlrpc-cNot affected
Red Hat Enterprise Linux 9firefoxAffected
7 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-43680.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed
ICSA-23-143-01Hitachi Energy’s AFS65x, AFS67x, AFR67x and AFF66x Products2023-05-31EnergyAFS660/665S: <= 7.1.05, AFS660/665C: <= 7.1.05, AFS670v2: <= 7.1.05 and 4 morenone listed
ICSA-23-131-05Siemens SINEC NMS Third-Party2023-05-09MultipleSINEC NMSnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON