| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.4 | $0-$5k | 0.00 |
Summary
A vulnerability described as critical has been identified in libxml2 up to 2.10.2. Affected is an unknown function of the component XML Entity Definition Handler. Such manipulation leads to double free. This vulnerability is listed as CVE-2022-40304. The attack may be performed from remote. There is no available exploit. Upgrading the affected component is recommended.
Details
A vulnerability was found in libxml2 up to 2.10.2 (Document Processing Software) and classified as critical. Affected by this issue is an unknown code block of the component XML Entity Definition Handler. The manipulation with an unknown input leads to a double free vulnerability. Using CWE to declare the problem leads to CWE-415. The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations. Impacted is confidentiality, integrity, and availability. CVE summarizes:
An issue was discovered in libxml2 before 2.10.3. Certain invalid XML entity definitions can corrupt a hash table key, potentially leading to subsequent logic errors. In one case, a double-free can be provoked.
The weakness was presented 11/23/2022 as 1b41ec4e9433b05bb0376be4725804c54ef1d80b. The advisory is shared for download at gitlab.gnome.org. This vulnerability is handled as CVE-2022-40304 since 09/09/2022. There are neither technical details nor an exploit publicly available.
The vulnerability scanner Nessus provides a plugin with the ID 211168 (Fedora 37 : libxml2 / xmlsec1 (2022-a6812b0224)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 2.10.3 eliminates this vulnerability. Applying the patch 1b41ec4e9433b05bb0376be4725804c54ef1d80b is able to eliminate this problem. The bugfix is ready for download at gitlab.gnome.org. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the databases at Tenable (211168) and EUVD (EUVD-2022-43601). Once again VulDB remains the best source for vulnerability data.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.5VulDB Meta Temp Score: 7.4
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.8
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: Double freeCWE: CWE-415 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
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: 211168
Nessus Name: Fedora 37 : libxml2 / xmlsec1 (2022-a6812b0224)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: libxml2 2.10.3
Patch: 1b41ec4e9433b05bb0376be4725804c54ef1d80b
Timeline
09/09/2022 🔍11/23/2022 🔍
11/23/2022 🔍
07/25/2026 🔍
Sources
Advisory: 1b41ec4e9433b05bb0376be4725804c54ef1d80bStatus: Confirmed
CVE: CVE-2022-40304 (🔍)
GCVE (CVE): GCVE-0-2022-40304
GCVE (VulDB): GCVE-100-214268
EUVD: 🔍
Entry
Created: 11/23/2022 20:37Updated: 07/25/2026 02:16
Changes: 11/23/2022 20:37 (42), 12/22/2022 14:47 (11), 11/17/2024 03:28 (17), 04/28/2025 23:30 (1), 07/25/2026 02:16 (1)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.