CVE-2022-40674
libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.
02 Description
libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.
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.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 2.25% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 82.5% of scored records. A rank, not a probability.
- NVD base score
- 8.1 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-10-14.
- Red Hat severity
- Important. 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-09-14 00:00Z4 YR AGO
- Last updated
- 2026-10-14 18:06Z14 DAYS AGO
- Reserved
- 2022-09-14
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- High (CVSS 8.1)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-416Use After FreeVariant
- Data version
- 5.2
- Document digest
- 6ac9d770f0b1a33f2f887efa32b5baed32f373ba0f5c552ef72c318e6d920839
05 Affected products
06 References
- github.comhttps://github.com/libexpat/libexpat/pull/629
- github.comhttps://github.com/libexpat/libexpat/pull/640
- www.debian.orgDSA-5236https://www.debian.org/security/2022/dsa-5236
- lists.debian.org[debian-lts-announce] 20220925 [SECURITY] [DLA 3119-1] expat security updatehttps://lists.debian.org/debian-lts-announce/2022/09/msg00029.html
- security.gentoo.orgGLSA-202209-24https://security.gentoo.org/glsa/202209-24
- lists.fedoraproject.orgFEDORA-2022-15ec504440https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WE2ZKEPGFCZ7R6DRVH3K6RBJPT42ZBEG/
- lists.fedoraproject.orgFEDORA-2022-c68d90efc3https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J2IGJNHFV53PYST7VQV3T4NHVYAMXA36/
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20221028-0008/
- lists.fedoraproject.orgFEDORA-2022-d93b3bd8b9https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GSVZN3IJ6OCPSJL7AEX3ZHSHAHFOGESK/
- lists.fedoraproject.orgFEDORA-2022-c22feb71bahttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XCGBVQQ47URGJAZWHCISHDWF6QBTV2LE/
- lists.fedoraproject.orgFEDORA-2022-dcb1d7bcb1https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LQB6FJAM5YQ35SF5B2MN25Y2FX56EOEZ/
- security.gentoo.orgGLSA-202211-06https://security.gentoo.org/glsa/202211-06
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-558014.html
- 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-8.el8_6.3
- expat-devel Fixed in 2.2.5-8.el8_6.3
- firefox Fixed in 102.3.0-7.el8_6.alma
- mingw32-expat Fixed in 2.4.8-2.el8
- mingw64-expat Fixed in 2.4.8-2.el8
- thunderbird Fixed in 102.3.0-4.el8_6.alma
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.2.10-12.el9_0.3
- expat-devel Fixed in 2.2.10-12.el9_0.3
- firefox Fixed in 102.3.0-7.el9_0.alma
- thunderbird Fixed in 102.3.0-4.el9_0.alma.plus
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Arch Linux
- expat Fixed in 2.4.9-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
CloudLinux 8
- expat Fixed in 2.2.5-8.el8_6.3
- expat-devel Fixed in 2.2.5-8.el8_6.3
- firefox Fixed in 102.3.0-7.el8_6.alma
- mingw32-expat Fixed in 2.4.8-2.el8
- mingw64-expat Fixed in 2.4.8-2.el8
- thunderbird Fixed in 102.3.0-4.el8_6.alma
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.2.10-12.el9_0.3
- expat-devel Fixed in 2.2.10-12.el9_0.3
- firefox Fixed in 102.3.0-7.el9_0.alma
- thunderbird Fixed in 102.3.0-4.el9_0.alma.plus
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.4.8-2
- 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.4.8-2
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- expat Fixed in 2.4.8-2
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
- smart 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
- firefox Fixed in 107.0+build2-0ubuntu0.18.04.1
- matanza No fix yet
- smart 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
- coin3 No fix yet
- expat Fixed in 2.2.9-1ubuntu0.5
- firefox Fixed in 107.0+build2-0ubuntu0.20.04.1
- 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
- coin3 No fix yet
- expat Fixed in 2.4.7-1ubuntu0.1
- 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
- coin3 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
- coin3 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
- coin3 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
- coin3 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+esm6Available 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.