Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft document with HSQLDB JDBC payload
-
DeliveryDeliver file to victim via phishing
-
ExploitVictim opens document in LibreOffice
-
ExecutionSQL invokes arbitrary Java method
-
ImpactExecute code with user privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V15 - Secure Coding and Architecture Reflection safety, class allowlisting
|
| Exploitation Conditions | Exploitation requires a victim to open a crafted document in a vulnerable LibreOffice build where the bundled HSQLDB database is accessed through the generic JDBC database driver - the specific code path on which HSQLDB's restriction limiting SQL-to-Java calls to permitted classes did not apply, allowing any Java method to be invoked. Access routed only through the ordinary embedded-database support enforced the restriction and was not the bypass path. Limiting factors: the attack is local (AV:L) and needs user interaction (UI:P) - the attacker must deliver the file and the user must open it - though no authentication or elevated privileges are required (PR:N). Fixed versions constrain SQL to HSQLDB's built-in functions regardless of how the database is reached. |
| Impact | This is a document-borne arbitrary-code-execution flaw (CWE-470, unsafe reflection) in LibreOffice's bundled HSQLDB engine, rated CVSS 4.0 8.5 (high) by the reporting vendor, The Document Foundation. The vector CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H is internally consistent with the description: exploitation is local and requires the victim to open a crafted file (UI:P), but needs no privileges (PR:N) and yields full confidentiality, integrity and availability impact on the vulnerable system. Signals diverge on urgency: there is no EPSS score, no CISA KEV listing, and no PoC reference in the supplied data, so there is no public exploit identified at time of analysis; the vuln.today decision label is 'this_week' rather than act_now or emergency. The realistic risk is therefore driven by delivery practicality - document-open RCE is a well-worn phishing/social-engineering path against a very widely deployed office suite - rather than by evidence of mass or active exploitation. Note a data conflict: the input Tags label this 'Information Disclosure', which understates the actual code-execution impact indicated by both the description ('run code') and the VI:H/VA:H metrics. This is a genuine priority to patch, but the local vector and required user interaction make it lower-tempo than a network-reachable unauthenticated RCE. |
| Exploit ScenarioDerived | An attacker crafts an office document whose embedded HSQLDB database is reached through LibreOffice's generic JDBC database driver and embeds SQL that calls an arbitrary Java method. The victim is socially engineered into opening the file in a vulnerable LibreOffice build, at which point the SQL executes the Java call and runs attacker-controlled code with the user's privileges. No public exploit code is identified in the available sources. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 16, 2026
Arbitrary code execution in LibreOffice can occur when a crafted document causes SQL to be executed through the bundled HSQLDB engine via the generic JDBC database driver. HSQLDB normally restricts SQL-to-Java calls to permitted classes, but that restriction did not apply on this path, allowing any Java method to be invoked; access through embedded-database support enforced the restriction and was not the bypass route. Exploitation is local and requires the user to open a malicious document (CVSS 4.0 8.5; PR:N, UI:P), and no public exploit was identified at time of analysis.
RemediationAI
Update LibreOffice to a fixed release; exact fixed version numbers are not listed in the supplied data, so use the vendor advisory at https://www.libreoffice.org/about-us/security/advisories/cve-2026-104692 to identify the corrected build for your branch. The vendor's fix constrains HSQLDB SQL to built-in functions regardless of whether the database is reached through the generic JDBC driver or embedded support. No separate workaround is described in the available sources; until the update is applied, reduce exposure by avoiding untrusted documents that rely on database connectivity, recognizing that this lowers the chance of delivery and user opening but does not remove the underlying flaw.
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 bundles the HSQLDB database engine, which can be reached through generic JDBC database connectivity as well as through support for embedded databases. HSQLDB includes a SQL-to-Java calling facility that is supposed to be limited to permitted classes; this is an unsafe-reflection class of issue (CWE-470). In the generic JDBC code path, that class restriction was not enforced, so SQL embedded in a crafted document could invoke arbitrary Java methods and execute code. The embedded-database path did enforce the restriction and is not the bypass mechanism. Fixed LibreOffice versions change HSQLDB behavior so that SQL can call only HSQLDB built-in functions regardless of how the database is reached. The supplied CPE is a wildcard for The Document Foundation LibreOffice, with no specific version range enumerated in the available data.
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
A victim must open a crafted local document (AV:L, UI:R) with no privileges or special configuration (PR:N, AC:L); arbitrary code execution yields full C/I/A on the user's system with unchanged scope.
Primary rating from Vendor (Document Fdn.).
CVSS VectorVendor: Document Fdn.
Lifecycle Timeline
2DescriptionCVE.org
LibreOffice bundles the HSQLDB database engine, which can be used through the generic JDBC database driver as well as through the support for embedded databases. HSQLDB lets SQL statements call Java methods, limited to the classes that are permitted. When HSQLDB was used through the generic JDBC driver this limit did not apply, so SQL in a crafted document could call any Java method and run code. In fixed versions SQL can call only the built-in functions of HSQLDB, whichever way the database is reached.
Articles & Coverage 2
Executive ViewAI
A high-severity flaw in LibreOffice's embedded database engine allows a malicious document to execute arbitrary code on an employee's workstation, enabling an attacker to take control of the machine and potentially access sensitive data. Because exploitation requires only that a user open a crafted file, any team member who opens documents from external sources is exposed. Leadership should prioritize this as a targeted endpoint risk affecting the broader document-handling workforce.
No vendor-released patch identified at time of analysis. Interim mitigations include restricting use of embedded databases and disabling the generic JDBC driver where operationally feasible, applying application allow-listing and endpoint detection for unusual process spawning from LibreOffice, blocking or sandboxing untrusted document attachments at the email and web gateway, and user awareness warnings against opening unsolicited documents.
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-126510
GHSA-wcx4-4qxc-x97g
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB