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

 

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

Published: June 17, 2026


Vulnerability identifier: #VU134748
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-6047
CWE-ID: CWE-122
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 a heap-based buffer overflow in the OOXML text box element import logic when replaying deferred parser events while parsing a crafted document. A remote attacker can trick the victim into opening a specially crafted file to execute arbitrary code.

User interaction is required to open a crafted file.


Affected software

LibreOffice

How to mitigate CVE-2026-6047

Install security update from vendor's website.

LibreOffice - update to 26.2.4.1

External References

Related Security Bulletins