Code execution through Java method calls in HSQLDB databases

State
Published
Severity
8.5 High
Published
Nov 16, 2026
Updated
Nov 17, 2026
Reserved
Oct 2, 2026

Read the record on cve.org

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.

ProductVersions
LibreOffice The Document Foundation26.2 to before < 26.2.7 Affected26.8 to before < 26.8.2 Affected

Weaknesses

  • CWE-470 Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')
  • CWE-1188 Initialization of a Resource with an Insecure Default

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.