CVE-2022-43680 Use after free in n/a

High 7.5 Published Updated

A use-after-free vulnerability in libexpat allows attackers to cause denial of service or potentially execute code via crafted XML input.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-43680?

CVE-2022-43680 is a high-severity use after free vulnerability in Debian Debian Linux, published on 24 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-416

Which versions are affected by CVE-2022-43680?

It affects 12 products.

Linux distribution packages (40)
expat AlmaLinux:8All versions2.2.5-10.el8_7.1
expat-devel AlmaLinux:8All versions2.2.5-10.el8_7.1
expat AlmaLinux:9All versions2.4.9-1.el9_1.1
expat-devel AlmaLinux:9All versions2.4.9-1.el9_1.1
expat Red Hat:enterprise_linux:8::baseosAll versions0:2.2.5-10.el8_7.1
expat-debuginfo Red Hat:enterprise_linux:8::baseosAll versions0:2.2.5-10.el8_7.1
expat-debugsource Red Hat:enterprise_linux:8::baseosAll versions0:2.2.5-10.el8_7.1
expat-devel Red Hat:enterprise_linux:8::baseosAll versions0:2.2.5-10.el8_7.1
expat-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:2.4.9-1.el9_1.1
expat-debugsource Red Hat:enterprise_linux:9::appstreamAll versions0:2.4.9-1.el9_1.1
expat-devel Red Hat:enterprise_linux:9::appstreamAll versions0:2.4.9-1.el9_1.1
expat Red Hat:enterprise_linux:9::baseosAll versions0:2.4.9-1.el9_1.1
expat-debuginfo Red Hat:enterprise_linux:9::baseosAll versions0:2.4.9-1.el9_1.1
expat-debugsource Red Hat:enterprise_linux:9::baseosAll versions0:2.4.9-1.el9_1.1
expat Red Hat:rhel_eus:8.6::baseosAll versions0:2.2.5-8.el8_6.4
expat-debuginfo Red Hat:rhel_eus:8.6::baseosAll versions0:2.2.5-8.el8_6.4
expat-debugsource Red Hat:rhel_eus:8.6::baseosAll versions0:2.2.5-8.el8_6.4
expat-devel Red Hat:rhel_eus:8.6::baseosAll versions0:2.2.5-8.el8_6.4
expat Rocky Linux:8All versions0:2.2.5-10.el8_7.1
expat Rocky Linux:9All versions0:2.4.9-1.el9_1.1
expat SUSE:Enterprise Storage 6All versions2.2.5-150000.3.25.1
expat SUSE:Enterprise Storage 7All versions2.2.5-150000.3.25.1
expat SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOSAll versions2.2.5-150000.3.25.1
expat SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSAll versions2.2.5-150000.3.25.1
expat SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOSAll versions2.2.5-150000.3.25.1
expat SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions2.2.5-150000.3.25.1
expat SUSE:Linux Enterprise High Performance Computing 15-ESPOSAll versions2.2.5-150000.3.25.1
expat SUSE:Linux Enterprise High Performance Computing 15-LTSSAll versions2.2.5-150000.3.25.1
expat SUSE:Linux Enterprise Micro 5.1All versions2.2.5-150000.3.25.1
expat SUSE:Linux Enterprise Micro 5.2All versions2.2.5-150000.3.25.1
expat SUSE:Linux Enterprise Micro 5.3All versions2.4.4-150400.3.12.1
expat SUSE:Linux Enterprise Module for Basesystem 15 SP3All versions2.2.5-150000.3.25.1
expat SUSE:Linux Enterprise Module for Basesystem 15 SP4All versions2.4.4-150400.3.12.1
expat SUSE:Linux Enterprise Server 12 SP2-BCLAll versions2.1.0-21.28.1
expat SUSE:Linux Enterprise Server 12 SP3-BCLAll versions2.1.0-21.28.1
expat SUSE:Linux Enterprise Server 12 SP4-LTSSAll versions2.1.0-21.28.1
expat SUSE:Linux Enterprise Server 12 SP5All versions2.1.0-21.28.1
expat SUSE:Linux Enterprise Server 15 SP1-BCLAll versions2.2.5-150000.3.25.1
expat SUSE:Linux Enterprise Server 15 SP1-LTSSAll versions2.2.5-150000.3.25.1
expat SUSE:Linux Enterprise Server 15 SP2-BCLAll versions2.2.5-150000.3.25.1

Products include Debian Debian Linux, Fedoraproject Fedora, Libexpat Project Libexpat, Netapp Active Iq Unified Manager, Netapp H300s Firmware, Netapp H410c Firmware and 6 more.

How do I fix CVE-2022-43680?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2022-43680 being exploited?

There is no known exploitation of CVE-2022-43680 in the wild and no public exploit code.

Public exploit code: 2 proofs of concept on GitHub.

All Debian Debian Linux vulnerabilities

Sources

Also known as A-255449293, ALPINE-CVE-2022-43680, ALSA-2023:0103, ALSA-2023:0337, ASB-A-255449293, AZL-11316 and 24 more.

Is CVE-2022-43680 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free