LibreOffice and OpenOffice Flaws Let Spreadsheets Run Code Without Macro Warnings

· Original article ↗

Summary

Researchers demonstrated that malicious spreadsheets can run attacker-controlled Java code in LibreOffice and OpenOffice without a macro warning when Java support is enabled. LibreOffice has patched its flaw; OpenOffice's remains unfixed.

Key points

  • The vulnerabilities can trigger code execution when a spreadsheet is opened, without the programs' usual macro trust warning.
  • The attack requires Java support to be enabled and was demonstrated as a proof of concept; no real-world use has been reported.
  • LibreOffice CVE-2026-63277 affects versions before 26.2.5 or 26.8.0; fixes were released October 5.
  • Apache OpenOffice CVE-2026-59265 affects versions through 4.1.16. A fix is expected in 4.1.17, which is still being tested.
  • OpenOffice users can mitigate the issue by disabling Java or avoiding untrusted spreadsheets.
  • The attack uses a spreadsheet database range to retrieve an ODB file, which can direct the program to download and run a Java driver.

Article Details

Vulnerability Types
  • Arbitrary Java code execution
Affected Versions
  • LibreOffice versions before 26.2.5 or 26.8.0
  • Apache OpenOffice versions up to and including 4.1.16
Exploitation Status
not_reported
Exploit Availability
public_poc
Patch Status
partial
Workarounds
  • Disable Java in Apache OpenOffice settings.
  • Do not open untrusted spreadsheets.

MITRE ATT&CK

CVE

People

Products

Related Articles