| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.7 | $0-$5k | 0.00 |
Summary
A vulnerability marked as critical has been reported in libexpat up to 2.4.8. This issue affects the function doContent of the file xmlparse.c. This manipulation causes use after free.
This vulnerability is tracked as CVE-2022-40674. No exploit exists.
It is suggested to upgrade the affected component.
Details
A vulnerability has been found in libexpat up to 2.4.8 and classified as critical. Affected by this vulnerability is the function doContent of the file xmlparse.c. The manipulation with an unknown input leads to a use after free vulnerability. The CWE definition for the vulnerability is CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.
The weakness was disclosed 09/14/2022. The advisory is shared at github.com. This vulnerability is known as CVE-2022-40674 since 09/14/2022. Technical details are known, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 208595 (CentOS 7 : thunderbird (RHSA-2022:6998)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 2.4.9 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the databases at Tenable (208595) and CERT Bund (WID-SEC-2022-1504). If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Affected
- IBM Security Guardium
- Open Source CentOS
- Debian Linux
- Amazon Linux 2
- IBM DB2
- Red Hat Enterprise Linux
- NetApp Data ONTAP
- IBM Tivoli Monitoring
- Ubuntu Linux
- IBM HTTP Server
- F5 BIG-IP
- SUSE Linux
- IBM Rational ClearCase
- Oracle Linux
- Red Hat OpenShift
- Gentoo Linux
- NetApp ActiveIQ Unified Manager
- Oracle VM
- HCL Commerce
- IBM MQ
- IBM AIX
- OpenBSD OpenBSD
- IBM QRadar SIEM
- Open Source expat
- Tenable Security Nessus
- IBM Tivoli Network Manager
- Tenable Security Nessus Network Monitor
- Hitachi Energy AFS
- RESF Rocky Linux
- Insyde UEFI Firmware
Product
Name
Version
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.8VulDB Meta Temp Score: 6.7
VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 8.1
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Use after freeCWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 208595
Nessus Name: CentOS 7 : thunderbird (RHSA-2022:6998)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: libexpat 2.4.9
Patch: github.com
Timeline
09/14/2022 🔍09/14/2022 🔍
09/14/2022 🔍
01/04/2026 🔍
Sources
Product: github.comAdvisory: DLA 3119-1
Status: Confirmed
CVE: CVE-2022-40674 (🔍)
GCVE (CVE): GCVE-0-2022-40674
GCVE (VulDB): GCVE-100-208597
CERT Bund: WID-SEC-2022-1504 - expat: Schwachstelle ermöglicht Codeausführung
Entry
Created: 09/14/2022 14:48Updated: 01/04/2026 03:49
Changes: 09/14/2022 14:48 (41), 10/17/2022 13:20 (1), 10/17/2022 13:27 (11), 10/14/2024 15:28 (16), 05/31/2025 01:59 (5), 01/04/2026 03:49 (7)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.