Skip to content

CVE-2025-32415 In libxml2 before 2.13.8 and 2.14.x before 2.14.2, xmlSchemaIDCFillNodeTables in xmlschemas.c has a heap-based buffer under-read. To exploit this, a crafted XML document must be validated against an X...

HighCVSS 7.5 EPSS 0.60%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
UbuntuDebian

Description

In libxml2 before 2.13.8 and 2.14.x before 2.14.2, xmlSchemaIDCFillNodeTables in xmlschemas.c has a heap-based buffer under-read. 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.

Upgrade path

15 packages: 15 fixed.

PackageAffectedFixed inStatus
alpine/libxml2(Alpine v3.18) < 2.11.8-r3 2.11.8-r3 Fixed
alpine/libxml2(Alpine v3.19) < 2.11.8-r3 2.11.8-r3 Fixed
alpine/libxml2(Alpine v3.20) < 2.12.10-r0 2.12.10-r0 Fixed
alpine/libxml2(Alpine v3.21) < 2.13.4-r6 2.13.4-r6 Fixed
alpine/libxml2(Alpine v3.22) < 2.13.8-r0 2.13.8-r0 Fixed
alpine/libxml2(Alpine v3.23) < 2.13.8-r0 2.13.8-r0 Fixed
alpine/libxml2(Alpine v3.24) < 2.13.8-r0 2.13.8-r0 Fixed
azure linux libxml2(Azure Linux 3.0) < 2.11.5-5 2.11.5-5 Fixed
cbl-mariner libxml2(CBL-Mariner 2.0) < 2.10.4-7 2.10.4-7 Fixed
debian/libxml2(Debian 12) < 2.9.14+dfsg-1.3~deb12u2; = 2.9.14+dfsg-1.2; = 2.9.14+dfsg-1.3~deb12u1 2.9.14+dfsg-1.3~deb12u2 Fixed
debian/libxml2(Debian 13) < 2.12.7+dfsg+really2.9.14-1 2.12.7+dfsg+really2.9.14-1 Fixed
debian/libxml2(Debian 14) < 2.12.7+dfsg+really2.9.14-1 2.12.7+dfsg+really2.9.14-1 Fixed
ubuntu/libxml2(Ubuntu 22.04) < 2.9.13+dfsg-1ubuntu0.7 2.9.13+dfsg-1ubuntu0.7 Fixed
ubuntu/libxml2(Ubuntu 24.04) < 2.9.14+dfsg-1.3ubuntu3.3 2.9.14+dfsg-1.3ubuntu3.3 Fixed
xmlsoft libxml2 < 2.13.8; >= 2.14.0, < 2.14.2 2.13.8, 2.14.2 Fixed

Affected products

ProductAffected versionsFixed in
azure linux libxml2(Azure Linux:3.0) < 2.11.5-5 2.11.5-5
cbl-mariner libxml2(CBL-Mariner:2.0) < 2.10.4-7 2.10.4-7
debian/libxml2(Debian:12) < 2.9.14+dfsg-1.3~deb12u2 2.9.14+dfsg-1.3~deb12u2
debian/libxml2(Debian:12) = 2.9.14+dfsg-1.2 No fix listed
debian/libxml2(Debian:12) = 2.9.14+dfsg-1.3~deb12u1 No fix listed
debian/libxml2(Debian:13) < 2.12.7+dfsg+really2.9.14-1 2.12.7+dfsg+really2.9.14-1
debian/libxml2(Debian:14) < 2.12.7+dfsg+really2.9.14-1 2.12.7+dfsg+really2.9.14-1
xmlsoft libxml2 < 2.13.8 2.13.8
xmlsoft libxml2 >= 2.14.0, < 2.14.2 2.14.2
ubuntu/libxml2(Ubuntu:22.04) < 2.9.13+dfsg-1ubuntu0.7 2.9.13+dfsg-1ubuntu0.7
ubuntu/libxml2(Ubuntu:24.04) < 2.9.14+dfsg-1.3ubuntu3.3 2.9.14+dfsg-1.3ubuntu3.3
alpine/libxml2(Alpine:v3.18) < 2.11.8-r3 2.11.8-r3
alpine/libxml2(Alpine:v3.19) < 2.11.8-r3 2.11.8-r3
alpine/libxml2(Alpine:v3.20) < 2.12.10-r0 2.12.10-r0
alpine/libxml2(Alpine:v3.21) < 2.13.4-r6 2.13.4-r6
alpine/libxml2(Alpine:v3.22) < 2.13.8-r0 2.13.8-r0
alpine/libxml2(Alpine:v3.23) < 2.13.8-r0 2.13.8-r0
alpine/libxml2(Alpine:v3.24) < 2.13.8-r0 2.13.8-r0

References