Read the docs

Code execution via Java method calls in LibreOffice's HSQLDB

Priority LOW 36CWE-1188Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

LibreOffice 26.2 before 26.2.7 and 26.8 before 26.8.2 bundle the HSQLDB database engine. When HSQLDB is used through the generic JDBC driver, the limit on which Java classes SQL may call does not apply (CWE-470). A local attacker with no privileges can run code if a user opens a crafted document whose SQL calls any Java method.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
Fix Fixed LibreOffice (The Document Foundation): < 26.2.7, < 26.8.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
The Document FoundationLibreOffice26.2 to before < 26.2.7; 26.8 to before < 26.8.2< 26.2.7, < 26.8.2Patch availableCNA
  • LibreOffice VendorThe Document Foundation Affected 26.2 to before < 26.2.7; 26.8 to before < 26.8.2 Fixed in < 26.2.7, < 26.8.2 Patch available CNA

Remediation

Upgrade LibreOffice to 26.2.7 on the 26.2 branch or to 26.8.2 on the 26.8 branch.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

  • Fix · CNA LibreOffice (The Document Foundation) Fixed in < 26.2.7, < 26.8.2

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    The Document Foundation LibreOffice < 26.2.7, < 26.8.2

    19 records Highest priority Priority MEDIUM 10 MEDIUM, 9 LOW

    Other records, highest priority first

    • TI-2026-92219 LibreOffice Writer runs HTML event macros without security checkPriority MEDIUM 52
    • TI-2026-92206 Base document events run macros without the macro security checkPriority MEDIUM 52
    • TI-2026-92224 Local file disclosure through embedded media in LibreOfficePriority MEDIUM 45

Timeline

  1. 2026-11-16 Threatist record created from CVE-2026-104692
  2. 2026-11-16 CISA SSVC decision points changed
  3. 2026-11-16 Alias added: GHSA-wcx4-4qxc-x97g
  4. 2026-11-17 CISA SSVC decision points changed

References

  • TI-2019-07233 LibreLogo global-event script execution CVSS 3.1CRITICAL 9.8
  • TI-2018-12068 Path traversal in [UNKNOWN] libreoffice CVSS 3.0CRITICAL 9.8
  • TI-2018-07474 An information disclosure vulnerability occurs when LibreOffice 6.0.3 and Apache… CVSS 3.0HIGH 7.5
  • TI-2019-07230 Code injection in Document Foundation LibreOffice CVSS 3.1CRITICAL 9.8
  • TI-2018-05018 LibreOffice before 5.4.5 and 6.x before 6.0.1 allows remote attackers to read arbitrary… CVSS 3.0CRITICAL 9.8
  • TI-2023-01118 Arbitrary file write in libreoffice CVSS 3.1MEDIUM 5.5
See all 117 →

Sources