PT-2022-1384 · Libexpat+12 · Libexpat+12

Hartwork

·

Published

2022-10-24

·

Updated

2026-04-01

·

CVE-2022-43680

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions libexpat versions 2.4.9 and earlier
Description The issue is related to a use-after-free vulnerability in the XML ExternalEntityParserCreate function of the libexpat XML parsing library. This vulnerability can be exploited by a remote attacker to cause a denial of service. The vulnerability occurs due to the overeager destruction of a shared DTD in out-of-memory situations. It may also lead to remote code execution with no additional execution privileges needed, and user interaction is not required for exploitation.
Recommendations For libexpat versions 2.4.9 and earlier, update to a version later than 2.4.9 to resolve the issue. As a temporary workaround, consider disabling the XML ExternalEntityParserCreate function until a patch is available. Restrict access to the vulnerable library to minimize the risk of exploitation.

Exploit

Fix

DoS

Use After Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2023:0103
ALSA-2023:0337
ALT-PU-2022-2958
ALT-PU-2022-2969
ALT-PU-2022-3329
ALT-PU-2023-4107
ALT-PU-2023-4120
ALT-PU-2023-4144
ASB-A-255449293
AZL-11316
BDU:2023-02688
CESA-2022_8554
CESA-2023_0103
CLEANSTART-2026-EM10970
CLEANSTART-2026-MH09144
CLEANSTART-2026-YT18139
CVE-2022-43680
DLA-3165-1
DSA-5266-1
MGASA-2022-0409
MGASA-2022-0427
OESA-2022-2037
OPENSUSE-SU-2022_3884-1
OPENSUSE-SU-2022_3912-1
OPENSUSE-SU-2024:12449-1
RHSA-2022:8548
RHSA-2022:8549
RHSA-2022:8550
RHSA-2022:8553
RHSA-2022:8554
RHSA-2022_8554
RHSA-2023:0103
RHSA-2023:0337
RHSA-2023_0103
RHSA-2023_0337
RHSA-2024:0421
RLSA-2023:0103
RLSA-2023:0337
SUSE-SU-2022:3874-1
SUSE-SU-2022:3884-1
SUSE-SU-2022:3912-1
SUSE-SU-2022_3874-1
SUSE-SU-2022_3884-1
SUSE-SU-2022_3912-1
USN-5638-2
USN-5638-3
USN-5638-4

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Debian
Ibm Aix
Linuxmint
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu
Libexpat