CVE-2025-11731

Libxslt: type confusion in exsltfuncresultcompfunction of libxslt

Published Oct 14, 2025 CVSS 3.1 · 3.1 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability is a type confusion bug in the exsltFuncResultComp() function of libxslt, which processes EXSLT <func:result> elements during stylesheet parsing. It arises from improper type handling, causing an XML document node to be treated as a regular element node, leading to unintended memory reads. This flaw corresponds to CWE-843 (Incorrect Type Checking for a Pointer). The result may cause application instability or a denial of service but does not expose data or provide privileged access.

Affected Systems

Red Hat Enterprise Linux 6, 7, 8, 9, 10, Red Hat Hardened Images, and Red Hat OpenShift Container Platform 4 are affected. No specific patch version details are provided; the defect exists in the default libxslt package shipped with these platforms.

Risk and Exploitability

The CVSS score of 3.1 and an EPSS below 1% indicate a low severity and low probability of exploitation; the vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that an attacker would need to supply a malicious XSLT stylesheet containing EXSLT <func:result> elements processed by libxslt within a running application, which is not trivial. If successfully triggered, the impact would be a denial of service through a crash, but the overall risk remains low due to the difficulty of crafting the necessary input and the limited scope of the vulnerability.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options don’t meet the Red Hat Product Security criteria comprising ease of use, applicability to a widespread installation base, or stability.


OpenCVE Recommended Actions

  • Apply the latest Red Hat update that includes a fixed libxslt package when it becomes available
  • If a patch is not yet released, configure applications to reject or sanitize EXSLT <func:result> elements, or disable EXSLT processing for untrusted XSLT input
  • No official CNA workaround is available; consider temporary measures such as disabling EXSLT processing where possible, noting limited applicability
  • Continuously monitor application logs for unexpected crashes and implement additional hardening such as restricting stylesheet execution privileges

Generated by OpenCVE AI on April 20, 2026 at 19:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
CPEs cpe:/o:redhat:rhivos:1
Vendors & Products Redhat rhivos
Type Values Removed Values Added
First Time appeared Redhat rhivos
CPEs cpe:/o:redhat:rhivos:1
Vendors & Products Redhat rhivos
Type Values Removed Values Added
First Time appeared Redhat hummingbird
CPEs cpe:/a:redhat:hummingbird:1
Vendors & Products Redhat hummingbird
References
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Libxslt: type confusion in exsltfuncresultcompfunction of libxslt
First Time appeared Redhat
Redhat enterprise Linux
Redhat openshift
Weaknesses CWE-843
CPEs cpe:/a:redhat:openshift:4
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat openshift
References
Metrics cvssV3_1

{'score': 3.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L'}

Weaknesses
  • CWE-843

    Access of Resource Using Incompatible Type ('Type Confusion')

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 25, 2026, 2:28 PM
Reserved
Oct 14, 2025, 5:28 AM
Status
Deferred
Published
Oct 14, 2025, 6:15 AM
Modified
Nov 25, 2026, 3:17 PM
Severity
Low
Public date
Oct 14, 2025, 12:00 AM