1. CVE archive
  2. 2026
  3. CVE-2026-101892

CVE-2026-101892

8.5 High severity CVSS v4.0 · source NVD CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X 8.5 – High

Description

LibreOffice documents in ODF format can contain form controls, such as buttons and text fields, and each control names the component that implements it. The component a control named was created even when it was not a form control, and the settings stored with the control were applied to it, so a crafted document could change the configuration of LibreOffice in a way that led to code being run. In fixed versions a control whose component is not a form control is ignored.

Affected products

VendorProductVersionPlatform
the document foundation libreoffice >= 26.2 < < 26.2.7 –
the document foundation libreoffice >= 26.8 < < 26.8.2 –
All 49 The Document Foundation Libreoffice vulnerabilities

Vulnerability type

CWE-470 Use of Externally-Controlled Input to Select Classes or Code

The product uses external input with reflection to select which classes or code to use, but it does not sufficiently prevent the input from selecting improper classes or code.

An attacker could supply values to select unexpected classes or methods. If this occurs, then the attacker could create control flow paths that were not intended by the developer. These paths could bypass authentication or access control checks, or otherwise cause the product to behave in an unexpected manner. This situation becomes a doomsday scenario if the attacker can upload files into a location that appears on the product's classpath (CWE-427) or add new entries to the product's classpath (CWE-426). Under either of these conditions, the attacker can use reflection to introduce new, malicious behavior into the product.

Impact on systems

ScopeImpact
Integrity, Confidentiality, Availability, Other Execute Unauthorized Code or Commands, Alter Execution Logic
The attacker might be able to execute code that is not directly accessible to the attacker. Alternately, the attacker could call unexpected code in the wrong place or the wrong time, possibly modifying critical system state.
Availability, Other DoS: Crash, Exit, or Restart, Other
The attacker might be able to use reflection to call the wrong code, possibly with unexpected arguments that violate the API (CWE-227). This could cause the product to exit or hang.
Confidentiality Read Application Data
By causing the wrong code to be invoked, the attacker might be able to trigger a runtime error that leaks sensitive information in the error message, such as CWE-536.

How to prevent it

Architecture and Design Refactor your code to avoid using reflection.
Architecture and Design Do not use user-controlled inputs to select and load classes or code.
Implementation Apply strict input validation by using allowlists or indirect selection to ensure that the user is only selecting allowable classes or code.

All 153 CWE-470 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org