libxml2 up to 2.9.12 valid.c ID/IDREF use after free

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.
5.3$0-$5k0.00

Summaryinfo

A vulnerability was found in libxml2 up to 2.9.12. It has been classified as critical. This affects an unknown function of the file valid.c. Performing a manipulation of the argument ID/IDREF results in use after free. This vulnerability is known as CVE-2022-23308. No exploit is available. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability classified as critical has been found in libxml2 up to 2.9.12 (Document Processing Software). This affects an unknown code block of the file valid.c. The manipulation of the argument ID/IDREF 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.

The weakness was published 02/26/2022. The advisory is shared at gitlab.gnome.org. This vulnerability is uniquely identified as CVE-2022-23308 since 01/17/2022. Technical details are known, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 236689 (Alibaba Cloud Linux 3 : 0018: libxml2 (ALINUX3-SA-2022:0018)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 2.9.13 eliminates this vulnerability. Applying the patch 652dd12a858989b14eed4e84e453059cd3ba340e 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 (236689) and EUVD (EUVD-2022-28391). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.5
VulDB Meta Temp Score: 5.3

VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

Exploitinginfo

Class: Use after free
CWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Partially

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 236689
Nessus Name: Alibaba Cloud Linux 3 : 0018: libxml2 (ALINUX3-SA-2022:0018)

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: libxml2 2.9.13
Patch: 652dd12a858989b14eed4e84e453059cd3ba340e

Timelineinfo

01/17/2022 🔍
02/26/2022 +40 days 🔍
02/26/2022 +0 days 🔍
04/30/2026 +1524 days 🔍

Sourcesinfo

Advisory: 652dd12a858989b14eed4e84e453059cd3ba340e
Status: Confirmed

CVE: CVE-2022-23308 (🔍)
GCVE (CVE): GCVE-0-2022-23308
GCVE (VulDB): GCVE-100-193905
EUVD: 🔍

Entryinfo

Created: 02/26/2022 08:35
Updated: 04/30/2026 02:37
Changes: 02/26/2022 08:35 (42), 03/03/2022 08:44 (2), 05/17/2025 18:51 (16), 04/30/2026 02:37 (1)
Complete: 🔍
Cache ID: 216::103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!