CVE Vulnerabilities

CVE-2022-49043

Use After Free

Published: Jan 26, 2025 | Modified: Nov 03, 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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
Libxml2Xmlsoft*2.11.0 (excluding)
Discovery 1 for RHEL 9RedHatdiscovery/discovery-server-rhel9:1.12.1-2*
Discovery 1 for RHEL 9RedHatdiscovery/discovery-ui-rhel9:1.12.0-2*
Red Hat Enterprise Linux 8RedHatlibxml2-0:2.9.7-18.el8_10.2*
Red Hat Enterprise Linux 8RedHatlibxml2-0:2.9.7-18.el8_10.2*
Red Hat Enterprise Linux 8.8 Extended Update SupportRedHatlibxml2-0:2.9.7-16.el8_8.7*
Red Hat Enterprise Linux 9RedHatlibxml2-0:2.9.13-6.el9_5.1*
Red Hat Enterprise Linux 9RedHatlibxml2-0:2.9.13-6.el9_5.1*
Red Hat Enterprise Linux 9.2 Extended Update SupportRedHatlibxml2-0:2.9.13-3.el9_2.4*
Red Hat Enterprise Linux 9.4 Extended Update SupportRedHatlibxml2-0:2.9.13-9.el9_4*
Red Hat OpenShift Container Platform 4.12RedHatrhcos-412.86.202504240545-0*
Red Hat OpenShift Container Platform 4.13RedHatrhcos-413.92.202505061702-0*
Red Hat OpenShift Container Platform 4.14RedHatrhcos-414.92.202505141057-0*
Red Hat OpenShift Container Platform 4.15RedHatrhcos-415.92.202504282058-0*
Red Hat OpenShift Container Platform 4.17RedHatrhcos-417.94.202504080421-0*
Red Hat OpenShift Container Platform 4.18RedHatrhcos-418.94.202504080525-0*
Service Interconnect 1 for RHEL 9RedHatservice-interconnect/skupper-config-sync-rhel9:1.5.5-5*
Service Interconnect 1 for RHEL 9RedHatservice-interconnect/skupper-controller-podman-container-rhel9:1.5.5-5*
Service Interconnect 1 for RHEL 9RedHatservice-interconnect/skupper-controller-podman-rhel9:1.5.5-5*
Service Interconnect 1 for RHEL 9RedHatservice-interconnect/skupper-flow-collector-rhel9:1.5.5-5*
Service Interconnect 1 for RHEL 9RedHatservice-interconnect/skupper-operator-bundle:1.5.5-5*
Service Interconnect 1 for RHEL 9RedHatservice-interconnect/skupper-router-rhel9:2.5.3-7*
Service Interconnect 1 for RHEL 9RedHatservice-interconnect/skupper-service-controller-rhel9:1.5.5-5*
Service Interconnect 1 for RHEL 9RedHatservice-interconnect/skupper-site-controller-rhel9:1.5.5-5*
Libxml2Ubuntudevel*
Libxml2Ubuntuesm-infra-legacy/trusty*
Libxml2Ubuntuesm-infra/bionic*
Libxml2Ubuntuesm-infra/focal*
Libxml2Ubuntuesm-infra/xenial*
Libxml2Ubuntufocal*
Libxml2Ubuntujammy*
Libxml2Ubuntunoble*

Potential Mitigations

References