CVE & CISA-KEV Catalog

CVE-2022-40674

HIGHEPSS 74th pctl
8.1
CVSS v3
NVD

Description

libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.

How to fix

Remediation Available
expatDebian
Fixed in:2.2.10-2+deb11u4CVE-2022-40674
Fixed in:2.4.8-2CVE-2022-40674
Fixed in:2.4.8-2CVE-2022-40674
Fixed in:2.4.8-2CVE-2022-40674
mingw-expatRocky
Fixed in:0:2.4.8-2.el8RHSA-2023:3068
mingw-expatRed Hat / RHEL
Fixed in:0:2.4.8-2.el8RHSA-2023:3068
mingw32-expatRocky
Fixed in:0:2.4.8-2.el8RHSA-2023:3068
mingw32-expatRed Hat / RHEL
Fixed in:0:2.4.8-2.el8RHSA-2023:3068
mingw32-expat-debuginfoRed Hat / RHEL
Fixed in:0:2.4.8-2.el8RHSA-2023:3068
mingw32-expat-debuginfoRocky
Fixed in:0:2.4.8-2.el8RHSA-2023:3068
mingw64-expatRed Hat / RHEL
Fixed in:0:2.4.8-2.el8RHSA-2023:3068
mingw64-expatRocky
Fixed in:0:2.4.8-2.el8RHSA-2023:3068
mingw64-expat-debuginfoRocky
Fixed in:0:2.4.8-2.el8RHSA-2023:3068
mingw64-expat-debuginfoRed Hat / RHEL
Fixed in:0:2.4.8-2.el8RHSA-2023:3068
expatUbuntu
Fixed in:2.1.0-4ubuntu1.4+esm7USN-5638-4
Fixed in:2.1.0-7ubuntu0.16.04.5+esm6USN-5638-1
Fixed in:2.2.5-3ubuntu0.8USN-5638-2
Fixed in:2.2.9-1ubuntu0.5USN-5638-2
Fixed in:2.4.7-1ubuntu0.1USN-5638-2
firefoxUbuntu
Fixed in:107.0+build2-0ubuntu0.18.04.1USN-5726-1
Fixed in:107.0+build2-0ubuntu0.20.04.1USN-5726-1
lib64expat1Ubuntu
Fixed in:2.1.0-7ubuntu0.16.04.5+esm6USN-5638-1
libexpat1Ubuntu
Fixed in:2.1.0-4ubuntu1.4+esm7USN-5638-4
Fixed in:2.1.0-7ubuntu0.16.04.5+esm6USN-5638-1
Fixed in:2.2.5-3ubuntu0.8USN-5638-2
Fixed in:2.2.9-1ubuntu0.5USN-5638-2
Fixed in:2.4.7-1ubuntu0.1USN-5638-2

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

1.66%probability of exploitation in 30 days
74thpercentile

Elevated risk: more likely to be exploited than 74% of all known CVEs.

References

Related Vulnerabilities

Other CWE-416 (Use After Free) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2019-0708Critical9.8100%KEV + Ransom-
CVE-2021-31166Critical9.8100%KEVFix
CVE-2015-5119Critical9.899%KEV-
CVE-2010-3962High8.197%KEV-
CVE-2015-0313Critical9.896%KEVFix
CVE-2017-9798High7.595%-Fix
Embed a live status badge for CVE-2022-40674
CVE-2022-40674 severity badge

Markdown

[![CVE-2022-40674](https://tridentstack.com/cve/badge/CVE-2022-40674.svg)](https://tridentstack.com/cve/CVE-2022-40674)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-40674"><img src="https://tridentstack.com/cve/badge/CVE-2022-40674.svg" alt="CVE-2022-40674"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-05-30.