| Name | CVE-2025-49794 |
| Description | A use-after-free vulnerability was found in libxml2. This issue occurs when parsing XPath elements under certain circumstances when the XML schematron has the <sch:name path="..."/> schema elements. This flaw allows a malicious actor to craft a malicious XML document used as input for libxml, resulting in the program's crash using libxml or other possible undefined behaviors. |
| 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-4251-1 |
| Debian Bugs | 1107755 |
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 | 2.12.7+dfsg+really2.9.14-2.1+deb13u2 | fixed | |
| trixie (security) | 2.12.7+dfsg+really2.9.14-2.1+deb13u1 | fixed | |
| forky, sid | 2.15.1+dfsg-0.4 | 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+deb11u8 | DLA-4251-1 | ||
| libxml2 | source | bookworm | 2.9.14+dfsg-1.3~deb12u3 | |||
| libxml2 | source | (unstable) | 2.12.7+dfsg+really2.9.14-2 | 1107755 |
https://gitlab.gnome.org/GNOME/libxml2/-/issues/931
Fixed by: https://gitlab.gnome.org/GNOME/libxml2/-/commit/71e1e8af5ee46dad1b57bb96cfbf1c3ad21fbd7b