Skip to content
OpenAdvisories
High · 8.5 CVE-2026-104692 EUVD-2026-126510GHSA-wcx4-4qxc-x97g

Code execution through Java method calls in HSQLDB databases

Published Nov 16, 2026 · Updated Nov 17, 2026 · Assigned by Document Fdn.

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.

Affected products

VendorProductAffectedFixed
The Document Foundation LibreOffice 26.2 – < < 26.2.7, 26.8 – < < 26.8.2 < 26.2.7

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 hsqldb1.8.0 No fix yet —
Debian 14 libreoffice 4:26.8.2.2-2 —
Debian 13 hsqldb1.8.0 +1 No fix yet —
Debian 12 hsqldb1.8.0 +1 No fix yet —

References