Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Java

CVE-2026-104007 — The Document Foundation LibreOffice

High · CVSS 8.5EPSS 0.2% First seen November 16, 2026

One of 24 The Document Foundation LibreOffice vulnerabilities published together by NVD: our article covers all of them.

JavaDatabasesVulnerabilities

Research article

LibreOffice Vulnerability Allows Execution of Java Code via Malicious Pivot Table

CVECVE-2026-104007
Vendor and productThe Document Foundation LibreOffice
PublishedNovember 24, 2026 10:40 UTC
Research cut-offNovember 24, 2026 09:50 UTC
Sources reviewed3: NVD record (last modified 2026-11-17); CISA KEV catalog; FIRST EPSS (2026-11-23)

Executive summary

CVE-2026-104007 impacts LibreOffice, enabling the execution of Java code through a malicious pivot table. The CVSS 4.0 score is 8.5 HIGH, assigned by security@documentfoundation.org [1]. The vulnerability affects LibreOffice versions ≥ 26.2, < 26.2.7 and ≥ 26.8, < 26.8.2 [1]. The reviewed sources do not confirm exploitation [2]. The recommended action is to upgrade to a patched version [1].

Key points

  • CVE-2026-104007 allows execution of Java code through a malicious pivot table [1].
  • The CVSS 4.0 score is 8.5 HIGH, assigned by security@documentfoundation.org [1].
  • The vulnerability affects LibreOffice versions ≥ 26.2, < 26.2.7 and ≥ 26.8, < 26.8.2 [1].
  • The reviewed sources do not confirm exploitation [2].
  • The recommended action is to upgrade to a patched version [1].

Vulnerability identification

CVE IDVendorProductCWECVSS 4.0 scorePublished DateLast Modified DateRecord Status
CVE-2026-104007The Document FoundationLibreOfficeCWE-8298.5 HIGH2026-11-162026-11-17Deferred

Vulnerability description

LibreOffice can establish connections to databases using JDBC drivers implemented in Java. A spreadsheet can reference a database as the source for a pivot table, and the document defining the connection specifies the driver to use. The location from which the driver was loaded was sourced from the database document itself, which means a maliciously crafted document could trick LibreOffice into loading and executing Java code provided by the document upon opening [1].

Attack surface and exploitation prerequisites

The CVSS vector indicates that the vulnerability requires local access, does not demand user interaction, and has significant impacts on confidentiality, integrity, and availability. The CVSS vector letters indicate local attack vector, no privileges required and user interaction required [1].

Impact analysis

This vulnerability can lead to high risks to confidentiality, integrity, and availability. The CVSS 4.0 score reflects high confidentiality, integrity and availability impact [1].

Affected products and versions

Affected ProductAffected Version RangeFixed Version
LibreOffice≥ 26.2, < 26.2.7< 26.2.7
LibreOffice≥ 26.8, < 26.8.2< 26.8.2

Exploitation and threat intelligence status

CVE-2026-104007 is not listed in the CISA KEV catalog as of 2026-11-24 [2]. The EPSS score for this CVE is 0.0021 (0.21%) as of 2026-11-23 [3]. This score is a statistical estimate and not definitive evidence of exploitation.

Detection and exposure assessment

Users can assess their exposure by checking if they are using an affected version of LibreOffice. The vulnerable versions are ≥ 26.2, < 26.2.7 and ≥ 26.8, < 26.8.2 [1].

Remediation

The vulnerability is resolved in LibreOffice versions < 26.2.7 and < 26.8.2 [1]. Users should update to one of these fixed versions [1].

Remediation checklist

  1. Upgrade LibreOffice to version < 26.2.7 or < 26.8.2 [1].
  2. Ensure all users are running a secure version of LibreOffice.
  3. Monitoring for signs of exploitation is general defensive guidance; the sources do not describe specific indicators.

Evidence gaps

  • The sources do not describe how the vulnerability is exploited in technical detail.
  • The sources do not provide attack scenarios or lifecycle information.
  • The sources do not include indicators of compromise.
  • The sources do not mention any workarounds or alternative controls.
  • The sources do not describe the internal workings of the affected component.

References

  1. CVE-2026-104007 record. NIST National Vulnerability Database (NVD), 2026-11-17. https://nvd.nist.gov/vuln/detail/CVE-2026-104007. Accessed 2026-11-24. Vulnerability identification, Vulnerability description, Attack surface and exploitation prerequisites, Impact analysis, Affected products and versions, Remediation
  2. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-24. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-24. Exploitation and threat intelligence status
  3. EPSS score for CVE-2026-104007. FIRST, 2026-11-23. https://api.first.org/data/v1/epss?cve=CVE-2026-104007. Accessed 2026-11-24. Exploitation and threat intelligence status

Written with AI assistance from the 3 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 8.5 CVSS 4.0 base score from the CNA (documentfoundation.org)

An attacker without an account can exploit this with local access if a user views or visits something.

Attack from
local access (a logged-in user, or a malicious file opened on the device)
Attack complexity
low (no special conditions)
Special conditions
none
Login needed
no
User action needed
yes, a user must view or visit something
Impact
high on confidentiality, integrity and availability
Impact on other systems
none

Vector CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Weakness

  • CWE-829: Inclusion of Functionality from Untrusted Control Sphere

Affected and fixed versions

ProductAffected versionsFixed in
The Document Foundation LibreOffice≥ 26.2, < < 26.2.7< 26.2.7
≥ 26.8, < < 26.8.2< 26.8.2

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Other references

Details from NVD (public domain).

Affected

  • The Document Foundation LibreOffice

Frequently asked questions

What is CVE-2026-104007?

CVE-2026-104007 impacts LibreOffice, enabling the execution of Java code through a malicious pivot table. The CVSS 4.0 score is 8.5 HIGH, assigned by security@documentfoundation.org. The vulnerability affects LibreOffice versions ≥ 26.2, < 26.2.7 and ≥ 26.8, < 26.8.2. The reviewed sources do not confirm exploitation. The recommended action is to upgrade to a patched version. Weakness type: Inclusion of Functionality from Untrusted Control Sphere (CWE-829).

How severe is CVE-2026-104007?

CVE-2026-104007 has a CVSS 4.0 base score of 8.5 (high), from the CNA (documentfoundation.org). An attacker without an account can exploit this with local access if a user views or visits something.

Is CVE-2026-104007 being exploited?

Not as far as is known: CVE-2026-104007 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-104007?

The Document Foundation LibreOffice ≥ 26.2, < < 26.2.7 (fixed in < 26.2.7); The Document Foundation LibreOffice ≥ 26.8, < < 26.8.2 (fixed in < 26.8.2).

How do I fix CVE-2026-104007?

Upgrade LibreOffice to version < 26.2.7 or < 26.8.2. Ensure all users are running a secure version of LibreOffice. Monitoring for signs of exploitation is general defensive guidance; the sources do not describe specific indicators.

Timeline & sources

References

Related vulnerabilities & news