1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-11-08 11:02:18 +03:00
Files
libxslt/libxslt
Nick Wellnhofer c7c7f1f78d [CVE-2025-24855] Fix use-after-free of XPath context node
There are several places where the XPath context node isn't restored
after modifying it, leading to use-after-free errors with nested XPath
evaluations and dynamically allocated context nodes.

Restore XPath context node in

- xsltNumberFormatGetValue
- xsltEvalXPathPredicate
- xsltEvalXPathStringNs
- xsltComputeSortResultInternal

In some places, the transformation context node was saved and restored
which shouldn't be necessary.

Thanks to Ivan Fratric for the report!

Fixes #128.
2025-03-12 18:15:01 +01:00
..
2012-09-12 14:07:24 +08:00
2022-02-14 22:31:18 +01:00
2022-03-31 01:50:51 +02:00
2017-11-29 17:33:21 +01:00
2017-11-29 16:52:13 +01:00
2023-09-21 16:40:57 +02:00
2012-09-12 14:07:24 +08:00
2012-09-12 14:07:24 +08:00
2022-02-14 22:31:18 +01:00
2024-06-16 16:09:51 +02:00
2023-05-06 16:30:21 +02:00
2024-07-23 02:54:29 +02:00
2012-09-12 14:07:24 +08:00
2012-09-12 14:07:24 +08:00
2023-05-06 16:33:11 +02:00
2012-09-12 14:07:24 +08:00
2012-09-12 14:07:24 +08:00
2017-11-29 17:33:21 +01:00
2024-12-21 22:58:58 +01:00
2012-09-12 14:07:24 +08:00
2023-05-06 16:33:11 +02:00