Description
A flaw was found in the exsltFuncResultComp() function of libxslt, which handles EXSLT <func:result> elements during stylesheet parsing. Due to improper type handling, the function may treat an XML document node as a regular XML element node, resulting in a type confusion. This can cause unexpected memory reads and potential crashes. While difficult to exploit, the flaw could lead to application instability or denial of service.
Problem types
Access of Resource Using Incompatible Type ('Type Confusion')
Product status
Any version before 1.1.44
Timeline
| 2025-10-14: | Reported to Red Hat. |
| 2025-10-14: | Made public. |
Credits
Red Hat would like to thank Google Big Sleep for reporting this issue.
References
access.redhat.com/security/cve/CVE-2025-11731
bugzilla.redhat.com/show_bug.cgi?id=2403688 (RHBZ#2403688)
gitlab.gnome.org/GNOME/libxslt/-/merge_requests/78