libxml2 up to 2.10.2 XML Document memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.7$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as critical, has been found in libxml2 up to 2.10.2. This issue affects some unknown processing of the component XML Document Handler. The manipulation leads to memory corruption. This vulnerability is traded as CVE-2022-40303. It is possible to initiate the attack remotely. There is no exploit available. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as critical, has been found in libxml2 up to 2.10.2 (Document Processing Software). This issue affects an unknown functionality of the component XML Document Handler. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

An issue was discovered in libxml2 before 2.10.3. When parsing a multi-gigabyte XML document with the XML_PARSE_HUGE parser option enabled, several integer counters can overflow. This results in an attempt to access an array at a negative 2GB offset, typically leading to a segmentation fault.

The weakness was shared 11/23/2022 as c846986356fc149915a74972bf198abc266bc2c0. The advisory is shared at gitlab.gnome.org. The identification of this vulnerability is CVE-2022-40303 since 09/09/2022. It demands that the victim is doing some kind of user interaction. Neither technical details nor an exploit are 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. The upgrade is hosted for download at gitlab.gnome.org. Applying the patch c846986356fc149915a74972bf198abc266bc2c0 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 (211168). If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.9
VulDB Meta Temp Score: 6.7

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.5
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Memory corruption
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 211168
Nessus Name: Fedora 37 : libxml2 / xmlsec1 (2022-a6812b0224)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: libxml2 2.10.3
Patch: c846986356fc149915a74972bf198abc266bc2c0

Timelineinfo

09/09/2022 🔍
11/23/2022 +75 days 🔍
11/23/2022 +0 days 🔍
04/29/2025 +888 days 🔍

Sourcesinfo

Advisory: c846986356fc149915a74972bf198abc266bc2c0
Status: Confirmed

CVE: CVE-2022-40303 (🔍)
GCVE (CVE): GCVE-0-2022-40303
GCVE (VulDB): GCVE-100-214229

Entryinfo

Created: 11/23/2022 11:52
Updated: 04/29/2025 10:30
Changes: 11/23/2022 11:52 (44), 12/22/2022 11:46 (11), 11/17/2024 02:27 (17), 04/28/2025 16:11 (3), 04/29/2025 10:30 (1)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!