CVE-2024-56171
published high CVSS 3.1 · 7.8libxml2: Use-After-Free in libxml2
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| xmlsoft | — | libxml20 to < 2.12.10 · 2.13.0 to < 2.13.6 · Other versions: unaffected | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-2794 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-896 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | libxml2 | Advisory build | 2.9.7-19.el8_10 | ALSA-2025:2686 |
| Alpine Linux | edge | libxml2 | Fixed | 2.13.6-r0 | Package fix record |
| Debian | bookworm | libxml2 | Advisory build | 2.9.14+dfsg-1.3~deb12u2 | DSA-5949-1 |
| Oracle Linux | 7 | libxml2x86_64 | Advisory build | 0:2.9.1-6.0.5.el7_9.6 | ELSA-2025-2673 |
| Red Hat Enterprise Linux | RHEL-7 | libxml2i686 | Advisory build | 2.9.1-6.el7_9.9 | RHSA-2025:2673 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | bionic | libxml2 | Advisory build | 2.9.4+dfsg1-6.1ubuntu1.9+esm2 | USN-7302-1 |
| AlmaLinux | 9 | libxml2 | Advisory build | 2.9.13-6.el9_5.2 | ALSA-2025:2679 |
| Alpine Linux | v3.18 | libxml2 | Fixed | 2.11.8-r1 | Package fix record |
| Alpine Linux | v3.19 | libxml2 | Fixed | 2.11.8-r1 | Package fix record |
| Alpine Linux | v3.20 | libxml2 | Fixed | 2.12.7-r1 | Package fix record |
| Alpine Linux | v3.21 | libxml2 | Fixed | 2.13.4-r4 | Package fix record |
| Alpine Linux | v3.22 | libxml2 | Fixed | 2.13.6-r0 | Package fix record |
| Alpine Linux | v3.23 | libxml2 | Fixed | 2.13.6-r0 | Package fix record |
| Alpine Linux | v3.24 | libxml2 | Fixed | 2.13.6-r0 | Package fix record |
| Debian | bullseye | libxml2 | Advisory build | 2.9.10+dfsg-6.7+deb11u6 | DLA-4064-1 |
| Oracle Linux | 8 | libxml2aarch64 | Advisory build | 0:2.9.7-19.el8_10 | ELSA-2025-2686 |
| Oracle Linux | 8 | libxml2x86_64 | Advisory build | 0:2.9.7-19.el8_10 | ELSA-2025-2686 |
| Oracle Linux | 9 | libxml2aarch64 | Advisory build | 0:2.9.13-6.el9_5.2 | ELSA-2025-2679 |
| Oracle Linux | 9 | libxml2x86_64 | Advisory build | 0:2.9.13-6.el9_5.2 | ELSA-2025-2679 |
| Red Hat Enterprise Linux | RHEL-7 | libxml2ppc | Advisory build | 2.9.1-6.el7_9.9 | RHSA-2025:2673 |
| Red Hat Enterprise Linux | RHEL-7 | libxml2ppc64 | Advisory build | 2.9.1-6.el7_9.9 | RHSA-2025:2673 |
| Red Hat Enterprise Linux | RHEL-7 | libxml2ppc64le | Advisory build | 2.9.1-6.el7_9.9 | RHSA-2025:2673 |
| Red Hat Enterprise Linux | RHEL-7 | libxml2s390 | Advisory build | 2.9.1-6.el7_9.9 | RHSA-2025:2673 |
| Red Hat Enterprise Linux | RHEL-7 | libxml2s390x | Advisory build | 2.9.1-6.el7_9.9 | RHSA-2025:2673 |
| Red Hat Enterprise Linux | RHEL-7 | libxml2src | Advisory build | 2.9.1-6.el7_9.9 | RHSA-2025:2673 |
| Red Hat Enterprise Linux | RHEL-7 | libxml2x86_64 | Advisory build | 2.9.1-6.el7_9.9 | RHSA-2025:2673 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2aarch64 | Advisory build | 2.9.7-13.el8_6.8 | RHSA-2025:2513 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2aarch64 | Advisory build | 2.9.7-16.el8_8.7 | RHSA-2025:2507 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2aarch64 | Advisory build | 2.9.7-19.el8_10 | RHSA-2025:2686 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2i686 | Advisory build | 2.9.7-13.el8_6.8 | RHSA-2025:2513 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2i686 | Advisory build | 2.9.7-16.el8_8.7 | RHSA-2025:2507 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2i686 | Advisory build | 2.9.7-19.el8_10 | RHSA-2025:2686 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2i686 | Advisory build | 2.9.7-9.el8_2.1 | RHSA-2025:2654 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2i686 | Advisory build | 2.9.7-9.el8_4.5 | RHSA-2025:2660 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2ppc64le | Advisory build | 2.9.7-13.el8_6.8 | RHSA-2025:2513 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2ppc64le | Advisory build | 2.9.7-16.el8_8.7 | RHSA-2025:2507 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2ppc64le | Advisory build | 2.9.7-19.el8_10 | RHSA-2025:2686 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2ppc64le | Advisory build | 2.9.7-9.el8_4.5 | RHSA-2025:2660 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2s390x | Advisory build | 2.9.7-13.el8_6.8 | RHSA-2025:2513 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2s390x | Advisory build | 2.9.7-16.el8_8.7 | RHSA-2025:2507 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2s390x | Advisory build | 2.9.7-19.el8_10 | RHSA-2025:2686 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2src | Advisory build | 2.9.7-13.el8_6.8 | RHSA-2025:2513 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2src | Advisory build | 2.9.7-16.el8_8.7 | RHSA-2025:2507 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2src | Advisory build | 2.9.7-19.el8_10 | RHSA-2025:2686 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2src | Advisory build | 2.9.7-9.el8_2.1 | RHSA-2025:2654 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2src | Advisory build | 2.9.7-9.el8_4.5 | RHSA-2025:2660 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2x86_64 | Advisory build | 2.9.7-13.el8_6.8 | RHSA-2025:2513 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2x86_64 | Advisory build | 2.9.7-16.el8_8.7 | RHSA-2025:2507 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2x86_64 | Advisory build | 2.9.7-19.el8_10 | RHSA-2025:2686 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2x86_64 | Advisory build | 2.9.7-9.el8_2.1 | RHSA-2025:2654 |
| Red Hat Enterprise Linux | RHEL-8 | libxml2x86_64 | Advisory build | 2.9.7-9.el8_4.5 | RHSA-2025:2660 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2aarch64 | Advisory build | 2.9.13-1.el9_0.4 | RHSA-2025:2483 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2aarch64 | Advisory build | 2.9.13-3.el9_2.6 | RHSA-2025:2482 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2aarch64 | Advisory build | 2.9.13-6.el9_5.2 | RHSA-2025:2679 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2aarch64 | Advisory build | 2.9.13-9.el9_4 | RHSA-2025:2678 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2i686 | Advisory build | 2.9.13-1.el9_0.4 | RHSA-2025:2483 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2i686 | Advisory build | 2.9.13-3.el9_2.6 | RHSA-2025:2482 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2i686 | Advisory build | 2.9.13-6.el9_5.2 | RHSA-2025:2679 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2i686 | Advisory build | 2.9.13-9.el9_4 | RHSA-2025:2678 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2ppc64le | Advisory build | 2.9.13-1.el9_0.4 | RHSA-2025:2483 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2ppc64le | Advisory build | 2.9.13-3.el9_2.6 | RHSA-2025:2482 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2ppc64le | Advisory build | 2.9.13-6.el9_5.2 | RHSA-2025:2679 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2ppc64le | Advisory build | 2.9.13-9.el9_4 | RHSA-2025:2678 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2s390x | Advisory build | 2.9.13-1.el9_0.4 | RHSA-2025:2483 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2s390x | Advisory build | 2.9.13-3.el9_2.6 | RHSA-2025:2482 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2s390x | Advisory build | 2.9.13-6.el9_5.2 | RHSA-2025:2679 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2s390x | Advisory build | 2.9.13-9.el9_4 | RHSA-2025:2678 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2src | Advisory build | 2.9.13-1.el9_0.4 | RHSA-2025:2483 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2src | Advisory build | 2.9.13-3.el9_2.6 | RHSA-2025:2482 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2src | Advisory build | 2.9.13-6.el9_5.2 | RHSA-2025:2679 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2src | Advisory build | 2.9.13-9.el9_4 | RHSA-2025:2678 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2x86_64 | Advisory build | 2.9.13-1.el9_0.4 | RHSA-2025:2483 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2x86_64 | Advisory build | 2.9.13-3.el9_2.6 | RHSA-2025:2482 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2x86_64 | Advisory build | 2.9.13-6.el9_5.2 | RHSA-2025:2679 |
| Red Hat Enterprise Linux | RHEL-9 | libxml2x86_64 | Advisory build | 2.9.13-9.el9_4 | RHSA-2025:2678 |
| Ubuntu | focal | libxml2 | Advisory build | 2.9.10+dfsg-5ubuntu0.20.04.9 | USN-7302-1 |
| Ubuntu | jammy | libxml2 | Advisory build | 2.9.13+dfsg-1ubuntu0.6 | USN-7302-1 |
| Ubuntu | noble | libxml2 | Advisory build | 2.9.14+dfsg-1.3ubuntu3.2 | USN-7302-1 |
| Ubuntu | trusty | libxml2 | Advisory build | 2.9.1+dfsg1-3ubuntu4.13+esm7 | USN-7302-1 |
| Ubuntu | xenial | libxml2 | Advisory build | 2.9.3+dfsg1-1ubuntu0.7+esm7 | USN-7302-1 |
| AlmaLinux | 8 | libxml2-devel | Advisory build | 2.9.7-19.el8_10 | ALSA-2025:2686 |
| AlmaLinux | 8 | python3-libxml2 | Advisory build | 2.9.7-19.el8_10 | ALSA-2025:2686 |
| AlmaLinux | 9 | libxml2-devel | Advisory build | 2.9.13-6.el9_5.2 | ALSA-2025:2679 |
| AlmaLinux | 9 | python3-libxml2 | Advisory build | 2.9.13-6.el9_5.2 | ALSA-2025:2679 |
| Oracle Linux | 7 | libxml2-develx86_64 | Advisory build | 0:2.9.1-6.0.5.el7_9.6 | ELSA-2025-2673 |
| Oracle Linux | 7 | libxml2-pythonx86_64 | Advisory build | 0:2.9.1-6.0.5.el7_9.6 | ELSA-2025-2673 |
| Oracle Linux | 7 | libxml2-staticx86_64 | Advisory build | 0:2.9.1-6.0.5.el7_9.6 | ELSA-2025-2673 |
| Oracle Linux | 8 | libxml2-develaarch64 | Advisory build | 0:2.9.7-19.el8_10 | ELSA-2025-2686 |
| Oracle Linux | 8 | libxml2-develx86_64 | Advisory build | 0:2.9.7-19.el8_10 | ELSA-2025-2686 |
| Oracle Linux | 8 | python3-libxml2aarch64 | Advisory build | 0:2.9.7-19.el8_10 | ELSA-2025-2686 |
| Oracle Linux | 8 | python3-libxml2x86_64 | Advisory build | 0:2.9.7-19.el8_10 | ELSA-2025-2686 |
| Oracle Linux | 9 | libxml2-develaarch64 | Advisory build | 0:2.9.13-6.el9_5.2 | ELSA-2025-2679 |
| Oracle Linux | 9 | libxml2-develx86_64 | Advisory build | 0:2.9.13-6.el9_5.2 | ELSA-2025-2679 |
| Oracle Linux | 9 | python3-libxml2aarch64 | Advisory build | 0:2.9.13-6.el9_5.2 | ELSA-2025-2679 |
| Oracle Linux | 9 | python3-libxml2x86_64 | Advisory build | 0:2.9.13-6.el9_5.2 | ELSA-2025-2679 |
| Red Hat Enterprise Linux | RHEL-7 | libxml2-debuginfoi686 | Advisory build | 2.9.1-6.el7_9.9 | RHSA-2025:2673 |
| Red Hat Enterprise Linux | RHEL-7 | libxml2-debuginfoppc | Advisory build | 2.9.1-6.el7_9.9 | RHSA-2025:2673 |
| Red Hat Enterprise Linux | RHEL-7 | libxml2-debuginfoppc64 | Advisory build | 2.9.1-6.el7_9.9 | RHSA-2025:2673 |
| Red Hat Enterprise Linux | RHEL-7 | libxml2-debuginfoppc64le | Advisory build | 2.9.1-6.el7_9.9 | RHSA-2025:2673 |
| Red Hat Enterprise Linux | RHEL-7 | libxml2-debuginfos390 | Advisory build | 2.9.1-6.el7_9.9 | RHSA-2025:2673 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- mitre · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| xmlsoft | libxml2 | 0 to < 2.12.10 (affected · semver)2.13.0 to < 2.13.6 (affected · semver)Default: unaffected | mitre · cna |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
11- http://seclists.org/fulldisclosure/2025/Apr/10
- http://seclists.org/fulldisclosure/2025/Apr/11
- http://seclists.org/fulldisclosure/2025/Apr/12
- http://seclists.org/fulldisclosure/2025/Apr/13
- http://seclists.org/fulldisclosure/2025/Apr/4
- http://seclists.org/fulldisclosure/2025/Apr/5
- http://seclists.org/fulldisclosure/2025/Apr/8
- http://seclists.org/fulldisclosure/2025/Apr/9
- https://gitlab.gnome.org/GNOME/libxml2/-/issues/828
- https://lists.debian.org/debian-lts-announce/2025/02/msg00028.html
- https://security.netapp.com/advisory/ntap-20250328-0010/
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7c5749f43777e8409ef0f01aa38c7bd0bd249ab06dd0dd4015666e92eed89d77
- Ingested
- 23 Sep 2026, 08:31:43 UTC
- Source record
- Official CVE record