CVE
CVE-2022-40674
published high CVSS 3.1 · 8.1expat: a use-after-free in the doContent function in xmlparse.c
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2022-1877 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2022-1900 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | expat | Advisory build | 2.2.5-8.el8_6.3 | ALSA-2022:6878 |
| Alpine Linux | edge | expat | Fixed | 2.4.9-r0 | Package fix record |
Show 102 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2FIREFOX-2023-010 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-058 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bullseye | expat | Advisory build | 2.2.10-2+deb11u4 | DSA-5236-1 |
| Oracle Linux | 6 | compat-expat1i686 | Advisory build | 0:1.95.8-8.0.1.el6 | ELSA-2022-9967 |
| Red Hat Enterprise Linux | RHEL-6 | compat-expat1i686 | Advisory build | 1.95.8-9.el6_10 | RHSA-2022:6967 |
| AlmaLinux | 8 | expat-devel | Advisory build | 2.2.5-8.el8_6.3 | ALSA-2022:6878 |
| AlmaLinux | 8 | firefox | Advisory build | 102.3.0-7.el8_6.alma | ALSA-2022:7024 |
| AlmaLinux | 8 | mingw32-expat | Advisory build | 2.4.8-2.el8 | ALSA-2023:3068 |
| AlmaLinux | 8 | mingw64-expat | Advisory build | 2.4.8-2.el8 | ALSA-2023:3068 |
| AlmaLinux | 8 | thunderbird | Advisory build | 102.3.0-4.el8_6.alma | ALSA-2022:7023 |
| AlmaLinux | 9 | expat | Advisory build | 2.2.10-12.el9_0.3 | ALSA-2022:6838 |
| AlmaLinux | 9 | expat-devel | Advisory build | 2.2.10-12.el9_0.3 | ALSA-2022:6838 |
| AlmaLinux | 9 | firefox | Advisory build | 102.3.0-7.el9_0.alma | ALSA-2022:7020 |
| AlmaLinux | 9 | thunderbird | Advisory build | 102.3.0-4.el9_0.alma.plus | ALSA-2022:7026 |
| Alpine Linux | v3.13 | expat | Fixed | 2.2.10-r7 | Package fix record |
| Alpine Linux | v3.14 | expat | Fixed | 2.4.9-r0 | Package fix record |
| Alpine Linux | v3.15 | expat | Fixed | 2.4.9-r0 | Package fix record |
| Alpine Linux | v3.16 | expat | Fixed | 2.4.9-r0 | Package fix record |
| Alpine Linux | v3.17 | expat | Fixed | 2.4.9-r0 | Package fix record |
| Alpine Linux | v3.18 | expat | Fixed | 2.4.9-r0 | Package fix record |
| Alpine Linux | v3.19 | expat | Fixed | 2.4.9-r0 | Package fix record |
| Alpine Linux | v3.20 | expat | Fixed | 2.4.9-r0 | Package fix record |
| Alpine Linux | v3.21 | expat | Fixed | 2.4.9-r0 | Package fix record |
| Alpine Linux | v3.22 | expat | Fixed | 2.4.9-r0 | Package fix record |
| Alpine Linux | v3.23 | expat | Fixed | 2.4.9-r0 | Package fix record |
| Alpine Linux | v3.24 | expat | Fixed | 2.4.9-r0 | Package fix record |
| Debian | buster | expat | Advisory build | 2.2.6-2+deb10u5 | DLA-3119-1 |
| Oracle Linux | 6 | compat-expat1x86_64 | Advisory build | 0:1.95.8-8.0.1.el6 | ELSA-2022-9967 |
| Oracle Linux | 6 | expati686 | Advisory build | 0:2.0.1-13.0.2.el6_8 | ELSA-2022-9962 |
| Oracle Linux | 6 | expatx86_64 | Advisory build | 0:2.0.1-13.0.2.el6_8 | ELSA-2022-9962 |
| Oracle Linux | 6 | expat-develi686 | Advisory build | 0:2.0.1-13.0.2.el6_8 | ELSA-2022-9962 |
| Oracle Linux | 6 | expat-develx86_64 | Advisory build | 0:2.0.1-13.0.2.el6_8 | ELSA-2022-9962 |
| Oracle Linux | 7 | expataarch64 | Advisory build | 0:2.1.0-15.0.1.el7_9 | ELSA-2022-6834 |
| Oracle Linux | 7 | expatx86_64 | Advisory build | 0:2.1.0-15.0.1.el7_9 | ELSA-2022-6834 |
| Oracle Linux | 7 | expat-develaarch64 | Advisory build | 0:2.1.0-15.0.1.el7_9 | ELSA-2022-6834 |
| Oracle Linux | 7 | expat-develx86_64 | Advisory build | 0:2.1.0-15.0.1.el7_9 | ELSA-2022-6834 |
| Oracle Linux | 7 | expat-staticaarch64 | Advisory build | 0:2.1.0-15.0.1.el7_9 | ELSA-2022-6834 |
| Oracle Linux | 7 | expat-staticx86_64 | Advisory build | 0:2.1.0-15.0.1.el7_9 | ELSA-2022-6834 |
| Oracle Linux | 7 | firefoxaarch64 | Advisory build | 0:102.3.0-7.0.1.el7_9 | ELSA-2022-6997 |
| Oracle Linux | 7 | firefoxx86_64 | Advisory build | 0:102.3.0-7.0.1.el7_9 | ELSA-2022-6997 |
| Oracle Linux | 7 | thunderbirdaarch64 | Advisory build | 0:102.3.0-4.0.1.el7_9 | ELSA-2022-6998 |
| Oracle Linux | 7 | thunderbirdx86_64 | Advisory build | 0:102.3.0-4.0.1.el7_9 | ELSA-2022-6998 |
| Oracle Linux | 8 | expataarch64 | Advisory build | 0:2.2.5-8.0.1.el8_6.3 | ELSA-2022-6878 |
| Oracle Linux | 8 | expatx86_64 | Advisory build | 0:2.2.5-8.0.1.el8_6.3 | ELSA-2022-6878 |
| Oracle Linux | 8 | expat-develaarch64 | Advisory build | 0:2.2.5-8.0.1.el8_6.3 | ELSA-2022-6878 |
| Oracle Linux | 8 | expat-develx86_64 | Advisory build | 0:2.2.5-8.0.1.el8_6.3 | ELSA-2022-6878 |
| Oracle Linux | 8 | firefoxaarch64 | Advisory build | 0:102.3.0-7.0.1.el8_6 | ELSA-2022-7024 |
| Oracle Linux | 8 | firefoxx86_64 | Advisory build | 0:102.3.0-7.0.1.el8_6 | ELSA-2022-7024 |
| Oracle Linux | 8 | thunderbirdaarch64 | Advisory build | 0:102.3.0-4.0.1.el8_6 | ELSA-2022-7023 |
| Oracle Linux | 8 | thunderbirdx86_64 | Advisory build | 0:102.3.0-4.0.1.el8_6 | ELSA-2022-7023 |
| Oracle Linux | 9 | expataarch64 | Advisory build | 0:2.2.10-12.el9_0.3 | ELSA-2022-6838 |
| Oracle Linux | 9 | expatx86_64 | Advisory build | 0:2.2.10-12.el9_0.3 | ELSA-2022-6838 |
| Oracle Linux | 9 | expat-develaarch64 | Advisory build | 0:2.2.10-12.el9_0.3 | ELSA-2022-6838 |
| Oracle Linux | 9 | expat-develx86_64 | Advisory build | 0:2.2.10-12.el9_0.3 | ELSA-2022-6838 |
| Oracle Linux | 9 | firefoxaarch64 | Advisory build | 0:102.3.0-7.0.1.el9_0 | ELSA-2022-7020 |
| Oracle Linux | 9 | firefoxx86_64 | Advisory build | 0:102.3.0-7.0.1.el9_0 | ELSA-2022-7020 |
| Oracle Linux | 9 | thunderbirdaarch64 | Advisory build | 0:102.3.0-4.0.1.el9_0 | ELSA-2022-7026 |
| Oracle Linux | 9 | thunderbirdx86_64 | Advisory build | 0:102.3.0-4.0.1.el9_0 | ELSA-2022-7026 |
| Red Hat Enterprise Linux | RHEL-6 | compat-expat1s390 | Advisory build | 1.95.8-9.el6_10 | RHSA-2022:6967 |
| Red Hat Enterprise Linux | RHEL-6 | compat-expat1s390x | Advisory build | 1.95.8-9.el6_10 | RHSA-2022:6967 |
| Red Hat Enterprise Linux | RHEL-6 | compat-expat1src | Advisory build | 1.95.8-9.el6_10 | RHSA-2022:6967 |
| Red Hat Enterprise Linux | RHEL-6 | compat-expat1x86_64 | Advisory build | 1.95.8-9.el6_10 | RHSA-2022:6967 |
| Red Hat Enterprise Linux | RHEL-6 | compat-expat1-debuginfoi686 | Advisory build | 1.95.8-9.el6_10 | RHSA-2022:6967 |
| Red Hat Enterprise Linux | RHEL-6 | compat-expat1-debuginfos390 | Advisory build | 1.95.8-9.el6_10 | RHSA-2022:6967 |
| Red Hat Enterprise Linux | RHEL-6 | compat-expat1-debuginfos390x | Advisory build | 1.95.8-9.el6_10 | RHSA-2022:6967 |
| Red Hat Enterprise Linux | RHEL-6 | compat-expat1-debuginfox86_64 | Advisory build | 1.95.8-9.el6_10 | RHSA-2022:6967 |
| Red Hat Enterprise Linux | RHEL-6 | expati686 | Advisory build | 2.0.1-15.el6_10 | RHSA-2022:6921 |
| Red Hat Enterprise Linux | RHEL-6 | expats390 | Advisory build | 2.0.1-15.el6_10 | RHSA-2022:6921 |
| Red Hat Enterprise Linux | RHEL-6 | expats390x | Advisory build | 2.0.1-15.el6_10 | RHSA-2022:6921 |
| Red Hat Enterprise Linux | RHEL-6 | expatsrc | Advisory build | 2.0.1-15.el6_10 | RHSA-2022:6921 |
| Red Hat Enterprise Linux | RHEL-6 | expatx86_64 | Advisory build | 2.0.1-15.el6_10 | RHSA-2022:6921 |
| Red Hat Enterprise Linux | RHEL-6 | expat-debuginfoi686 | Advisory build | 2.0.1-15.el6_10 | RHSA-2022:6921 |
| Red Hat Enterprise Linux | RHEL-6 | expat-debuginfos390 | Advisory build | 2.0.1-15.el6_10 | RHSA-2022:6921 |
| Red Hat Enterprise Linux | RHEL-6 | expat-debuginfos390x | Advisory build | 2.0.1-15.el6_10 | RHSA-2022:6921 |
| Red Hat Enterprise Linux | RHEL-6 | expat-debuginfox86_64 | Advisory build | 2.0.1-15.el6_10 | RHSA-2022:6921 |
| Red Hat Enterprise Linux | RHEL-6 | expat-develi686 | Advisory build | 2.0.1-15.el6_10 | RHSA-2022:6921 |
| Red Hat Enterprise Linux | RHEL-6 | expat-devels390 | Advisory build | 2.0.1-15.el6_10 | RHSA-2022:6921 |
| Red Hat Enterprise Linux | RHEL-6 | expat-devels390x | Advisory build | 2.0.1-15.el6_10 | RHSA-2022:6921 |
| Red Hat Enterprise Linux | RHEL-6 | expat-develx86_64 | Advisory build | 2.0.1-15.el6_10 | RHSA-2022:6921 |
| Red Hat Enterprise Linux | RHEL-7 | expati686 | Advisory build | 2.1.0-15.el7_9 | RHSA-2022:6834 |
| Red Hat Enterprise Linux | RHEL-7 | expatppc | Advisory build | 2.1.0-15.el7_9 | RHSA-2022:6834 |
| Red Hat Enterprise Linux | RHEL-7 | expatppc64 | Advisory build | 2.1.0-15.el7_9 | RHSA-2022:6834 |
| Red Hat Enterprise Linux | RHEL-7 | expatppc64le | Advisory build | 2.1.0-15.el7_9 | RHSA-2022:6834 |
| Red Hat Enterprise Linux | RHEL-7 | expats390 | Advisory build | 2.1.0-15.el7_9 | RHSA-2022:6834 |
| Red Hat Enterprise Linux | RHEL-7 | expats390x | Advisory build | 2.1.0-15.el7_9 | RHSA-2022:6834 |
| Red Hat Enterprise Linux | RHEL-7 | expatsrc | Advisory build | 2.1.0-15.el7_9 | RHSA-2022:6834 |
| Red Hat Enterprise Linux | RHEL-7 | expatx86_64 | Advisory build | 2.1.0-15.el7_9 | RHSA-2022:6834 |
| Red Hat Enterprise Linux | RHEL-7 | expat-debuginfoi686 | Advisory build | 2.1.0-15.el7_9 | RHSA-2022:6834 |
| Red Hat Enterprise Linux | RHEL-7 | expat-debuginfoppc | Advisory build | 2.1.0-15.el7_9 | RHSA-2022:6834 |
| Red Hat Enterprise Linux | RHEL-7 | expat-debuginfoppc64 | Advisory build | 2.1.0-15.el7_9 | RHSA-2022:6834 |
| Red Hat Enterprise Linux | RHEL-7 | expat-debuginfoppc64le | Advisory build | 2.1.0-15.el7_9 | RHSA-2022:6834 |
| Red Hat Enterprise Linux | RHEL-7 | expat-debuginfos390 | Advisory build | 2.1.0-15.el7_9 | RHSA-2022:6834 |
| Red Hat Enterprise Linux | RHEL-7 | expat-debuginfos390x | Advisory build | 2.1.0-15.el7_9 | RHSA-2022:6834 |
| Red Hat Enterprise Linux | RHEL-7 | expat-debuginfox86_64 | Advisory build | 2.1.0-15.el7_9 | RHSA-2022:6834 |
| Red Hat Enterprise Linux | RHEL-7 | expat-develi686 | Advisory build | 2.1.0-15.el7_9 | RHSA-2022:6834 |
| Red Hat Enterprise Linux | RHEL-7 | expat-develppc | Advisory build | 2.1.0-15.el7_9 | RHSA-2022:6834 |
| Red Hat Enterprise Linux | RHEL-7 | expat-develppc64 | Advisory build | 2.1.0-15.el7_9 | RHSA-2022:6834 |
| Red Hat Enterprise Linux | RHEL-7 | expat-develppc64le | Advisory build | 2.1.0-15.el7_9 | RHSA-2022:6834 |
| Red Hat Enterprise Linux | RHEL-7 | expat-devels390 | Advisory build | 2.1.0-15.el7_9 | RHSA-2022:6834 |
| Red Hat Enterprise Linux | RHEL-7 | expat-devels390x | Advisory build | 2.1.0-15.el7_9 | RHSA-2022:6834 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
2- n/a
- CWE-416 CWE-416 Use After Free
References
15- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-558014.html
- https://cert-portal.siemens.com/productcert/html/ssa-892048.html
- https://github.com/libexpat/libexpat/pull/629
- https://github.com/libexpat/libexpat/pull/640
- [debian-lts-announce] 20220925 [SECURITY] [DLA 3119-1] expat security update https://lists.debian.org/debian-lts-announce/2022/09/msg00029.html
- FEDORA-2022-d93b3bd8b9 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GSVZN3IJ6OCPSJL7AEX3ZHSHAHFOGESK/
- FEDORA-2022-c68d90efc3 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J2IGJNHFV53PYST7VQV3T4NHVYAMXA36/
- FEDORA-2022-dcb1d7bcb1 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LQB6FJAM5YQ35SF5B2MN25Y2FX56EOEZ/
- FEDORA-2022-15ec504440 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WE2ZKEPGFCZ7R6DRVH3K6RBJPT42ZBEG/
- FEDORA-2022-c22feb71ba https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XCGBVQQ47URGJAZWHCISHDWF6QBTV2LE/
- GLSA-202209-24 https://security.gentoo.org/glsa/202209-24
- GLSA-202211-06 https://security.gentoo.org/glsa/202211-06
- https://security.netapp.com/advisory/ntap-20221028-0008/
- DSA-5236 https://www.debian.org/security/2022/dsa-5236
Provider assertions
4mitre · cna
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 89f250dc420fbde77b8d65096153f98c7f11a4008008b1afb133c01bb363f1e0
- Ingested
- 14 Oct 2026, 20:24:42 UTC
- Source record
- Official CVE record