Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious database/pivot document
-
DeliveryDeliver file to target user
-
ExploitVictim opens document and allows link update
-
ExecutionLibreOffice loads attacker-named Java JDBC driver
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (Document Fdn.).
CVSS VectorVendor: Document Fdn.
Lifecycle Timeline
2DescriptionCVE.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.
Articles & Coverage 2
Executive ViewAI
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Libreoffice
View allLibreOffice is typically bundled with LibreLogo, a programmable turtle vector graphics script, which can execute arbitra
Integer underflow in LibreOffice before 4.4.5 and Apache OpenOffice before 4.1.2, when the configuration setting "Load p
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
LibreOffice before 5.4.5 and 6.x before 6.0.1 allows remote attackers to read arbitrary files via =WEBSERVICE calls in a
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
Integer overflow in filter/source/msfilter/msdffimp.cxx in OpenOffice.org (OOo) 3.3, 3.4 Beta, and possibly earlier, and
An information disclosure vulnerability occurs when LibreOffice 6.0.3 and Apache OpenOffice Writer 4.1.5 automatically p
Apache OpenOffice before 4.1.1 allows remote attackers to execute arbitrary commands and possibly have other unspecified
Integer overflow in LibreOffice before 4.4.5 and Apache OpenOffice before 4.1.2 allows remote attackers to cause a denia
LibreOffice 4.2.4 executes unspecified VBA macros automatically, which has unspecified impact and attack vectors, possib
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
LibreOffice before 2017-03-11 has an out-of-bounds write caused by a heap-based buffer overflow in the SVMConverter::Imp
EUVD-2026-126509
GHSA-xxf5-562m-g3f8
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB