Stack-based buffer overflow in LibreOffice - CVE-2026-8356

 

Stack-based buffer overflow in LibreOffice - CVE-2026-8356

Published: June 17, 2026


Vulnerability identifier: #VU134742
CSH Severity: High
CVSS v4: 8.4 [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]
CVE-ID: CVE-2026-8356
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to stack-based buffer overflow in PPT presentation import when parsing a crafted colour-replacement record. A remote attacker can trick the victim into opening a crafted presentation file to execute arbitrary code.

User interaction is required to open a crafted file.


Affected software

LibreOffice
Debian Linux
Ubuntu
libreoffice (Ubuntu package)
libreoffice (Debian package)

How to mitigate CVE-2026-8356

Install security update from vendor's website.

LibreOffice - update to 26.2.4.1
libreoffice (Ubuntu package) - addressed in versions 1:7.3.7-0ubuntu0.22.04.12, 4:24.2.7-0ubuntu0.24.04.6, 4:26.2.4.2-0ubuntu0.26.04.2
libreoffice (Debian package) - update to 4:25.2.3-2+deb13u5

External References

Related Security Bulletins