cve.bz

CVE-2022-49043 xmlsoft libxml2: Use After Free

7.8 highEPSS 0.3%Fix available

High (7.8) in xmlsoft libxml2. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

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

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 19th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-01-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-49043 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-49043?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-49043?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-49043 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
xmlsoft libxml2from 2.0.0 before 2.11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11libxml22.9.10+dfsg-6.7+deb11u6DLA-4064-1
Debian12libxml22.9.14+dfsg-1.3~deb12u2DEBIAN-CVE-2022-49043 DSA-5949-1
Debian13, 14libxml22.12.7+dfsg+really2.9.14-0.4DEBIAN-CVE-2022-49043
Ubuntu20.04:LTSlibxml22.9.10+dfsg-5ubuntu0.20.04.8UBUNTU-CVE-2022-49043 USN-7240-1 USN-7302-1
Ubuntu22.04:LTSlibxml22.9.13+dfsg-1ubuntu0.5UBUNTU-CVE-2022-49043 USN-7240-1 USN-7302-1
Ubuntu24.04:LTSlibxml22.9.14+dfsg-1.3ubuntu3.1UBUNTU-CVE-2022-49043 USN-7240-1 USN-7302-1
UbuntuPro:14.04:LTSlibxml22.9.1+dfsg1-3ubuntu4.13+esm7UBUNTU-CVE-2022-49043 USN-7302-1
UbuntuPro:16.04:LTSlibxml22.9.3+dfsg1-1ubuntu0.7+esm7UBUNTU-CVE-2022-49043 USN-7302-1
UbuntuPro:18.04:LTSlibxml22.9.4+dfsg1-6.1ubuntu1.9+esm2UBUNTU-CVE-2022-49043 USN-7302-1
Red Hatenterprise_linux:8::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.7-18.el8_10.2RHSA-2025:1517
Red Hatenterprise_linux:8::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.7-18.el8_10.2RHSA-2025:1517
Red Hatenterprise_linux:9::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.13-6.el9_5.1RHSA-2025:1350
Red Hatenterprise_linux:9::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.13-6.el9_5.1RHSA-2025:1350
Red Hatrhel_eus:8.8::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.7-16.el8_8.7RHSA-2025:2507
Red Hatrhel_eus:8.8::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.7-16.el8_8.7RHSA-2025:2507
Red Hatrhel_eus:9.2::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.13-3.el9_2.4RHSA-2025:1516
Red Hatrhel_eus:9.2::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.13-3.el9_2.4RHSA-2025:1516
Red Hatrhel_eus:9.4::appstreamlibxml2-devel, libxml2-debuginfo, libxml2-debugsource and 1 more0:2.9.13-9.el9_4RHSA-2025:2678
Red Hatrhel_eus:9.4::baseoslibxml2, python3-libxml2, libxml2-debuginfo and 2 more0:2.9.13-9.el9_4RHSA-2025:2678
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.2 and 2 morelibxml2, python-libxml2-python2.9.7-150000.3.73.1SUSE-SU-2025:0303-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 morelibxml2, libxml2-python2.9.14-150400.5.35.1SUSE-SU-2025:0341-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Micro 5.5 and 3 morelibxml2, libxml2-python2.10.3-150500.5.20.1SUSE-SU-2025:0348-1
SUSELinux Enterprise Micro 5.1libxml22.9.7-150000.3.73.1SUSE-SU-2025:0303-1
SUSELinux Enterprise Module for Python 3 15 SP6libxml2-python2.10.3-150500.5.20.1SUSE-SU-2025:0348-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5libxml2, python-libxml22.9.4-46.78.1SUSE-SU-2025:0300-1
openSUSELeap 15.6libxml2, libxml2-python2.10.3-150500.5.20.1SUSE-SU-2025:0348-1
openSUSELeap 15.6python-libxml2-python2.9.7-150000.3.73.1SUSE-SU-2025:0303-1
AlmaLinux8libxml2, libxml2-devel, python3-libxml22.9.7-18.el8_10.2ALSA-2025:1517
AlmaLinux9libxml2, libxml2-devel, python3-libxml22.9.13-6.el9_5.1ALSA-2025:1350
Rocky Linux8libxml20:2.9.7-18.el8_10.2RLSA-2025:1517
Azure Linux2libxml22.10.4-5AZL-55967

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability marked as moderate instead of important because memory allocation failures are not typically controllable by an attacker, limiting their exploitability. While improper handling of malloc failures can lead to crashes, memory leaks, or inconsistent states, it does not directly result in privilege escalation or arbitrary code execution.

Additionally, in most real-world scenarios, failures due to memory exhaustion occur under extreme system stress rather than as part of an intentional attack vector.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Discovery 1 for RHEL 9discovery/discovery-server-rhel9:1.12.1-2Fixed 2025-02-13RHSA-2025:1487
Discovery 1 for RHEL 9discovery/discovery-ui-rhel9:1.12.0-2Fixed 2025-02-13RHSA-2025:1487
Red Hat Enterprise Linux 8libxml2-0:2.9.7-18.el8_10.2Fixed 2025-02-17RHSA-2025:1517
Red Hat Enterprise Linux 8.8 Extended Update Supportlibxml2-0:2.9.7-16.el8_8.7Fixed 2025-03-10RHSA-2025:2507
Red Hat Enterprise Linux 9libxml2-0:2.9.13-6.el9_5.1Fixed 2025-02-12RHSA-2025:1350
Red Hat Enterprise Linux 9.2 Extended Update Supportlibxml2-0:2.9.13-3.el9_2.4Fixed 2025-02-17RHSA-2025:1516
Red Hat Enterprise Linux 9.4 Extended Update Supportlibxml2-0:2.9.13-9.el9_4Fixed 2025-03-12RHSA-2025:2678
Red Hat JBoss Core Services 2.4.62libxml2Fixed 2025-04-02RHSA-2025:3453
Red Hat OpenShift Container Platform 4.12openshift/ose-rhel-coreos-8:412.86.202504240545-0Fixed 2025-05-08RHSA-2025:4409
Red Hat OpenShift Container Platform 4.13openshift/ose-rhel-coreos-9:413.92.202505061702-0Fixed 2025-05-15RHSA-2025:4677
Red Hat OpenShift Container Platform 4.14openshift/ose-rhel-coreos-9:414.92.202505141057-0Fixed 2025-05-21RHSA-2025:7702
Red Hat OpenShift Container Platform 4.15openshift/ose-rhel-coreos-9:415.92.202504282058-0Fixed 2025-05-08RHSA-2025:4422
Red Hat OpenShift Container Platform 4.16openshift4/driver-toolkit-rhel9:v4.16.0-202505051436.p0.g1d5732f.assembly.stream.el9Fixed 2025-05-15RHSA-2025:4731
Red Hat OpenShift Container Platform 4.16openshift4/network-tools-rhel9:v4.16.0-202505060805.p0.g234ed43.assembly.stream.el9Fixed 2025-05-15RHSA-2025:4731
Red Hat OpenShift Container Platform 4.16openshift4/openshift-route-controller-manager-rhel9:v4.16.0-202504240338.p0.g9ff2408.assembly.stream.el9Fixed 2025-05-15RHSA-2025:4731
Red Hat OpenShift Container Platform 4.16openshift4/ose-agent-installer-api-server-rhel9:v4.16.0-202504291008.p0.gcf4e24c.assembly.stream.el9Fixed 2025-05-15RHSA-2025:4731
Red Hat OpenShift Container Platform 4.16openshift4/ose-agent-installer-csr-approver-rhel9:v4.16.0-202504232225.p0.g69f7776.assembly.stream.el9Fixed 2025-05-15RHSA-2025:4731
Red Hat Enterprise Linux 10libxml2Not affected
Red Hat Enterprise Linux 6libxml2Will not fix
Red Hat Enterprise Linux 7libxml2Will not fix
224 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-49043.

References

Check your stackJSON