[xml/sgml-pkgs] Bug#1100566: libxslt: CVE-2025-24855: Use-after-free due to xsltEvalXPathStringNs leaking xpathCtxt->node
Salvatore Bonaccorso
carnil at debian.org
Sat Mar 15 11:03:57 GMT 2025
Source: libxslt
Version: 1.1.35-1
Severity: grave
Tags: security upstream
Forwarded: https://gitlab.gnome.org/GNOME/libxslt/-/issues/128
X-Debbugs-Cc: carnil at debian.org, Debian Security Team <team at security.debian.org>
Hi,
The following vulnerability was published for libxslt.
CVE-2025-24855[0]:
| numbers.c in libxslt before 1.1.43 has a use-after-free because, in
| nested XPath evaluations, an XPath context node can be modified but
| never restored. This is related to xsltNumberFormatGetValue,
| xsltEvalXPathPredicate, xsltEvalXPathStringNs, and
| xsltComputeSortResultInternal.
If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.
For further information see:
[0] https://security-tracker.debian.org/tracker/CVE-2025-24855
https://www.cve.org/CVERecord?id=CVE-2025-24855
[1] https://gitlab.gnome.org/GNOME/libxslt/-/issues/128
[2] https://gitlab.gnome.org/GNOME/libxslt/-/commit/c7c7f1f78dd202a053996fcefe57eb994aec8ef2
Please adjust the affected versions in the BTS as needed.
Regards,
Salvatore
More information about the debian-xml-sgml-pkgs
mailing list