Breaking News: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2022-23308

libxml2: Use-after-free of ID and IDREF attributes

Overview

Published
26 Feb 2022
Modified
14 Oct 2026
High CVE
2 Registry packages
60 OS packages
15 Linux distributions
Yes Fix available

Description

valid.c in libxml2 before 2.9.13 has a use-after-free of ID and IDREF attributes.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-416

Affected packages · 2

Packages affected by CVE-2022-23308
EcosystemPackageVulnerableFixed in
Conan (C/C++) libxml2 <2.9.13 2.9.13
Julia XML2_jll <2.9.14+0 2.9.14+0

Open a package to see all its vulnerabilities.

Operating systems · 69 fixes

Oracle Linux 1 release · 1 package

fixed 1
libxml2
Oracle Linux fixes for CVE-2022-23308
ReleasePackageFixed in
8 libxml2 +2 2.9.7-12.el8_5

Photon OS 2 releases · 1 package

fixed 2
libxml2
Photon OS fixes for CVE-2022-23308
ReleasePackageFixed in
4.0 libxml2 +2 2.9.12-3.ph4
5.0 libxml2 +2 2.15.3-1.ph5

Red Hat 2 releases · 14 packages

eol 1 fixed 27
libxml2 jbcs-httpd24-openssl-pkcs11 jbcs-httpd24-openssl-chil jbcs-httpd24-mod-http2 jbcs-httpd24-mod-jk-ap24 jbcs-httpd24-mod-cluster-native +8
Red Hat fixes for CVE-2022-23308
ReleasePackageFixed inAdvisory
7 libxml2 +3 eol —
7 jbcs-httpd24-openssl-pkcs11 0:0.4.10-26.jbcs.el7 RHSA-2022:1389
7 jbcs-httpd24-openssl-chil 0:1.0.0-11.jbcs.el7 RHSA-2022:1389
7 jbcs-httpd24-mod-http2 0:1.15.7-22.jbcs.el7 RHSA-2022:1389
7 jbcs-httpd24-mod-jk-ap24 +1 0:1.2.48-29.redhat_1.jbcs.el7 RHSA-2022:1389
7 jbcs-httpd24-mod-cluster-native 0:1.3.16-10.Final_redhat_2.jbcs.el7 RHSA-2022:1389

22 more rows

SUSE Linux Enterprise 2 releases · 1 package

fixed 2
libxml2-2
SUSE Linux Enterprise fixes for CVE-2022-23308
ReleasePackageFixed inAdvisory
12.5 libxml2-2 +5 2.9.4-46.49.1 SUSE-SU-2022:1308-1
15.4 libxml2-2 +4 2.9.14-150400.5.7.1 SUSE-SU-2022:2552-1

SUSE Linux Enterprise Micro 2 releases · 2 packages

fixed 3
libxml2-2 python3-libxml2-python
SUSE Linux Enterprise Micro fixes for CVE-2022-23308
ReleasePackageFixed inAdvisory
5.1 libxml2-2 +1 2.9.7-150000.3.46.1 SUSE-SU-2022:1750-1
5.2 libxml2-2 +1 2.9.7-150000.3.46.1 SUSE-SU-2022:1750-1
5.2 python3-libxml2-python 2.9.7-3.40.1 SUSE-SU-2022:0802-2

alma 1 release · 1 package

fixed 1
libxml2-devel
alma fixes for CVE-2022-23308
ReleasePackageFixed in
8 libxml2-devel 2.9.7-12.el8_5

alpine 4 releases · 2 packages

fixed 6
libxml2 qt5-qtwebengine
alpine fixes for CVE-2022-23308
ReleasePackageFixed in
3.22 libxml2 2.9.13-r0
3.22 qt5-qtwebengine 5.15.11-r13
3.23 libxml2 2.9.13-r0
3.23 qt5-qtwebengine 5.15.11-r13
3.24 libxml2 2.9.13-r0
edge libxml2 2.9.13-r0

amazon linux 1 release · 1 package

fixed 1
libxml2
amazon linux fixes for CVE-2022-23308
ReleasePackageFixed in
2023 libxml2 +6 2.10.3-2.amzn2023.0.1

debian 6 releases · 1 package

fixed 6
libxml2
debian fixes for CVE-2022-23308
ReleasePackageFixed in
10 libxml2 2.9.4+dfsg1-7+deb10u3
11 libxml2 2.9.10+dfsg-6.7+deb11u1
12 libxml2 2.9.13+dfsg-1
13 libxml2 2.9.13+dfsg-1
14 libxml2 2.9.13+dfsg-1
9 libxml2 2.9.4+dfsg1-2.2+deb9u6

echo 1 release · 2 packages

fixed 2
libxml2-2-9-1 libxml2
echo fixes for CVE-2022-23308
ReleasePackageFixed in
libxml2-2-9-1 2.9.1+e1
libxml2 2.9.13+dfsg-1

openSUSE 1 release · 6 packages

fixed 6
ruby3-1-rubygem-nokogiri ruby3-2-rubygem-nokogiri ruby3-3-rubygem-nokogiri ruby3-4-rubygem-nokogiri ruby4-0-rubygem-nokogiri libxml2-2
openSUSE fixes for CVE-2022-23308
ReleasePackageFixed inAdvisory
Tumbleweed ruby3-1-rubygem-nokogiri 1.13.3-1.1 openSUSE-SU-2024:11912-1
Tumbleweed ruby3-2-rubygem-nokogiri 1.13.9-1.7 openSUSE-SU-2024:13165-1
Tumbleweed ruby3-3-rubygem-nokogiri 1.15.5-1.5 openSUSE-SU-2024:14174-1
Tumbleweed ruby3-4-rubygem-nokogiri 1.18.2-1.1 openSUSE-SU-2025:14697-1
Tumbleweed ruby4-0-rubygem-nokogiri 1.18.9-1.4 openSUSE-SU-2026:10356-1
Tumbleweed libxml2-2 +5 2.9.13-1.1 openSUSE-SU-2024:11950-1

rocky 1 release · 1 package

fixed 1
libxml2
rocky fixes for CVE-2022-23308
ReleasePackageFixed in
8 libxml2 +1 2.9.7-12.el8_5

root.io debian 3 releases · 1 package

fixed 3
rootio-libxml2
root.io debian fixes for CVE-2022-23308
ReleasePackageFixed in
11 rootio-libxml2 2.9.10+dfsg-6.7+deb11u1
12 rootio-libxml2 2.9.13+dfsg-1
13 rootio-libxml2 2.9.13+dfsg-1

seal Red Hat 3 releases · 1 package

fixed 3
libxml2
seal Red Hat fixes for CVE-2022-23308
ReleasePackageFixed in
7 libxml2 +1 2.9.1-6.el7_9.6+sp999
8 libxml2 +1 2.9.7-18.el8_10.1+sp999
9 libxml2 +1 2.9.13-6.el9_4+sp999

ubuntu 4 releases · 1 package

fixed 4
libxml2
ubuntu fixes for CVE-2022-23308
ReleasePackageFixed in
18.04 libxml2 2.9.4+dfsg1-6.1ubuntu1.5
18.04-ESM libxml2 2.9.4+dfsg1-6.1ubuntu1.5
20.04 libxml2 2.9.10+dfsg-5ubuntu0.20.04.2
20.04-ESM libxml2 2.9.10+dfsg-5ubuntu0.20.04.2

References

Show all 34 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.