CVE-2026-104007
Received Received - Intake

Remote Java Code Execution in LibreOffice via JDBC Driver

Vulnerability report for CVE-2026-104007, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-16

Last updated on: 2026-11-16

Assigner: Document Foundation, The

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-16
Last Modified
2026-11-16
Generated
2026-11-16
AI Q&A
2026-11-16
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
the_document_foundation libreoffice to 2026-63277 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-829 The product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

LibreOffice allows spreadsheets to use databases as pivot table sources via JDBC drivers. A crafted document could trick LibreOffice into loading and executing malicious Java code by specifying a driver location within the document itself. Fixed versions restrict driver loading to user-configured settings only.

Impact Analysis

An attacker could craft a malicious document that executes arbitrary Java code when opened, potentially compromising your system or data. This could lead to unauthorized access, data theft, or further malware installation.

Compliance Impact

This vulnerability could lead to unauthorized data access or exfiltration, violating GDPR's data protection principles or HIPAA's security requirements for protected health information. Organizations may face compliance breaches if exploited.

Mitigation Strategies

Update LibreOffice to a fixed version where the driver location is restricted to user configuration only. Avoid opening untrusted database documents or pivot table sources from URLs.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-104007. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...