Skip to content
Fencer Vulns
high 7.8

CVE-2024-56171 json

libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a use-after-free in xmlSchemaIDCFillNodeTables...

published 2025-02-18 20 mo ago modified 2026-09-08 2 mo ago also BIT-java-2024-56171 , BIT-java-min-2024-56171 , BIT-jre-2024-56171 , EUVD-2025-4769 , JLSEC-2025-86

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

Summary

libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a use-after-free in xmlSchemaIDCFillNodeTables and xmlSchemaBubbleIDCNodeTables in xmlschemas.c. To exploit this, a crafted XML document must be validated against an XML schema with certain identity constraints, or a crafted XML schema must be used.

Patch / fix

  • bitnami java 1.8.0, 8.0.461
  • bitnami java-min 1.8.0, 8.0.461
  • bitnami jre 1.8.0, 8.0.461
  • julia XML2_jll 2.13.6+1
  • xmlsoft libxml2 2.12.10, 2.13.6
  • 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-2024-56171

  • libxml2 Ubuntu 20.04 LTS 2.9.10+dfsg-5ubuntu0.20.04.9
  • libxml2 Ubuntu 22.04 LTS 2.9.13+dfsg-1ubuntu0.6
  • libxml2 Ubuntu 24.04 LTS 2.9.14+dfsg-1.3ubuntu3.2
  • 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-2024-56171

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 10.0 2.12.5-5.el10_0
  • python3-libxml2 RHEL 10.0 2.12.5-5.el10_0
  • libxml2 RHEL 8 2.9.7-19.el8_10
  • python3-libxml2 RHEL 8 2.9.7-19.el8_10
  • libxml2 RHEL 9 2.9.13-6.el9_5.2
  • python3-libxml2 RHEL 9 2.9.13-6.el9_5.2
  • libxml2 RHEL 9.4 EUS 2.9.13-9.el9_4
  • python3-libxml2 RHEL 9.4 EUS 2.9.13-9.el9_4

red hat advisories RHBA-2025:6597RHSA-2025:2686RHSA-2025:2678RHSA-2025:2679RHSA-2025:2673RHSA-2025:2660

  • libxml2 Linux Micro 6.1 2.11.6-slfo.1.1_2.1
  • libxml2 Linux Micro 6.0 2.11.6-5.1
  • libxml2 SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Micro 5.2 +3 more 2.9.7-150000.3.76.1
  • python-libxml2-python SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Micro 5.2 +3 more 2.9.7-150000.3.76.1
  • libxml2 SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +5 more 2.9.14-150400.5.38.1
  • libxml2-python SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +5 more 2.9.14-150400.5.38.1
  • libxml2 SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Module for Basesystem 15 SP6 +4 more 2.10.3-150500.5.23.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.23.1

suse advisories SUSE-SU-2025:20274-1SUSE-SU-2025:20177-1SUSE-SU-2025:0976-1SUSE-SU-2025:0748-1SUSE-SU-2025:0747-1SUSE-SU-2025:0746-1

  • libxml2 openSUSE Tumbleweed 2.13.6-1.1

opensuse advisories openSUSE-SU-2025:14830-1

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

almalinux advisories ALSA-2025:2679ALSA-2025:2686

  • libxml2 Rocky Linux 9 2.9.13-6.el9_5.2
  • libxml2 Rocky Linux 8 2.9.7-19.el8_10

rocky linux advisories RLSA-2025:2679RLSA-2025:2686

  • libxml2 Alpine 3.19, Alpine 3.18 2.11.8-r1
  • libxml2 Alpine 3.20 2.12.7-r1
  • libxml2 Alpine 3.21 2.13.4-r4
  • libxml2 Alpine 3.24, Alpine 3.23, Alpine 3.22 2.13.6-r0

alpine advisories ALPINE-CVE-2024-56171

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libxml2 CBL-Mariner 2.0 2.10.4-6
  • libxml2 Azure Linux 3.0 2.11.5-4

azure linux advisories AZL-56925AZL-57010

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-2024-56171 updated cvss 8.1

libxml2: Use-After-Free in libxml2

  • Red Hat Enterprise Linux 6 libxml2, libxml2-python
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Enterprise Linux AppStream (v. 8) libxml2-devel 2.9.7-19.el8_10, libxml2-debuginfo 2.9.7-19.el8_10, libxml2-debugsource 2.9.7-19.el8_10, python3-libxml2-debuginfo 2.9.7-19.el8_10
    fixed: vendor fix RHSA-2025:2686
  • Red Hat Enterprise Linux AppStream (v. 9) libxml2-devel 2.9.13-6.el9_5.2, libxml2-debuginfo 2.9.13-6.el9_5.2, libxml2-debugsource 2.9.13-6.el9_5.2, python3-libxml2-debuginfo 2.9.13-6.el9_5.2
    fixed: vendor fix RHSA-2025:2679
  • Red Hat Enterprise Linux AppStream (v. 10) libxml2-devel 2.12.5-5.el10_0, libxml2-debuginfo 2.12.5-5.el10_0, libxml2-debugsource 2.12.5-5.el10_0, python3-libxml2-debuginfo 2.12.5-5.el10_0
    fixed: vendor fix RHBA-2025:6597
  • Red Hat Enterprise Linux AppStream AUS (v. 8.2) libxml2-devel 2.9.7-9.el8_2.1, libxml2-debuginfo 2.9.7-9.el8_2.1, libxml2-debugsource 2.9.7-9.el8_2.1, python3-libxml2-debuginfo 2.9.7-9.el8_2.1
    fixed: vendor fix RHSA-2025:2654
  • Red Hat Enterprise Linux AppStream AUS (v.8.4) libxml2-devel 2.9.7-9.el8_4.5, libxml2-debuginfo 2.9.7-9.el8_4.5, libxml2-debugsource 2.9.7-9.el8_4.5, python3-libxml2-debuginfo 2.9.7-9.el8_4.5
    fixed: vendor fix RHSA-2025:2660
  • Red Hat Enterprise Linux AppStream AUS (v.8.6) libxml2-devel 2.9.7-13.el8_6.8, libxml2-debuginfo 2.9.7-13.el8_6.8, libxml2-debugsource 2.9.7-13.el8_6.8, python3-libxml2-debuginfo 2.9.7-13.el8_6.8
    fixed: vendor fix RHSA-2025:2513
  • Red Hat Enterprise Linux AppStream E4S (v.8.4) libxml2-devel 2.9.7-9.el8_4.5, libxml2-debuginfo 2.9.7-9.el8_4.5, libxml2-debugsource 2.9.7-9.el8_4.5, python3-libxml2-debuginfo 2.9.7-9.el8_4.5
    fixed: vendor fix RHSA-2025:2660
show 31 more
  • Red Hat Enterprise Linux AppStream E4S (v.8.6) libxml2-devel 2.9.7-13.el8_6.8, libxml2-debuginfo 2.9.7-13.el8_6.8, libxml2-debugsource 2.9.7-13.el8_6.8, python3-libxml2-debuginfo 2.9.7-13.el8_6.8
    fixed: vendor fix RHSA-2025:2513
  • Red Hat Enterprise Linux AppStream E4S (v.9.0) libxml2-devel 2.9.13-1.el9_0.4, libxml2-debuginfo 2.9.13-1.el9_0.4, libxml2-debugsource 2.9.13-1.el9_0.4, python3-libxml2-debuginfo 2.9.13-1.el9_0.4
    fixed: vendor fix RHSA-2025:2483
  • 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.6, libxml2-debuginfo 2.9.13-3.el9_2.6, libxml2-debugsource 2.9.13-3.el9_2.6, python3-libxml2-debuginfo 2.9.13-3.el9_2.6
    fixed: vendor fix RHSA-2025:2482
  • 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 AppStream TUS (v.8.4) libxml2-devel 2.9.7-9.el8_4.5, libxml2-debuginfo 2.9.7-9.el8_4.5, libxml2-debugsource 2.9.7-9.el8_4.5, python3-libxml2-debuginfo 2.9.7-9.el8_4.5
    fixed: vendor fix RHSA-2025:2660
  • Red Hat Enterprise Linux AppStream TUS (v.8.6) libxml2-devel 2.9.7-13.el8_6.8, libxml2-debuginfo 2.9.7-13.el8_6.8, libxml2-debugsource 2.9.7-13.el8_6.8, python3-libxml2-debuginfo 2.9.7-13.el8_6.8
    fixed: vendor fix RHSA-2025:2513
  • Red Hat Enterprise Linux BaseOS (v. 8) libxml2 2.9.7-19.el8_10, python3-libxml2 2.9.7-19.el8_10
    fixed: vendor fix RHSA-2025:2686
  • Red Hat Enterprise Linux BaseOS (v. 9) libxml2 2.9.13-6.el9_5.2, python3-libxml2 2.9.13-6.el9_5.2
    fixed: vendor fix RHSA-2025:2679
  • Red Hat Enterprise Linux BaseOS (v. 10) libxml2 2.12.5-5.el10_0, python3-libxml2 2.12.5-5.el10_0
    fixed: vendor fix RHBA-2025:6597
  • Red Hat Enterprise Linux BaseOS AUS (v. 8.2) libxml2 2.9.7-9.el8_2.1, python3-libxml2 2.9.7-9.el8_2.1
    fixed: vendor fix RHSA-2025:2654
  • Red Hat Enterprise Linux BaseOS AUS (v.8.4) libxml2 2.9.7-9.el8_4.5, python3-libxml2 2.9.7-9.el8_4.5
    fixed: vendor fix RHSA-2025:2660
  • Red Hat Enterprise Linux BaseOS AUS (v.8.6) libxml2 2.9.7-13.el8_6.8, python3-libxml2 2.9.7-13.el8_6.8
    fixed: vendor fix RHSA-2025:2513
  • Red Hat Enterprise Linux BaseOS E4S (v.8.4) libxml2 2.9.7-9.el8_4.5, python3-libxml2 2.9.7-9.el8_4.5
    fixed: vendor fix RHSA-2025:2660
  • Red Hat Enterprise Linux BaseOS E4S (v.8.6) libxml2 2.9.7-13.el8_6.8, python3-libxml2 2.9.7-13.el8_6.8
    fixed: vendor fix RHSA-2025:2513
  • Red Hat Enterprise Linux BaseOS E4S (v.9.0) libxml2 2.9.13-1.el9_0.4, python3-libxml2 2.9.13-1.el9_0.4
    fixed: vendor fix RHSA-2025:2483
  • 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.6, python3-libxml2 2.9.13-3.el9_2.6
    fixed: vendor fix RHSA-2025:2482
  • 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 Enterprise Linux BaseOS TUS (v.8.4) libxml2 2.9.7-9.el8_4.5, python3-libxml2 2.9.7-9.el8_4.5
    fixed: vendor fix RHSA-2025:2660
  • Red Hat Enterprise Linux BaseOS TUS (v.8.6) libxml2 2.9.7-13.el8_6.8, python3-libxml2 2.9.7-13.el8_6.8
    fixed: vendor fix RHSA-2025:2513
  • Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) libxml2-static 2.12.5-5.el10_0, libxml2-debuginfo 2.12.5-5.el10_0, libxml2-debugsource 2.12.5-5.el10_0, python3-libxml2-debuginfo 2.12.5-5.el10_0
    fixed: vendor fix RHBA-2025:6597
  • Red Hat Enterprise Linux Server (v. 7 ELS) libxml2 2.9.1-6.el7_9.9, libxml2-python 2.9.1-6.el7_9.9 Red Hat Enterprise Linux Server Optional (v. 7 ELS) libxml2-static 2.9.1-6.el7_9.9, libxml2-debuginfo 2.9.1-6.el7_9.9
    fixed: vendor fix RHSA-2025:2673
  • Red Hat JBoss Core Services 2.4.62
    fixed: vendor fix RHSA-2025:3453
  • Red Hat OpenShift AI 2.16 rhoai v2.16.2-1742480582, rhoai v2.16.2-1742487039, rhoai v2.16.2-1742487199, rhoai v2.16.2-1742487225, rhoai v2.16.2-1742487380, rhoai v2.16.2-1742488070, +7 more
    fixed: vendor fix RHSA-2025:3368
  • Red Hat OpenShift Container Platform 4.12 rhcos 412.86.202503310142-0
    fixed: vendor fix RHSA-2025:3573
  • Red Hat OpenShift Container Platform 4.13 rhcos 413.92.202503112237-0
    fixed: vendor fix RHSA-2025:2701
  • Red Hat OpenShift Container Platform 4.14 rhcos 414.92.202504010153-0
    fixed: vendor fix RHSA-2025:3569
  • Red Hat OpenShift Container Platform 4.15 rhcos 415.92.202609140326, rhcos 415.92.202503190057-0
    fixed: vendor fix RHSA-2026:67857
  • Red Hat OpenShift Container Platform 4.16 rhcos 416.94.202503252048-0
    fixed: vendor fix RHSA-2025:3301
  • Red Hat OpenShift Container Platform 4.17 rhcos 417.94.202503172033-0
    fixed: vendor fix RHSA-2025:3059

6 more fixed, 10 more not affected in the full advisory

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
20 mo ago

Exploit prediction

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

CVSS scores

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

Affected packages

ecosystem package affected fixed in
bitnami java
<1.8.0
>=1.9.0, <8.0.461
1.8.0
8.0.461
bitnami java-min
<1.8.0
>=1.9.0, <8.0.461
1.8.0
8.0.461
bitnami jre
<1.8.0
>=1.9.0, <8.0.461
1.8.0
8.0.461
julia XML2_jll
<2.13.6+1
2.13.6+1

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.