Vulnerability · Published Oct 24, 2022 · Assigned by mitre
CVE-2022-43680
High 7.5
In plain English
A high-severity use-after-free in the expat package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.2% (higher than 88% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)3.2%top 11.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | expat | 2.2.5-10.el8_7.1 | ALSA-2023:0103 |
| AlmaLinux:9 | expat | 2.4.9-1.el9_1.1 | ALSA-2023:0337 |
| AlmaLinux:8 | expat-devel | 2.2.5-10.el8_7.1 | ALSA-2023:0103 |
| AlmaLinux:9 | expat-devel | 2.4.9-1.el9_1.1 | ALSA-2023:0337 |
| Alpine:v3.20 | expat | 2.5.0-r0 | ALPINE-CVE-2022-43680 |
| Alpine:v3.21 | expat | 2.5.0-r0 | ALPINE-CVE-2022-43680 |
| Alpine:v3.22 | expat | 2.5.0-r0 | ALPINE-CVE-2022-43680 |
| Alpine:v3.23 | expat | 2.5.0-r0 | ALPINE-CVE-2022-43680 |
| Alpine:v3.24 | expat | 2.5.0-r0 | ALPINE-CVE-2022-43680 |
| Debian:12 | expat | 2.5.0-1 | DEBIAN-CVE-2022-43680 |
| Debian:13 | expat | 2.5.0-1 | DEBIAN-CVE-2022-43680 |
| Debian:14 | expat | 2.5.0-1 | DEBIAN-CVE-2022-43680 |
| Debian:12 | libxmltok | no fix listed | DEBIAN-CVE-2022-43680 |
| Rocky Linux:8 | expat | 0:2.2.5-10.el8_7.1 | RLSA-2023:0103 |
| Rocky Linux:9 | expat | 0:2.4.9-1.el9_1.1 | RLSA-2023:0337 |
| Ubuntu:22.04:LTS | cadaver | no fix listed | UBUNTU-CVE-2022-43680 |
| Ubuntu:24.04:LTS | cadaver | no fix listed | UBUNTU-CVE-2022-43680 |
| Ubuntu:25.10 | cadaver | no fix listed | UBUNTU-CVE-2022-43680 |
| Ubuntu:26.04:LTS | cadaver | no fix listed | UBUNTU-CVE-2022-43680 |
| Ubuntu:26.10 | cadaver | no fix listed | UBUNTU-CVE-2022-43680 |
| Ubuntu:22.04:LTS | expat | 2.4.7-1ubuntu0.1 | USN-5638-2 |
| Ubuntu:22.04:LTS | expat | 2.4.7-1ubuntu0.2 | UBUNTU-CVE-2022-43680 |
| Ubuntu:22.04:LTS | expat | 2.4.7-1ubuntu0.2 | USN-5638-3 |
| Ubuntu:22.04:LTS | matanza | no fix listed | UBUNTU-CVE-2022-43680 |
| Ubuntu:24.04:LTS | matanza | no fix listed | UBUNTU-CVE-2022-43680 |
| Ubuntu:25.10 | matanza | no fix listed | UBUNTU-CVE-2022-43680 |
| Ubuntu:26.04:LTS | matanza | no fix listed | UBUNTU-CVE-2022-43680 |
| Ubuntu:26.10 | matanza | no fix listed | UBUNTU-CVE-2022-43680 |
| Ubuntu:25.10 | swish-e | no fix listed | UBUNTU-CVE-2022-43680 |
| Ubuntu:26.10 | swish-e | no fix listed | UBUNTU-CVE-2022-43680 |
| Ubuntu:22.04:LTS | tdom | no fix listed | UBUNTU-CVE-2022-43680 |
| Ubuntu:24.04:LTS | tdom | no fix listed | UBUNTU-CVE-2022-43680 |
| Ubuntu:25.10 | tdom | no fix listed | UBUNTU-CVE-2022-43680 |
| Ubuntu:26.04:LTS | tdom | no fix listed | UBUNTU-CVE-2022-43680 |
| Ubuntu:26.10 | tdom | no fix listed | UBUNTU-CVE-2022-43680 |
| Ubuntu:22.04:LTS | thunderbird | no fix listed | UBUNTU-CVE-2022-43680 |
| Ubuntu:24.04:LTS | thunderbird | no fix listed | UBUNTU-CVE-2022-43680 |
| Ubuntu:25.10 | thunderbird | no fix listed | UBUNTU-CVE-2022-43680 |
| Ubuntu:26.04:LTS | thunderbird | no fix listed | UBUNTU-CVE-2022-43680 |
| Ubuntu:26.10 | thunderbird | no fix listed | UBUNTU-CVE-2022-43680 |
| Ubuntu:22.04:LTS | wbxml2 | no fix listed | UBUNTU-CVE-2022-43680 |
| Ubuntu:24.04:LTS | wbxml2 | no fix listed | UBUNTU-CVE-2022-43680 |
| Ubuntu:25.10 | wbxml2 | no fix listed | UBUNTU-CVE-2022-43680 |
| Ubuntu:26.04:LTS | wbxml2 | no fix listed | UBUNTU-CVE-2022-43680 |
| Ubuntu:26.10 | wbxml2 | no fix listed | UBUNTU-CVE-2022-43680 |
| Ubuntu:25.10 | xmlrpc-c | no fix listed | UBUNTU-CVE-2022-43680 |
| Ubuntu:26.04:LTS | xmlrpc-c | no fix listed | UBUNTU-CVE-2022-43680 |
| Ubuntu:26.10 | xmlrpc-c | no fix listed | UBUNTU-CVE-2022-43680 |
Affected products (as reported)
Weakness: CWE-416 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/libexpat/libexpat/pull/650
- https://github.com/libexpat/libexpat/issues/649
- https://github.com/libexpat/libexpat/pull/616
- [debian-lts-announce] 20221028 [SECURITY] [DLA 3165-1] expat security update mailing-list
- DSA-5266 vendor-advisory
- GLSA-202210-38 vendor-advisory
- FEDORA-2022-ae2559a8f4 vendor-advisory
- FEDORA-2022-3cf0e7ebc7 vendor-advisory
- FEDORA-2022-f3a939e960 vendor-advisory
- FEDORA-2022-5f1e2e9016 vendor-advisory
- FEDORA-2022-49db80f821 vendor-advisory
- FEDORA-2022-c43235716e vendor-advisory
- https://security.netapp.com/advisory/ntap-20221118-0007/
- [oss-security] 20231228 CVE-2022-43680: Apache OpenOffice: "Use after free" fixed in libexpat mailing-list
- [oss-security] 20240103 CVE-2022-43680: Apache OpenOffice: "Use after free" fixed in libexpat mailing-list
- https://cert-portal.siemens.com/productcert/html/ssa-892048.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html