Read the docs

LibreOffice database document can run code through JDBC driver

Priority LOW 36CWE-829Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-829.

Summary

LibreOffice from 26.2 before 26.2.7 and from 26.8 before 26.8.2 takes the location of a JDBC driver from the database document itself. A crafted database document can make LibreOffice load and run Java code that the document supplies when a user opens it (CWE-829). An attacker needs no privileges, but a user must open the crafted document.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
Fix Fixed LibreOffice (The Document Foundation): < 26.2.7, < 26.8.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
The Document FoundationLibreOffice26.2 to before < 26.2.7; 26.8 to before < 26.8.2< 26.2.7, < 26.8.2Patch availableCNA
  • LibreOffice VendorThe Document Foundation Affected 26.2 to before < 26.2.7; 26.8 to before < 26.8.2 Fixed in < 26.2.7, < 26.8.2 Patch available CNA

Remediation

Upgrade LibreOffice 26.2 to version 26.2.7 and LibreOffice 26.8 to version 26.8.2. The fixed versions take the driver location only from the user's driver configuration, and a pivot table whose source is a database document named by a URL connects only once the user allows links to be updated.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

  • Fix · CNA LibreOffice (The Document Foundation) Fixed in < 26.2.7, < 26.8.2

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    The Document Foundation LibreOffice < 26.2.7, < 26.8.2

    19 records Highest priority Priority MEDIUM 10 MEDIUM, 9 LOW

    Other records, highest priority first

    • TI-2026-92219 LibreOffice Writer runs HTML event macros without security checkPriority MEDIUM 52
    • TI-2026-92206 Base document events run macros without the macro security checkPriority MEDIUM 52
    • TI-2026-92224 Local file disclosure through embedded media in LibreOfficePriority MEDIUM 45

Timeline

  1. 2026-11-16 Threatist record created from CVE-2026-104007
  2. 2026-11-16 CISA SSVC decision points changed
  3. 2026-11-16 Alias added: GHSA-xxf5-562m-g3f8
  4. 2026-11-17 CISA SSVC decision points changed

References

  • TI-2019-07233 LibreLogo global-event script execution CVSS 3.1CRITICAL 9.8
  • TI-2018-12068 Path traversal in [UNKNOWN] libreoffice CVSS 3.0CRITICAL 9.8
  • TI-2018-07474 An information disclosure vulnerability occurs when LibreOffice 6.0.3 and Apache… CVSS 3.0HIGH 7.5
  • TI-2019-07230 Code injection in Document Foundation LibreOffice CVSS 3.1CRITICAL 9.8
  • TI-2018-05018 LibreOffice before 5.4.5 and 6.x before 6.0.1 allows remote attackers to read arbitrary… CVSS 3.0CRITICAL 9.8
  • TI-2023-01118 Arbitrary file write in libreoffice CVSS 3.1MEDIUM 5.5
See all 117 →

Sources