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

Home › CVE › Java

CVE-2026-104692 — The Document Foundation LibreOffice

High · CVSS 8.5EPSS 0.3% 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 Allows Remote Code Execution via HSQLDB

CVECVE-2026-104692
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-104692 affects LibreOffice, allowing remote code execution through the HSQLDB database engine. The CVSS 4.0 score is 8.5 HIGH, scored by security@documentfoundation.org [1]. The vulnerability impacts versions ≥ 26.2 and < 26.2.7, and ≥ 26.8 and < 26.8.2 [1]. The reviewed sources do not report exploitation [2].

Key points

  • CVE-2026-104692 enables remote code execution via HSQLDB in LibreOffice [1].
  • The CVSS 4.0 score is 8.5 HIGH, scored by security@documentfoundation.org [1].
  • The vulnerability affects LibreOffice versions ≥ 26.2 and < 26.2.7, and ≥ 26.8 and < 26.8.2 [1].
  • The reviewed sources do not report exploitation [2].
  • The EPSS score estimates a 0.31% probability of exploitation within the next 30 days [3].

Vulnerability identification

CVE IDVendorProductCWECVSS 4.0PublishedLast ModifiedRecord Status
CVE-2026-104692The Document FoundationLibreOfficeCWE-470, CWE-11888.5 HIGH2026-11-16T17:17:272026-11-17T05:18:28Deferred

Vulnerability description

LibreOffice integrates the HSQLDB database engine, which can be accessed using JDBC or embedded methods. Normally, SQL commands are limited to predefined Java classes. However, when accessed through JDBC, this limitation is removed, enabling malicious SQL in documents to trigger arbitrary Java methods and execute code [1].

Attack surface and exploitation prerequisites

The CVSS vector indicates the vulnerability requires local access, no privileges, and passive user interaction [1]. An attacker needs to create a malicious document that exploits the flaw [1].

Impact analysis

The CVSS vector highlights high impact on confidentiality, integrity, and availability. This flaw could allow remote code execution [1].

Affected products and versions

Affected ProductAffected VersionFixed 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-104692 is not included in the CISA KEV catalog as of 2026-11-24 [2]. The EPSS score suggests a 0.31% chance of exploitation within the next 30 days [3].

Detection and exposure assessment

To assess exposure, verify if LibreOffice is running a version in the vulnerable range: ≥ 26.2 and < 26.2.7, or ≥ 26.8 and < 26.8.2 [1].

Remediation

The vendor has released secure versions: LibreOffice < 26.2.7 and < 26.8.2 [1].

Remediation checklist

  1. Upgrade LibreOffice to 26.2.7 if on the 26.2 line, or to 26.8.2 if on the 26.8 line [1].
  2. Ensure all systems are updated to avoid running vulnerable versions.
  3. Monitor for signs of exploitation, particularly from known malicious sources.

Evidence gaps

  • The sources do not describe the internal workings of the affected component.
  • The sources do not mention any alternative solutions or mitigations.
  • The sources do not provide a complete version range for all affected products.
  • The sources do not detail the attack process or specific scenarios.
  • The sources do not include indicators of compromise.

References

  1. CVE-2026-104692 record. NIST National Vulnerability Database (NVD), 2026-11-17. https://nvd.nist.gov/vuln/detail/CVE-2026-104692. Accessed 2026-11-24. CVE record, CVSS scores, affected versions, and description
  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 status
  3. EPSS score for CVE-2026-104692. FIRST, 2026-11-23. https://api.first.org/data/v1/epss?cve=CVE-2026-104692. Accessed 2026-11-24. EPSS score and its interpretation

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 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.

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-470: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')
  • CWE-1188: Initialization of a Resource with an Insecure Default

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-104692?

CVE-2026-104692 affects LibreOffice, allowing remote code execution through the HSQLDB database engine. The CVSS 4.0 score is 8.5 HIGH, scored by security@documentfoundation.org. The vulnerability impacts versions ≥ 26.2 and < 26.2.7, and ≥ 26.8 and < 26.8.2. The reviewed sources do not report exploitation. Weakness type: Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') (CWE-470).

How severe is CVE-2026-104692?

CVE-2026-104692 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-104692 being exploited?

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

Which versions are affected by CVE-2026-104692?

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-104692?

Upgrade LibreOffice to 26.2.7 if on the 26.2 line, or to 26.8.2 if on the 26.8 line. Ensure all systems are updated to avoid running vulnerable versions. Monitor for signs of exploitation, particularly from known malicious sources.

Timeline & sources

References

Related vulnerabilities & news