CVE-2022-43680
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.
02 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.
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 3.18% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 87.9% of scored records. A rank, not a probability.
- NVD base score
- 7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-10-14.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-10-24 00:00Z4 YR AGO
- Last updated
- 2026-10-14 18:26Z15 DAYS AGO
- Reserved
- 2022-10-24
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- High (CVSS 7.5)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-416Use After FreeVariant
- Data version
- 5.2
- Document digest
- 2b4c432501e1d3490bc23536fa641c30b243a72673316a559ec4f137f70b2318
05 Affected products
06 References
- github.comhttps://github.com/libexpat/libexpat/pull/650
- github.comhttps://github.com/libexpat/libexpat/issues/649
- github.comhttps://github.com/libexpat/libexpat/pull/616
- lists.debian.org[debian-lts-announce] 20221028 [SECURITY] [DLA 3165-1] expat security updatehttps://lists.debian.org/debian-lts-announce/2022/10/msg00033.html
- www.debian.orgDSA-5266https://www.debian.org/security/2022/dsa-5266
- security.gentoo.orgGLSA-202210-38https://security.gentoo.org/glsa/202210-38
- lists.fedoraproject.orgFEDORA-2022-ae2559a8f4https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BY4OPSIB33ETNUXZY2UPZ4NGQ3OKDY4D/
- lists.fedoraproject.orgFEDORA-2022-3cf0e7ebc7https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AJ5VY2VYXE4WTRGQ6LMGLF6FV3SY37YE/
- lists.fedoraproject.orgFEDORA-2022-f3a939e960https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IUJ2BULJTZ2BMSKQHB6US674P55UCWWS/
- lists.fedoraproject.orgFEDORA-2022-5f1e2e9016https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XG5XOOB7CD55CEE6OJYKSACSIMQ4RWQ6/
- lists.fedoraproject.orgFEDORA-2022-49db80f821https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DPQVIF6TOJNY2T3ZZETFKR4G34FFREBQ/
- lists.fedoraproject.orgFEDORA-2022-c43235716ehttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FFCOMBSOJKLIKCGCJWHLJXO4EVYBG7AR/
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20221118-0007/
- www.openwall.com[oss-security] 20231228 CVE-2022-43680: Apache OpenOffice: "Use after free" fixed in libexpathttp://www.openwall.com/lists/oss-security/2023/12/28/5
- www.openwall.com[oss-security] 20240103 CVE-2022-43680: Apache OpenOffice: "Use after free" fixed in libexpathttp://www.openwall.com/lists/oss-security/2024/01/03/5
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-892048.html
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-398330.html
07 Fixed in
AlmaLinux 8
- expat Fixed in 2.2.5-10.el8_7.1
- expat-devel Fixed in 2.2.5-10.el8_7.1
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 9
- expat Fixed in 2.4.9-1.el9_1.1
- expat-devel Fixed in 2.4.9-1.el9_1.1
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- expat Fixed in 2.2.5-10.el8_7.1
- expat-devel Fixed in 2.2.5-10.el8_7.1
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 9
- expat Fixed in 2.4.9-1.el9_1.1
- expat-devel Fixed in 2.4.9-1.el9_1.1
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- expat Fixed in 2.5.0-1
- libxmltok No fix yet
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- expat Fixed in 2.5.0-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- expat Fixed in 2.5.0-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- cadaver No fix yet
- insighttoolkit4 No fix yet
- matanza No fix yet
- tdom No fix yet
- wbxml2 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- cadaver No fix yet
- expat Fixed in 2.2.5-3ubuntu0.8
- matanza No fix yet
- tdom No fix yet
- vnc4 No fix yet
- wbxml2 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- cadaver No fix yet
- expat Fixed in 2.2.9-1ubuntu0.6
- matanza No fix yet
- tdom No fix yet
- wbxml2 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- cadaver No fix yet
- expat Fixed in 2.4.7-1ubuntu0.2
- matanza No fix yet
- tdom No fix yet
- thunderbird No fix yet
- wbxml2 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- cadaver No fix yet
- matanza No fix yet
- tdom No fix yet
- thunderbird No fix yet
- wbxml2 No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 25.10
- cadaver No fix yet
- matanza No fix yet
- swish-e No fix yet
- tdom No fix yet
- thunderbird No fix yet
- wbxml2 No fix yet
- xmlrpc-c No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.04 LTS
- cadaver No fix yet
- matanza No fix yet
- tdom No fix yet
- thunderbird No fix yet
- wbxml2 No fix yet
- xmlrpc-c No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 26.10
- cadaver No fix yet
- matanza No fix yet
- swish-e No fix yet
- tdom No fix yet
- thunderbird No fix yet
- wbxml2 No fix yet
- xmlrpc-c No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- coin3 No fix yet
- expat Fixed in 2.1.0-4ubuntu1.4+esm7Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- vnc4 No fix yet
- vtk No fix yet
- xmlrpc-c No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- ayttm No fix yet
- cableswig No fix yet
- coin3 No fix yet
- expat Fixed in 2.1.0-7ubuntu0.16.04.5+esm7Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- insighttoolkit No fix yet
- swish-e No fix yet
- vnc4 No fix yet
- vtk No fix yet
- xmlrpc-c No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- coin3 No fix yet
- swish-e No fix yet
- xmlrpc-c No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 20.04 LTS
- swish-e No fix yet
- xmlrpc-c No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 22.04 LTS
- swish-e No fix yet
- xmlrpc-c No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 24.04 LTS
- swish-e No fix yet
- xmlrpc-c No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 26.04 LTS
- swish-e No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.