CVE-2026-8356: LibreOffice stack buffer overflow in PPT colour-replacement import

CVE-2026-8356 · Severity: info · CVSS 5.4 · Published 2026-06-15

LibreOffice, a popular open-source office productivity suite, is vulnerable to a memory corruption issue when processing older PowerPoint (.ppt) files. An attacker could create a specially crafted presentation that, when opened by a user, causes the application to crash or potentially allows for unauthorized actions on the user's computer. This flaw impacts the reliability of the software and could be used as a foothold for further system compromise if a user is tricked into opening a malicious file.

Technologies: The Document Foundation LibreOffice. Vendors: The Document Foundation.

Quick answers

Is CVE-2026-8356 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-8356 being exploited in the wild.
How severe is CVE-2026-8356?
Informational severity, with a CVSS score of 5.4, published 15 June 2026.
Which products and versions are affected?
The Document Foundation LibreOffice Versions prior to 26.2.3 and 25.8.7.
Is there a fix for CVE-2026-8356?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-8356 attacked?
It is attacked with local access, in a network appliance.
Am I affected by CVE-2026-8356?
Check whether you run The Document Foundation LibreOffice at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A stack-based buffer overflow (CWE-121) exists in LibreOffice's legacy PPT import filter. The vulnerability is rooted in the processing of colour-replacement records, where two fixed-size colour tables are populated from the file. Because the write position was not reset between two passes over the record, a crafted file with combined colour counts exceeding the table size results in an out-of-bounds write (CWE-787) on the stack. An attacker can exploit this by providing a malicious PPT file; successful exploitation requires user interaction (opening the file) and can lead to arbitrary code execution or a denial-of-service (crash). The issue is resolved in versions 26.2.3 and 25.8.7 by ensuring the unused second pass is no longer read into the tables.

Affected products

  • The Document Foundation LibreOffice Versions prior to 26.2.3 and 25.8.7

Timeline

  • 2026-06-15: disclosed
  • 2026-06-15: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.