Skip to main content

LibreOffice CVE-2026-104007

| EUVDEUVD-2026-126509 HIGH
Inclusion of Functionality from Untrusted Control Sphere (CWE-829)
2026-11-16 Document Fdn. GHSA-xxf5-562m-g3f8
8.5
CVSS 4.0 · Vendor: Document Fdn.
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious database/pivot document
  2. Delivery
    Deliver file to target user
  3. Exploit
    Victim opens document and allows link update
  4. Execution
    LibreOffice loads attacker-named Java JDBC driver
  5. Impact
    Execute arbitrary Java code as user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Trusted source inclusion only
Exploitation Conditions

Exploitation requires the victim to open an attacker-crafted LibreOffice database document (or a spreadsheet whose pivot table uses such a database document as its source) that names a JDBC driver and the location to load it from. The flaw triggers because the pre-fix code took the driver's load location from the untrusted database document itself. Concrete limiting factors: the vector is local (AV:L) requiring file delivery, and user interaction is required (UI:P) - the user must open the document, and for the pivot-table route must additionally allow links to be updated before the connection is made. There is no remote/network-service exposure; Java/JDBC database connectivity must be the configured source mechanism for the document.

Impact

This is a genuine high-priority issue rather than a CVSS-inflated one, but its risk profile is bounded by its local, user-interaction-dependent vector. The vendor (Document Foundation) CVSS 4.0 vector is AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H (8.5), meaning full confidentiality, integrity and availability loss of the affected host but only after a victim opens a crafted document - this is effectively arbitrary code execution via a malicious file, not a remotely reachable network service. The vuln.today priority is 'this_week' (not act_now/emergency), consistent with a serious client-side code-execution flaw that still requires social engineering. No CISA KEV listing, no EPSS score, and no POC/exploit reference are present in the supplied data, so there is no public exploit identified at time of analysis and no evidence of active exploitation; the realistic risk is targeted document-delivery attacks rather than mass automated exploitation. Two signals are worth flagging as potentially conflicting: the input Tags label this 'Information Disclosure', but the description and the VC:H/VI:H/VA:H impact describe LibreOffice loading and running attacker-supplied Java code - i.e. code execution, not mere disclosure. No EPSS or KEV data was provided to gauge exploitation likelihood, so probability is inferred from mechanism alone.

Exploit ScenarioDerived

An attacker crafts a LibreOffice database/spreadsheet document whose embedded connection names a JDBC driver loaded from an attacker-controlled location; when the victim opens the document (and, for the pivot-table route, permits links to be updated), LibreOffice loads and executes the supplied Java code with the user's privileges, yielding arbitrary code execution. Because the CVSS vector is AV:L with UI:P, the attack depends on delivering the file to the victim and on victim interaction rather than remote reachability. No public exploit was identified in the provided data, so this scenario is inferred from the vendor description and vector.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 16, 2026

Arbitrary Java code execution in LibreOffice is possible when a crafted database document, or a spreadsheet whose pivot table uses such a document as its source, supplies both a JDBC driver name and the filesystem location the driver should be loaded from; pre-fix builds trusted that attacker-controlled path and loaded the referenced code as soon as the document was opened. Affected users are those running LibreOffice with Java/JDBC database connectivity available and who open an untrusted Base (.odb) document or a spreadsheet pointing at one - exploitation is local, requires the user to open the file, and for the pivot-table route requires the user to permit link updates before the connection is made. No public exploit code has been identified at time of analysis, and the vendor has published an advisory with corrected behaviour; the issue is a distinct route to the same defect previously addressed as CVE-2026-63277.

RemediationAI

Apply the vendor fix: the Document Foundation's advisory for CVE-2026-104007 (https://www.libreoffice.org/about-us/security/advisories/cve-2026-104007) lists the corrected builds, and the supplied data does not state exact version numbers, so confirm the fixed release for your branch there before upgrading. The corrected code takes the JDBC driver location only from the user's own driver configuration rather than from the document, and for the pivot-table path it opens a connection to a URL-named database document only after the user allows links to be updated - so deployments that cannot upgrade immediately should refuse link updates on documents of unknown provenance and treat unsolicited .odb files and spreadsheets with external database sources as executable content. As a compensating control, remove Java from LibreOffice (Tools > Options > LibreOffice > Advanced, uncheck "Use a Java runtime environment") on endpoints that do not need Base/JDBC connectivity; the trade-off is that Base database work, JDBC connections and Java-dependent wizards stop functioning. Restricting which users and endpoints may open untrusted office documents, or detonating them in a sandbox, limits exposure but does not remove the underlying trust misplacement, and the vendor's fixed build remains the only complete remedy.

Affected VersionsENISA

libreoffice 26.2 << 26.2.7
libreoffice 26.8 << 26.8.2

Affected Packages

euvd libreoffice_26_2 fix: 26.2.7
euvd libreoffice_26_8 fix: 26.8.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

LibreOffice Base can attach to external databases through JDBC drivers implemented in Java, and the database document (.odb) stores the connection settings, including which driver to use and where that driver is located on disk. The vulnerability is an instance of CWE-829, Inclusion of Functionality from Untrusted Control Sphere: the classpath/driver location was read from the untrusted document rather than from a trusted source, so a document could point LibreOffice at a JAR it shipped alongside them and have that code loaded and executed inside the user's LibreOffice process, at the user's privilege level. The corrected behaviour restricts the driver location to the user's own driver configuration, and for the pivot-table variant the connection to a database document referenced by URL is deferred until the user explicitly allows link updating. The supplied CPE (cpe:2.3:a:the_document_foundation:libreoffice:*:*:*:*:*:*:*:*) does not pin a version range, so the exact set of affected builds must be taken from the vendor advisory rather than inferred. The trigger is a document open (with a subsequent link-update confirmation on the pivot-table path); no network service exposure is involved, and Java plus JDBC database connectivity must be the configured source mechanism for the document.

Know when Libreoffice gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Document Fdn.) PRIMARY 8.5 HIGH
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
vuln.today AI 7.8 HIGH

Attacker needs a victim to open a crafted local document (AV:L, UI:R) with no prior privileges (PR:N); loaded Java code runs as the user yielding full C/I/A impact with no scope change.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (Document Fdn.).

CVSS VectorVendor: Document Fdn.

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 16, 2026 - 18:19 EUVD
CVE Published
Nov 16, 2026 - 16:40 cve.org
HIGH 8.5

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

LibreOffice is affected by a high-severity vulnerability that enables arbitrary Java code execution when a user opens a malicious database document or linked spreadsheet. This puts any organization relying on LibreOffice for data analysis at risk, as a single user action can lead to full system compromise. Leadership should prioritize patching and user awareness to prevent potential data breaches or operational disruption.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
High
widely deployed open-source office suite across Linux, enterprise and government desktops
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2019-9851 CRITICAL POC
9.8 Aug 15

LibreOffice is typically bundled with LibreLogo, a programmable turtle vector graphics script, which can execute arbitra

CVE-2015-5212 MEDIUM
6.8 Nov 10

Integer underflow in LibreOffice before 4.4.5 and Apache OpenOffice before 4.1.2, when the configuration setting "Load p

CVE-2015-5214 MEDIUM
6.8 Nov 10

LibreOffice before 4.4.6 and 5.x before 5.0.1 and Apache OpenOffice before 4.1.2 allows remote attackers to cause a deni

CVE-2018-6871 CRITICAL POC
9.8 Feb 09

LibreOffice before 5.4.5 and 6.x before 6.0.1 allows remote attackers to read arbitrary files via =WEBSERVICE calls in a

CVE-2021-25631 HIGH POC
8.8 May 03

In the LibreOffice 7-1 series in versions prior to 7.1.2, and in the 7-0 series in versions prior to 7.0.5, the denylist

CVE-2012-2334 MEDIUM POC
6.8 Jun 19

Integer overflow in filter/source/msfilter/msdffimp.cxx in OpenOffice.org (OOo) 3.3, 3.4 Beta, and possibly earlier, and

CVE-2018-10583 HIGH POC
7.5 May 01

An information disclosure vulnerability occurs when LibreOffice 6.0.3 and Apache OpenOffice Writer 4.1.5 automatically p

CVE-2014-3524 CRITICAL
9.3 Aug 26

Apache OpenOffice before 4.1.1 allows remote attackers to execute arbitrary commands and possibly have other unspecified

CVE-2015-5213 MEDIUM
6.8 Nov 10

Integer overflow in LibreOffice before 4.4.5 and Apache OpenOffice before 4.1.2 allows remote attackers to cause a denia

CVE-2014-0247 CRITICAL
10.0 Jul 03

LibreOffice 4.2.4 executes unspecified VBA macros automatically, which has unspecified impact and attack vectors, possib

CVE-2012-0037 MEDIUM POC
6.5 Jun 17

Redland Raptor (aka libraptor) before 2.0.7, as used by OpenOffice 3.3 and 3.4 Beta, LibreOffice before 3.4.6 and 3.5.x

CVE-2017-7856 CRITICAL
9.8 Apr 14

LibreOffice before 2017-03-11 has an out-of-bounds write caused by a heap-based buffer overflow in the SVMConverter::Imp

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy