| Name | CVE-2024-56171 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4064-1, DSA-5949-1 |
| Debian Bugs | 1098320 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| libxml2 (PTS) | bullseye | 2.9.10+dfsg-6.7+deb11u4 | vulnerable |
| bullseye (security) | 2.9.10+dfsg-6.7+deb11u9 | fixed | |
| bookworm, bookworm (security) | 2.9.14+dfsg-1.3~deb12u4 | fixed | |
| trixie (security), trixie | 2.12.7+dfsg+really2.9.14-2.1+deb13u1 | fixed | |
| forky | 2.14.6+dfsg-0.1 | fixed | |
| sid | 2.15.1+dfsg-0.3 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| libxml2 | source | bullseye | 2.9.10+dfsg-6.7+deb11u6 | DLA-4064-1 | ||
| libxml2 | source | bookworm | 2.9.14+dfsg-1.3~deb12u2 | DSA-5949-1 | ||
| libxml2 | source | (unstable) | 2.12.7+dfsg+really2.9.14-0.4 | 1098320 |
https://gitlab.gnome.org/GNOME/libxml2/-/issues/828
https://www.openwall.com/lists/oss-security/2025/02/18/2
Fixed by: https://gitlab.gnome.org/GNOME/libxml2/-/commit/5880a9a6bd97c0f9ac8fc4f30110fe023f484746
Fixed by: https://gitlab.gnome.org/GNOME/libxml2/-/commit/245b70d7d2768572ae1b05b3668ca858b9ec4ed4 (v2.12.10)