Skip to content
Fencer Vulns
high 8.1

CVE-2022-49043 json

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

published 2025-01-26 21 mo ago modified 2026-07-18 3 mo ago also EUVD-2022-53920 , JLSEC-2025-85

cvss
8.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 18%
public exploits
0
none known

Summary

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

Patch / fix

  • julia XML2_jll 2.12.0+0
  • xmlsoft libxml2 2.11.0
  • libxml2 Debian 12 2.9.14+dfsg-1.3~deb12u2
  • libxml2 Debian 14, Debian 13 2.12.7+dfsg+really2.9.14-0.4

debian advisories DEBIAN-CVE-2022-49043

  • libxml2 Ubuntu 20.04 LTS 2.9.10+dfsg-5ubuntu0.20.04.8
  • libxml2 Ubuntu 22.04 LTS 2.9.13+dfsg-1ubuntu0.5
  • libxml2 Ubuntu 24.04 LTS 2.9.14+dfsg-1.3ubuntu3.1
  • libxml2 Ubuntu Pro 14.04 LTS 2.9.1+dfsg1-3ubuntu4.13+esm7
  • libxml2 Ubuntu Pro 16.04 LTS 2.9.3+dfsg1-1ubuntu0.7+esm7
  • libxml2 Ubuntu Pro 18.04 LTS 2.9.4+dfsg1-6.1ubuntu1.9+esm2

ubuntu advisories UBUNTU-CVE-2022-49043

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libxml2 RHEL 8 2.9.7-18.el8_10.2
  • python3-libxml2 RHEL 8 2.9.7-18.el8_10.2
  • libxml2 RHEL 9 2.9.13-6.el9_5.1
  • python3-libxml2 RHEL 9 2.9.13-6.el9_5.1
  • libxml2 RHEL 9.4 EUS 2.9.13-9.el9_4
  • python3-libxml2 RHEL 9.4 EUS 2.9.13-9.el9_4
  • libxml2 RHEL 8.8 EUS 2.9.7-16.el8_8.7
  • python3-libxml2 RHEL 8.8 EUS 2.9.7-16.el8_8.7

red hat advisories RHSA-2025:2678RHSA-2025:2507RHSA-2025:1517RHSA-2025:1516RHSA-2025:1350

  • libxml2 SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Module for Basesystem 15 SP6 +4 more 2.10.3-150500.5.20.1
  • libxml2-python SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Module for Python 3 15 SP6 +5 more 2.10.3-150500.5.20.1
  • libxml2 SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +5 more 2.9.14-150400.5.35.1
  • libxml2-python SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +5 more 2.9.14-150400.5.35.1
  • libxml2 SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Micro 5.2 +3 more 2.9.7-150000.3.73.1
  • python-libxml2-python SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Micro 5.2 +3 more 2.9.7-150000.3.73.1
  • libxml2 SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 2.9.4-46.78.1
  • python-libxml2 SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 2.9.4-46.78.1

suse advisories SUSE-SU-2025:0348-1SUSE-SU-2025:0341-1SUSE-SU-2025:0303-1SUSE-SU-2025:0300-1

  • libxml2 AlmaLinux 8 2.9.7-18.el8_10.2
  • python3-libxml2 AlmaLinux 8 2.9.7-18.el8_10.2
  • libxml2 AlmaLinux 9 2.9.13-6.el9_5.1
  • python3-libxml2 AlmaLinux 9 2.9.13-6.el9_5.1

almalinux advisories ALSA-2025:1517ALSA-2025:1350

  • libxml2 Rocky Linux 8 2.9.7-18.el8_10.2

rocky linux advisories RLSA-2025:1517

  • libxml2 CBL-Mariner 2.0 2.10.4-5

azure linux advisories AZL-55967

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-49043 updated cvss 5.9

libxml: use-after-free in xmlXIncludeAddNode

  • Red Hat Enterprise Linux 6 libxml2, libxml2-python Red Hat Enterprise Linux 7 libxml2, libxml2-python
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Discovery 1 for RHEL 9 discovery/discovery-ui-rhel9 1.12.0-2, discovery/discovery-server-rhel9 1.12.1-2
    fixed: vendor fix RHSA-2025:1487
  • Red Hat Enterprise Linux AppStream (v. 8) libxml2-devel 2.9.7-18.el8_10.2, libxml2-debuginfo 2.9.7-18.el8_10.2, libxml2-debugsource 2.9.7-18.el8_10.2, python3-libxml2-debuginfo 2.9.7-18.el8_10.2
    fixed: vendor fix RHSA-2025:1517
  • Red Hat Enterprise Linux AppStream (v. 9) libxml2-devel 2.9.13-6.el9_5.1, libxml2-debuginfo 2.9.13-6.el9_5.1, libxml2-debugsource 2.9.13-6.el9_5.1, python3-libxml2-debuginfo 2.9.13-6.el9_5.1
    fixed: vendor fix RHSA-2025:1350
  • Red Hat Enterprise Linux AppStream EUS (v.8.8) libxml2-devel 2.9.7-16.el8_8.7, libxml2-debuginfo 2.9.7-16.el8_8.7, libxml2-debugsource 2.9.7-16.el8_8.7, python3-libxml2-debuginfo 2.9.7-16.el8_8.7
    fixed: vendor fix RHSA-2025:2507
  • Red Hat Enterprise Linux AppStream EUS (v.9.2) libxml2-devel 2.9.13-3.el9_2.4, libxml2-debuginfo 2.9.13-3.el9_2.4, libxml2-debugsource 2.9.13-3.el9_2.4, python3-libxml2-debuginfo 2.9.13-3.el9_2.4
    fixed: vendor fix RHSA-2025:1516
  • Red Hat Enterprise Linux AppStream EUS (v.9.4) libxml2-devel 2.9.13-9.el9_4, libxml2-debuginfo 2.9.13-9.el9_4, libxml2-debugsource 2.9.13-9.el9_4, python3-libxml2-debuginfo 2.9.13-9.el9_4
    fixed: vendor fix RHSA-2025:2678
  • Red Hat Enterprise Linux BaseOS (v. 8) libxml2 2.9.7-18.el8_10.2, python3-libxml2 2.9.7-18.el8_10.2
    fixed: vendor fix RHSA-2025:1517
show 15 more
  • Red Hat Enterprise Linux BaseOS (v. 9) libxml2 2.9.13-6.el9_5.1, python3-libxml2 2.9.13-6.el9_5.1
    fixed: vendor fix RHSA-2025:1350
  • Red Hat Enterprise Linux BaseOS EUS (v.8.8) libxml2 2.9.7-16.el8_8.7, python3-libxml2 2.9.7-16.el8_8.7
    fixed: vendor fix RHSA-2025:2507
  • Red Hat Enterprise Linux BaseOS EUS (v.9.2) libxml2 2.9.13-3.el9_2.4, python3-libxml2 2.9.13-3.el9_2.4
    fixed: vendor fix RHSA-2025:1516
  • Red Hat Enterprise Linux BaseOS EUS (v.9.4) libxml2 2.9.13-9.el9_4, python3-libxml2 2.9.13-9.el9_4
    fixed: vendor fix RHSA-2025:2678
  • Red Hat JBoss Core Services 2.4.62
    fixed: vendor fix RHSA-2025:3453
  • Red Hat OpenShift Container Platform 4.12 rhcos 412.86.202504240545-0
    fixed: vendor fix RHSA-2025:4409
  • Red Hat OpenShift Container Platform 4.13 rhcos 413.92.202505061702-0
    fixed: vendor fix RHSA-2025:4677
  • Red Hat OpenShift Container Platform 4.14 rhcos 414.92.202505141057-0
    fixed: vendor fix RHSA-2025:7702
  • Red Hat OpenShift Container Platform 4.15 rhcos 415.92.202504282058-0
    fixed: vendor fix RHSA-2025:4422
  • Red Hat OpenShift Container Platform 4.16 rhcos 416.94.202505051351-0, openshift4/ose-sdn-rhel9 v4.16.0-202504170035.p0.gcbddb0b.assembly.stream.el9, openshift4/ose-tests-rhel9 v4.16.0-202505060805.p0.g3073d4b.assembly.stream.el9, openshift4/ose-tools-rhel9 v4.16.0-202505060805.p0.gee354f6.assembly.stream.el9, openshift4/ose-console-rhel9 v4.16.0-202505061941.p0.g4a7dc54.assembly.stream.el9, openshift4/network-tools-rhel9 v4.16.0-202505060805.p0.g234ed43.assembly.stream.el9, +27 more
    fixed: vendor fix RHSA-2025:4731
  • Red Hat OpenShift Container Platform 4.17 rhcos 417.94.202504080421-0
    fixed: vendor fix RHSA-2025:3798
  • Red Hat OpenShift Container Platform 4.18 rhcos 418.94.202504080525-0
    fixed: vendor fix RHSA-2025:3775
  • Red Hat OpenShift Container Platform 4.19 rhcos 4.19.9.6.202506172128-0, openshift4/frr-rhel9 v4.19.0-202506111842.p0.g5076dbc.assembly.stream.el9, openshift4/ose-cli-rhel9 v4.19.0-202506161807.p0.gfa1fd95.assembly.stream.el9, openshift4/ose-pod-rhel9 v4.19.0-202506161416.p0.ga36c41d.assembly.stream.el9, openshift4/ose-etcd-rhel9 v4.19.0-202506111842.p0.ga5421df.assembly.stream.el9, openshift4/ose-tests-rhel9 v4.19.0-202506161807.p0.g827e2ac.assembly.stream.el9, +180 more
    fixed: vendor fix RHSA-2025:9278
  • Red Hat Service Interconnect 1 service-interconnect/skupper-router-rhel9 2.5.3-7, service-interconnect/skupper-operator-bundle 1.5.5-5, service-interconnect/skupper-config-sync-rhel9 1.5.5-5, service-interconnect/skupper-flow-collector-rhel9 1.5.5-5, service-interconnect/skupper-site-controller-rhel9 1.5.5-5, service-interconnect/skupper-controller-podman-rhel9 1.5.5-5, +2 more
    fixed: vendor fix RHSA-2025:1925
  • Red Hat Enterprise Linux 10 libxml2 Red Hat OpenShift Container Platform 4.12 openshift4/ose-cli v4.12.0-202504010132.p0.gd691257.assembly.stream.el8, openshift4/ose-pod v4.12.0-202504010132.p0.g1eb8682.assembly.stream.el8, openshift4/ose-etcd v4.12.0-202504010132.p0.gbb82e89.assembly.stream.el8, openshift4/ose-tests v4.12.0-202504251430.p0.g3b2567f.assembly.stream.el8, openshift4/ose-console v4.12.0-202504251629.p0.gb1a1975.assembly.stream.el8, openshift4/ose-coredns v4.12.0-202504010132.p0.gcc1194e.assembly.stream.el8, +185 more Red Hat OpenShift Container Platform 4.13 openshift4/ose-cli v4.13.0-202504220029.p0.gd192e90.assembly.stream.el8, openshift4/ose-pod v4.13.0-202504220029.p0.g53fd427.assembly.stream.el8, openshift4/ose-tests v4.13.0-202505010331.p0.g7f472fe.assembly.stream.el8, openshift4/ose-console v4.13.0-202504300029.p0.g0f90f85.assembly.stream.el8, openshift4/ose-coredns v4.13.0-202504220029.p0.ge70f097.assembly.stream.el8, openshift4/ose-deployer v4.13.0-202504220029.p0.gd192e90.assembly.stream.el8, +186 more Red Hat OpenShift Container Platform 4.14 openshift4/ose-tests v4.14.0-202505140038.p0.g61448fa.assembly.stream.el8, openshift4/ose-console v4.14.0-202505140038.p0.g1a760fb.assembly.stream.el8, openshift4/ose-installer v4.14.0-202504282038.p0.gd92ca63.assembly.stream.el8, openshift4/ose-sdn-rhel8 v4.14.0-202505061308.p0.g1f611c5.assembly.stream.el8, openshift4/ose-etcd-rhel9 v4.14.0-202504281009.p0.g5ed5044.assembly.stream.el9, openshift4/ose-kube-proxy v4.14.0-202505061308.p0.g1f611c5.assembly.stream.el8, +26 more Red Hat OpenShift Container Platform 4.15 openshift4/ose-cli v4.15.0-202504220035.p0.g8231637.assembly.stream.el8, openshift4/ose-tests v4.15.0-202504220035.p0.g7358b02.assembly.stream.el8, openshift4/ose-console v4.15.0-202504281408.p0.gfb0b085.assembly.stream.el8, openshift4/ose-deployer v4.15.0-202504220035.p0.g8231637.assembly.stream.el8, openshift4/ose-installer v4.15.0-202504241905.p0.g2d2704c.assembly.stream.el8, openshift4/ose-pod-rhel9 v4.15.0-202504281408.p0.gf383677.assembly.stream.el9, +187 more Red Hat OpenShift Container Platform 4.17 openshift4/frr-rhel9 v4.17.0-202504091537.p0.gc30988b.assembly.stream.el9, openshift4/ose-cli-rhel9 v4.17.0-202504091537.p0.g0000b3e.assembly.stream.el9, openshift4/ose-pod-rhel9 v4.17.0-202504091537.p0.g89ebee0.assembly.stream.el9, openshift4/ose-etcd-rhel9 v4.17.0-202504091537.p0.g0d9e0a9.assembly.stream.el9, openshift4/ose-tests-rhel9 v4.17.0-202504091537.p0.g4a06fd3.assembly.stream.el9, openshift4/ose-tools-rhel9 v4.17.0-202504091537.p0.g0000b3e.assembly.stream.el9, +183 more
    +1 more products
    Red Hat OpenShift Container Platform 4.18 openshift4/frr-rhel9 v4.18.0-202504090803.p0.g78714ea.assembly.stream.el9, openshift4/ose-cli-rhel9 v4.18.0-202504090803.p0.geb9bc9b.assembly.stream.el9, openshift4/ose-pod-rhel9 v4.18.0-202504090803.p0.g97471c6.assembly.stream.el9, openshift4/ose-etcd-rhel9 v4.18.0-202504090803.p0.g98b1915.assembly.stream.el9, openshift4/ose-tests-rhel9 v4.18.0-202504090803.p0.gf9e1b11.assembly.stream.el9, openshift4/ose-tools-rhel9 v4.18.0-202504090803.p0.geb9bc9b.assembly.stream.el9, +180 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
21 mo ago

Exploit prediction

0.27% chance of exploitation in the next 30 days, higher than 18% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 8.1 CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
julia XML2_jll
<2.12.0+0
2.12.0+0

Affected products

  • xmlsoft libxml2

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.