xmlsoft libxml2 up to 2.10.x xinclude.c xmlXIncludeAddNode use after free
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.7 | $0-$5k | 0.80 |
Summary
A vulnerability was found in xmlsoft libxml2 up to 2.10.x and classified as critical. This vulnerability affects the function xmlXIncludeAddNode of the file xinclude.c. The manipulation results in use after free.
This vulnerability is reported as CVE-2022-49043. The attack requires a local approach. No exploit exists.
It is suggested to upgrade the affected component.
Details
A vulnerability classified as critical has been found in xmlsoft libxml2 up to 2.10.x. Affected is the function xmlXIncludeAddNode of the file xinclude.c. The manipulation with an unknown input leads to a use after free vulnerability. CWE is classifying the issue as CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
xmlXIncludeAddNode in xinclude.c in libxml2 before 2.11.0 has a use-after-free.
The advisory is shared for download at gitlab.gnome.org. This vulnerability is traded as CVE-2022-49043 since 01/26/2025. The exploitability is told to be difficult. The attack needs to be approached locally. There are known technical details, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 214777 (Ubuntu 20.04 LTS / 22.04 LTS / 24.04 LTS : libxml2 vulnerabilities (USN-7240-1)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 2.11.0 eliminates this vulnerability. Applying the patch 5a19e21605398cef6a8b1452477a8705cb41562b 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 vulnerability database at Tenable (214777). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Vendor
Name
Version
License
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: 4.5
VulDB Temp Score: 4.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.8
NVD Vector: 🔍
CNA Base Score: 8.1
CNA Vector (MITRE): 🔍
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: Partially
Local: Yes
Remote: No
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: 214777
Nessus Name: Ubuntu 20.04 LTS / 22.04 LTS / 24.04 LTS : libxml2 vulnerabilities (USN-7240-1)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: libxml2 2.11.0
Patch: 5a19e21605398cef6a8b1452477a8705cb41562b
Timeline
01/26/2025 🔍01/26/2025 🔍
01/26/2025 🔍
10/07/2025 🔍
Sources
Advisory: 17467Status: Confirmed
CVE: CVE-2022-49043 (🔍)
GCVE (CVE): GCVE-0-2022-49043
GCVE (VulDB): GCVE-100-293472
Entry
Created: 01/26/2025 09:49Updated: 10/07/2025 18:44
Changes: 01/26/2025 09:49 (69), 01/29/2025 23:49 (2), 10/07/2025 18:44 (12)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.