Heap-based buffer overflow in LibreOffice - CVE-2026-8357

 

Heap-based buffer overflow in LibreOffice - CVE-2026-8357

Published: June 17, 2026


Vulnerability identifier: #VU134743
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2026-8357
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: LibreOffice
Affected software:
LibreOffice

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to heap-based buffer overflow in Calc formula compilation when parsing a specially crafted document containing a very long formula with many opening tokens. A remote attacker can trick the victim into opening a crafted document to execute arbitrary code.

User interaction is required to open a crafted document.


How to mitigate CVE-2026-8357

Install security update from vendor's website.

Sources