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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |