CVE-2026-104692
Received Received - Intake

Remote Code Execution in LibreOffice via HSQLDB

Vulnerability report for CVE-2026-104692, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-16

Last updated on: 2026-11-16

Assigner: Document Foundation, The

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-16
Last Modified
2026-11-16
Generated
2026-11-16
AI Q&A
2026-11-16
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
hsqldb hsqldb *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-470 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.
CWE-1188 The product initializes or sets a resource with a default that is intended to be changed by the product's installer, administrator, or maintainer, but the default is not secure.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability involves LibreOffice bundling the HSQLDB database engine, which allows SQL statements to call Java methods. In vulnerable versions, SQL in a crafted document could execute any Java method via the JDBC driver, enabling arbitrary code execution. Fixed versions restrict SQL to only built-in HSQLDB functions.

Detection Guidance

Detection requires checking for vulnerable versions of HSQLDB used by LibreOffice. Inspect installed LibreOffice and HSQLDB versions. Look for documents or applications using embedded HSQLDB databases. No specific commands are provided in the context.

Impact Analysis

An attacker could exploit this by tricking a user into opening a malicious document. This could lead to arbitrary code execution on the victim's system, potentially allowing the attacker to install malware, steal data, or take control of the computer.

Compliance Impact

This vulnerability could lead to unauthorized data access or exfiltration, violating GDPR's data protection requirements or HIPAA's safeguards for protected health information. Organizations may face compliance penalties if exploited.

Mitigation Strategies

Update LibreOffice to a fixed version where SQL can only call HSQLDB built-in functions. Remove or restrict access to documents using external HSQLDB connections. Monitor for suspicious SQL execution patterns.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-104692. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...