CVE-2026-104692

Published Nov 16, 2026

Last updated 14 hours ago

CVSS high 8.5
LibreOffice
HSQLDB

Overview

AI description

Automated description summarized from trusted sources.

CVE-2026-104692 is a vulnerability in the HSQLDB database engine bundled with LibreOffice. It arises from a failure to properly enforce the Java method whitelist mechanism within the database engine. Specifically, the whitelist field `accessibleJavaMethodNames` is initialized to `null` instead of an empty set. Because of this initialization error, the validation function unconditionally returns `true` for any method name, effectively disabling the whitelist and allowing arbitrary Java methods to be invoked via SQL CALL statements. When chained with CVE-2026-104007—which allows a document to specify the path from which a Java database driver is loaded—this flaw can lead to remote code execution. An attacker can exploit this by crafting a malicious spreadsheet file, such as an ODS document. When a user opens the document, the exploit chain can execute arbitrary Java code on the victim's system without triggering macro warnings or security prompts. The issue affects LibreOffice versions in the 26.2 and 26.8 lines, and has been addressed in versions 26.2.7 and 26.8.2.

Description
LibreOffice bundles the HSQLDB database engine, which can be used through the generic JDBC database driver as well as through the support for embedded databases. HSQLDB lets SQL statements call Java methods, limited to the classes that are permitted. When HSQLDB was used through the generic JDBC driver this limit did not apply, so SQL in a crafted document could call any Java method and run code. In fixed versions SQL can call only the built-in functions of HSQLDB, whichever way the database is reached.
Source
security@documentfoundation.org
NVD status
Deferred

Risk scores

CVSS 4.0

Type
Secondary
Base score
8.5
Impact score
-
Exploitability score
-
Vector string
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
Severity
HIGH

Weaknesses

security@documentfoundation.org
CWE-470

Social media

Hype score is a measure of social media activity compared against trending CVEs from the past 12 months. Max score 100.

Hype score

25

References

Sources include official advisories and independent security research.