CVE Vulnerabilities

CVE-2022-49043

Use After Free

Published: Jan 26, 2025 | Modified: Oct 07, 2025
CVSS 3.x
7.8
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
5.9 MODERATE
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H
Ubuntu
MEDIUM

xmlXIncludeAddNode in xinclude.c in libxml2 before 2.11.0 has a use-after-free.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

Name Vendor Start Version End Version
Libxml2 Xmlsoft * 2.11.0 (excluding)
Discovery 1 for RHEL 9 RedHat discovery/discovery-server-rhel9:1.12.1-2 *
Discovery 1 for RHEL 9 RedHat discovery/discovery-ui-rhel9:1.12.0-2 *
Red Hat Enterprise Linux 8 RedHat libxml2-0:2.9.7-18.el8_10.2 *
Red Hat Enterprise Linux 8 RedHat libxml2-0:2.9.7-18.el8_10.2 *
Red Hat Enterprise Linux 8.8 Extended Update Support RedHat libxml2-0:2.9.7-16.el8_8.7 *
Red Hat Enterprise Linux 9 RedHat libxml2-0:2.9.13-6.el9_5.1 *
Red Hat Enterprise Linux 9 RedHat libxml2-0:2.9.13-6.el9_5.1 *
Red Hat Enterprise Linux 9.2 Extended Update Support RedHat libxml2-0:2.9.13-3.el9_2.4 *
Red Hat Enterprise Linux 9.4 Extended Update Support RedHat libxml2-0:2.9.13-9.el9_4 *
Red Hat OpenShift Container Platform 4.12 RedHat rhcos-412.86.202504240545-0 *
Red Hat OpenShift Container Platform 4.13 RedHat rhcos-413.92.202505061702-0 *
Red Hat OpenShift Container Platform 4.14 RedHat rhcos-414.92.202505141057-0 *
Red Hat OpenShift Container Platform 4.15 RedHat rhcos-415.92.202504282058-0 *
Red Hat OpenShift Container Platform 4.17 RedHat rhcos-417.94.202504080421-0 *
Red Hat OpenShift Container Platform 4.18 RedHat rhcos-418.94.202504080525-0 *
Service Interconnect 1 for RHEL 9 RedHat service-interconnect/skupper-config-sync-rhel9:1.5.5-5 *
Service Interconnect 1 for RHEL 9 RedHat service-interconnect/skupper-controller-podman-container-rhel9:1.5.5-5 *
Service Interconnect 1 for RHEL 9 RedHat service-interconnect/skupper-controller-podman-rhel9:1.5.5-5 *
Service Interconnect 1 for RHEL 9 RedHat service-interconnect/skupper-flow-collector-rhel9:1.5.5-5 *
Service Interconnect 1 for RHEL 9 RedHat service-interconnect/skupper-operator-bundle:1.5.5-5 *
Service Interconnect 1 for RHEL 9 RedHat service-interconnect/skupper-router-rhel9:2.5.3-7 *
Service Interconnect 1 for RHEL 9 RedHat service-interconnect/skupper-service-controller-rhel9:1.5.5-5 *
Service Interconnect 1 for RHEL 9 RedHat service-interconnect/skupper-site-controller-rhel9:1.5.5-5 *
Libxml2 Ubuntu devel *
Libxml2 Ubuntu esm-infra-legacy/trusty *
Libxml2 Ubuntu esm-infra/bionic *
Libxml2 Ubuntu esm-infra/focal *
Libxml2 Ubuntu esm-infra/xenial *
Libxml2 Ubuntu focal *
Libxml2 Ubuntu jammy *
Libxml2 Ubuntu noble *

Potential Mitigations

References