CVE-2025-11731: Libxslt: type confusion in exsltfuncresultcompfunction of libxslt

Published Oct 14, 2025
·
Updated

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.

Other sources

Libxslt: type confusion in exsltfuncresultcompfunction of libxslt

Microsoft

Type Confusion vulnerability in the EXSLT <func:result> element handler of libxslt. The flaw resides in the exsltFuncResultComp() function, which walks up the node hierarchy to verify that a <func:result> is a descendant of a func:function element. If no such ancestor exists, the loop continues until the XML document node is reached, where the ns pointer is incorrectly interpreted as integer fields (compression and standalone). This type confusion results in reading memory from an unexpected address, leading to a segmentation fault or crash. Although the impact is limited to denial-of-service, the issue can be triggered remotely by processing malicious XSL stylesheets.

Red Hat

Affected Software

5 affected componentsFixes available
XML libxslt
Microsoft azl3 libxslt 1.1.43-1
Microsoft cbl2 libxslt 1.1.34-8
Microsoft cbl2 libxslt 1.1.34-9
Microsoft azl3 libxslt 1.1.43-3

Event History

Oct 14, 2025
Data Sourced
via Red Hat·05:31 AM
DescriptionSeverityAffected Software
CVE Published
via MITRE·06:02 AM
Data Sourced
via MITRE·06:02 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 AM
DescriptionSeverityWeakness
Nov 21, 2025
Data Sourced
via Microsoft·01:04 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·01:04 AM
Affected Software
Updated
via Microsoft·01:04 AM
DescriptionSeverity
Updated
via Microsoft·01:04 AM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-11731?

CVE-2025-11731 has a medium severity rating due to its potential for type confusion in XML processing.

2

How do I fix CVE-2025-11731?

To fix CVE-2025-11731, update your libxslt to the latest version that addresses this vulnerability.

3

What software is affected by CVE-2025-11731?

CVE-2025-11731 affects the libxslt component of XML processing libraries.

4

What are the potential risks of CVE-2025-11731?

The potential risks of CVE-2025-11731 include unexpected behavior in XML processing that could lead to program instability.

5

When was CVE-2025-11731 reported?

CVE-2025-11731 was reported in 2025 as part of ongoing security assessments for XML libraries.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203