The Document Foundation LibreOffice
Code execution through Java method calls in HSQLDB databases
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.5high · scored by CNA · CWE-470
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
The Document Foundation LibreOffice
- >= 26.2, < < 26.2.7
- >= 26.8, < < 26.8.2
Fixed in < 26.2.7, < 26.8.2
Mitigation
Upgrade LibreOffice to < 26.2.7 or < 26.8.2 or later.
References
- Vendor advisory libreoffice.org/about-us/security/advisories/cve-20…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.