The Document Foundation LibreOffice
Code execution through the JDBC driver path of a database document
LibreOffice can connect to databases through JDBC drivers written in Java. A spreadsheet can use a database as the source of a pivot table, and the database document that describes the connection names the driver to use. The location the driver was loaded from was taken from the database document itself, so a crafted document could make LibreOffice load and run Java code that the document supplied when it was opened. This is a different route to the problem fixed for CVE-2026-63277. In fixed versions the driver location is taken only from the driver configuration of the user, and a pivot table whose source is a database document named by a URL connects only once the user allows links to be updated.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 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.