CVSS 3.1
8.1 highCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HHigh (8.1). EPSS 2.4% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HExplain CVE-2022-40674 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-40674?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-40674?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-40674 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| libexpat_project:libexpat | before 2.4.9 |
| debian:debian_linux | 10.0 |
| debian:debian_linux | 11.0 |
| fedoraproject:fedora | 35 |
| fedoraproject:fedora | 36 |
| fedoraproject:fedora | 37 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | expat | 2.2.6-2+deb10u5 | DLA-3119-1 |
| Debian | 11 | expat | 2.2.10-2+deb11u4 | DSA-5236-1 |
| Debian | 12 | libxmltok | no fix listed | DEBIAN-CVE-2022-40674 |
| Debian | 12, 13, 14 | expat | 2.4.8-2 | DEBIAN-CVE-2022-40674 |
| Ubuntu | 16.04:LTS | tdom, smart, wbxml2 and 3 more | no fix listed | UBUNTU-CVE-2022-40674 |
| Ubuntu | 18.04:LTS | expat | 2.2.5-3ubuntu0.8 | UBUNTU-CVE-2022-40674 USN-5638-2 |
| Ubuntu | 18.04:LTS | firefox | 107.0+build2-0ubuntu0.18.04.1 | UBUNTU-CVE-2022-40674 USN-5726-1 |
| Ubuntu | 18.04:LTS | tdom, vnc4, smart and 3 more | no fix listed | UBUNTU-CVE-2022-40674 |
| Ubuntu | 20.04:LTS | expat | 2.2.9-1ubuntu0.5 | UBUNTU-CVE-2022-40674 USN-5638-2 |
| Ubuntu | 20.04:LTS | firefox | 107.0+build2-0ubuntu0.20.04.1 | UBUNTU-CVE-2022-40674 USN-5726-1 |
| Ubuntu | 20.04:LTS | tdom, coin3, wbxml2 and 2 more | no fix listed | UBUNTU-CVE-2022-40674 |
| Ubuntu | 22.04:LTS | expat | 2.4.7-1ubuntu0.1 | UBUNTU-CVE-2022-40674 USN-5638-2 |
| Ubuntu | 22.04:LTS, 24.04:LTS | tdom, coin3, wbxml2 and 3 more | no fix listed | UBUNTU-CVE-2022-40674 |
| Ubuntu | 25.10, 26.10 | tdom, coin3, wbxml2 and 5 more | no fix listed | UBUNTU-CVE-2022-40674 |
| Ubuntu | 26.04:LTS | tdom, coin3, wbxml2 and 4 more | no fix listed | UBUNTU-CVE-2022-40674 |
| Ubuntu | Pro:14.04:LTS | expat | 2.1.0-4ubuntu1.4+esm7 | UBUNTU-CVE-2022-40674 USN-5638-4 |
| 6 more for Ubuntu in the JSON and on Ubuntu's page. | ||||
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstation | expat, expat-devel, expat-static and 1 more | 0:2.1.0-15.el7_9 | RHSA-2022:6834 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstation | firefox, firefox-debuginfo | 0:102.3.0-7.el7_9 | RHSA-2022:6997 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstation | thunderbird, thunderbird-debuginfo | 0:102.3.0-4.el7_9 | RHSA-2022:6998 |
| Red Hat | enterprise_linux:7::computenode | expat-devel, expat-static, expat-debuginfo | 0:2.1.0-15.el7_9 | RHSA-2022:6834 |
| Red Hat | enterprise_linux:8::appstream | firefox, firefox-debuginfo, firefox-debugsource | 0:102.3.0-7.el8_6 | RHSA-2022:7024 |
| Red Hat | enterprise_linux:8::appstream | thunderbird, thunderbird-debuginfo, thunderbird-debugsource | 0:102.3.0-4.el8_6 | RHSA-2022:7023 |
| Red Hat | enterprise_linux:8::baseos | expat, expat-devel, expat-debuginfo and 1 more | 0:2.2.5-8.el8_6.3 | RHSA-2022:6878 |
| Red Hat | enterprise_linux:8::crb | mingw-expat, mingw32-expat, mingw64-expat and 2 more | 0:2.4.8-2.el8 | RHSA-2023:3068 |
| Red Hat | enterprise_linux:9::appstream | expat-devel, expat-debuginfo, expat-debugsource | 0:2.2.10-12.el9_0.3 | RHSA-2022:6838 |
| Red Hat | enterprise_linux:9::appstream | firefox, firefox-debuginfo, firefox-debugsource | 0:102.3.0-7.el9_0 | RHSA-2022:7020 |
| Red Hat | enterprise_linux:9::appstream | thunderbird, thunderbird-debuginfo, thunderbird-debugsource | 0:102.3.0-4.el9_0 | RHSA-2022:7026 |
| Red Hat | enterprise_linux:9::baseos | expat, expat-debuginfo, expat-debugsource | 0:2.2.10-12.el9_0.3 | RHSA-2022:6838 |
| 12 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 19 more | expat | 2.2.5-150000.3.22.1 | SUSE-SU-2022:3597-1 |
| SUSE | Linux Enterprise Micro 5.3, Linux Enterprise Module for Basesystem 15 SP4 | expat | 2.4.4-150400.3.9.1 | SUSE-SU-2022:3489-1 |
| SUSE | Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP4-LTSS and 6 more | expat | 2.1.0-21.25.1 | SUSE-SU-2022:3466-1 |
| openSUSE | Leap 15.3, Leap Micro 5.2 | expat | 2.2.5-150000.3.22.1 | SUSE-SU-2022:3597-1 |
| openSUSE | Leap 15.4 | expat | 2.4.4-150400.3.9.1 | SUSE-SU-2022:3489-1 |
| openSUSE | Tumbleweed | MozillaFirefox | 107.0-1.1 | openSUSE-SU-2024:12518-1 |
| openSUSE | Tumbleweed | expat | 2.4.9-1.1 | openSUSE-SU-2024:12359-1 |
| openSUSE | Tumbleweed | firefox-esr | 128.5.1-1.1 | openSUSE-SU-2024:14572-1 |
| AlmaLinux | 8 | expat, expat-devel | 2.2.5-8.el8_6.3 | ALSA-2022:6878 |
| AlmaLinux | 8 | firefox | 102.3.0-7.el8_6.alma | ALSA-2022:7024 |
| AlmaLinux | 8 | mingw32-expat, mingw64-expat | 2.4.8-2.el8 | ALSA-2023:3068 |
| AlmaLinux | 8 | thunderbird | 102.3.0-4.el8_6.alma | ALSA-2022:7023 |
| AlmaLinux | 9 | expat, expat-devel | 2.2.10-12.el9_0.3 | ALSA-2022:6838 |
| AlmaLinux | 9 | firefox | 102.3.0-7.el9_0.alma | ALSA-2022:7020 |
| AlmaLinux | 9 | thunderbird | 102.3.0-4.el9_0.alma.plus | ALSA-2022:7026 |
| Rocky Linux | 8 | expat | 0:2.2.5-8.el8_6.3 | RLSA-2022:6878 |
| Rocky Linux | 8 | firefox | 0:102.3.0-7.el8_6 | RLSA-2022:7024 |
| Rocky Linux | 8 | mingw-expat | 0:2.4.8-2.el8 | RLSA-2023:3068 |
| Rocky Linux | 8 | thunderbird | 0:102.3.0-4.el8_6 | RLSA-2022:7023 |
| Rocky Linux | 9 | expat | 0:2.2.10-12.el9_0.3 | RLSA-2022:6838 |
| Alpine | v3.13 | expat | 2.2.10-r7 | ALPINE-CVE-2022-40674 |
| Alpine | v3.14, v3.15, v3.16 and 8 more | expat | 2.4.9-r0 | ALPINE-CVE-2022-40674 |
| Azure Linux | 2 | expat | 2.4.8-2 | AZL-10921 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Important.
This flaw is rated as important because this flaw can easily compromise the confidentiality, integrity, or availability of resources but a successful attack can not execute arbitrary code, or allow remote users to cause a denial of service because attack complexity is high and depends on conditions beyond the attacker's control.
There is no known mitigation other than restricting applications using the expat library from processing XML content. Please update the affected packages as soon as possible.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 Extended Lifecycle Support | expat-0:2.0.1-15.el6_10 | Fixed 2022-10-12 | RHSA-2022:6921 |
| Red Hat Enterprise Linux 6 Extended Lifecycle Support | compat-expat1-0:1.95.8-9.el6_10 | Fixed 2022-10-17 | RHSA-2022:6967 |
| Red Hat Enterprise Linux 7 | expat-0:2.1.0-15.el7_9 | Fixed 2022-10-06 | RHSA-2022:6834 |
| Red Hat Enterprise Linux 7 | firefox-0:102.3.0-7.el7_9 | Fixed 2022-10-18 | RHSA-2022:6997 |
| Red Hat Enterprise Linux 7 | thunderbird-0:102.3.0-4.el7_9 | Fixed 2022-10-18 | RHSA-2022:6998 |
| Red Hat Enterprise Linux 8 | thunderbird-0:102.3.0-4.el8_6 | Fixed 2022-10-18 | RHSA-2022:7023 |
| Red Hat Enterprise Linux 8 | firefox-0:102.3.0-7.el8_6 | Fixed 2022-10-18 | RHSA-2022:7024 |
| Red Hat Enterprise Linux 8 | mingw-expat-0:2.4.8-2.el8 | Fixed 2023-05-16 | RHSA-2023:3068 |
| Red Hat Enterprise Linux 8 | expat-0:2.2.5-8.el8_6.3 | Fixed 2022-10-11 | RHSA-2022:6878 |
| Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions | firefox-0:102.3.0-7.el8_1 | Fixed 2022-10-18 | RHSA-2022:7019 |
| Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions | thunderbird-0:102.3.0-4.el8_1 | Fixed 2022-10-18 | RHSA-2022:7021 |
| Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions | expat-0:2.2.5-3.el8_1.2 | Fixed 2022-10-06 | RHSA-2022:6833 |
| Red Hat Enterprise Linux 8.2 Extended Update Support | thunderbird-0:102.3.0-4.el8_2 | Fixed 2022-10-18 | RHSA-2022:6996 |
| Red Hat Enterprise Linux 8.2 Extended Update Support | firefox-0:102.3.0-7.el8_2 | Fixed 2022-10-18 | RHSA-2022:7022 |
| Red Hat Enterprise Linux 8.2 Extended Update Support | expat-0:2.2.5-3.el8_2.3 | Fixed 2022-10-06 | RHSA-2022:6832 |
| Red Hat Enterprise Linux 8 | firefox:flatpak/firefox | Out of support scope | |
| Red Hat Enterprise Linux 8 | thunderbird:flatpak/thunderbird | Out of support scope | |
| Red Hat Enterprise Linux 8 | xmlrpc-c | Not affected | |
| Red Hat Enterprise Linux 9 | firefox:flatpak/firefox | Affected | |
| Red Hat Enterprise Linux 9 | thunderbird:flatpak/thunderbird | Affected | |
| 8 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-40674.
| Advisory | Title | Published | Sectors | Affected | Fixed |
|---|---|---|---|---|---|
| ICSA-25-105-08 | ABB M2M Gateway | 2025-04-07 | Energy | ABB M2M Gateway ARM600, firmware versions = 4.1.2 <= 5.0.3, ABB M2M Gateway SW, software versions = 5.0.1 <= 5.0.3 | none listed |
| ICSA-23-348-10 | Siemens SIMATIC S7-1500 | 2023-12-12 | Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and Facilities | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 more | none listed |
| ICSA-23-143-01 | Hitachi Energy’s AFS65x, AFS67x, AFR67x and AFF66x Products | 2023-05-31 | Energy | AFS660/665S: <= 7.1.05, AFS660/665C: <= 7.1.05, AFS670v2: <= 7.1.05 and 4 more | none listed |
| ICSA-23-131-05 | Siemens SINEC NMS Third-Party | 2023-05-09 | Multiple | SINEC NMS | none listed |
| ICSA-23-103-09 | Siemens SCALANCE XCM332 | 2023-04-11 | Multiple | SCALANCE XCM332 (6GK5332-0GA01-2AC2) | none listed |
From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.