Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft PPT file with oversized colour-replacement record
-
DeliveryDeliver file via phishing or download
-
ExploitVictim opens file in LibreOffice
-
ExecutionPPT parser processes colour-replacement record without resetting write position
-
PersistStack buffer overflow corrupts adjacent stack memory
-
ImpactApplication crash or arbitrary code execution as victim user
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the victim to open a specially crafted PPT (legacy binary PowerPoint) file in LibreOffice - specifically a file containing a colour-replacement record with a combined colour count across two parsing passes that exceeds the fixed-size stack colour tables. The attack vector is local (AV:L) because the file must be opened by the user on a machine running LibreOffice (UI:P passive interaction). No attacker privileges are required (PR:N) and no special system configuration is needed beyond a standard LibreOffice installation, which includes PPT import support by default. Exploitation is strictly limited to the PPT legacy binary format - PPTX (Open XML) and ODP files are not affected by this parser path. Platform stack mitigations (stack canaries, ASLR, SafeStack) will raise the bar for achieving reliable code execution beyond a crash, though a reliable crash-based DoS primitive is achievable. No network-reachable attack surface exists; the attacker must deliver the file to the victim through social engineering. |
| Impact | The CVSS 4.0 score of 5.4 reflects a medium-severity, file-based local attack (AV:L/UI:P) where the victim must open a malicious PPT file - a realistic social-engineering vector despite the 'local' classification. Attack complexity is low (AC:L) with no attacker privileges required (PR:N) and no specific attack preconditions (AT:N). The primary impact is availability (VA:H), consistent with a stack overflow that reliably crashes the application; secondary confidentiality and integrity impacts (VC:L/VI:L) reflect the theoretical possibility of controlled code execution, though this is harder to achieve in practice with modern stack protections. The E:P supplemental metric confirms proof-of-concept code exists, making this more actionable than a typical medium-severity finding. KEV status is not confirmed and EPSS data is not available in the provided intelligence, so widespread active exploitation cannot be assumed. The absence of scope change to subsequent systems (SC:N/SI:N/SA:N) limits blast radius to the LibreOffice process itself. Overall priority: medium-high for organisations where users routinely open legacy PPT files from untrusted sources. |
| Exploit ScenarioDerived | An attacker sends a victim a crafted PPT file via email or a file-sharing link, engineered with a colour-replacement record whose combined colour entries across both parsing passes exceed the fixed stack table size. When the victim opens the file in LibreOffice, the PPT importer's second-pass processing writes colour data past the end of the stack-allocated tables, overwriting adjacent stack memory including saved return addresses or function pointers. Depending on platform stack protections and the attacker's ability to control the overflow content precisely, this results in application crash or controlled code execution under the victim's user account. A proof-of-concept exists (E:P), meaning the crash-triggering primitive has been demonstrated publicly. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 15, 2026
Stack buffer overflow in LibreOffice's legacy binary PPT importer allows a crafted presentation file to corrupt stack memory, causing application crash or potential arbitrary code execution under the victim's user context. The flaw affects all LibreOffice versions when importing PPT files containing a colour-replacement record whose combined colour counts across two parsing passes exceed the fixed-size stack-allocated colour tables. No public exploit has been confirmed actively exploited (not in CISA KEV), though the CVSS 4.0 supplemental E:P metric indicates proof-of-concept code exists, elevating this above a purely theoretical risk.
RemediationAI
Apply the vendor-released patch per the LibreOffice security advisory at https://www.libreoffice.org/about-us/security/advisories/cve-2026-8356; the exact fixed version must be confirmed directly from that advisory, as it was not included in the available data. The fix removes the erroneous second pass in the colour-replacement record parser, eliminating the overflow entirely. As an interim compensating control, instruct users to avoid opening unsolicited or untrusted PPT (legacy binary PowerPoint) files directly in LibreOffice; converting documents via a sandboxed or server-side conversion service before end-user access reduces exposure without impacting productivity significantly. Opening documents in LibreOffice's Protected View or within an application sandbox (e.g., Flatpak with restricted filesystem access) limits the impact of a successful exploit to the sandboxed process. Note that blocking PPT files at the email gateway or web proxy may cause compatibility issues for workflows dependent on legacy format exchange.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
LibreOffice implements a parser for the legacy binary PPT (PowerPoint 97-2003) format as part of its office document import subsystem. The vulnerable component processes colour-replacement records within PPT files by populating two fixed-size colour tables allocated on the stack. The root cause (CWE-787: Out-of-bounds Write) is a missing write-position reset between two sequential passes over the same record: the first pass fills the initial colour table, and the second pass continues writing from where the first left off rather than resetting to the start of the second table. When the combined colour entry count across both passes exceeds the allocated table capacity, the parser writes past the end of the stack-allocated buffers, corrupting adjacent stack frames. The vendor's fix eliminates the redundant second pass entirely, preventing the overflow. Affected scope per CPE cpe:2.3:a:the_document_foundation:libreoffice:*:*:*:*:*:*:*:* covers all LibreOffice versions prior to the fix across all supported platforms.
Know when Libreoffice gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:P
File-based local attack requires user to open the PPT (AV:L/UI:R); no attacker privileges needed (PR:N); stack overflow primarily causes crash (A:H) with limited but plausible code-execution potential (C:L/I:L); no scope change (S:U).
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Primary rating from Vendor (Document Fdn.).
CVSS VectorVendor: Document Fdn.
Lifecycle Timeline
2DescriptionCVE.org
LibreOffice can import presentations in the legacy binary PPT format. A stack buffer overflow existed when importing a colour-replacement record. Two fixed-size colour tables were filled from the file, but the write position was not reset between the two passes over the record, so a file whose combined colour counts exceeded the table size wrote past the end of the tables on the stack. In fixed versions the unused second pass is no longer read into those tables.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
More in Libreoffice
View allLibreOffice is typically bundled with LibreLogo, a programmable turtle vector graphics script, which can execute arbitra
Integer underflow in LibreOffice before 4.4.5 and Apache OpenOffice before 4.1.2, when the configuration setting "Load p
LibreOffice before 4.4.6 and 5.x before 5.0.1 and Apache OpenOffice before 4.1.2 allows remote attackers to cause a deni
LibreOffice before 5.4.5 and 6.x before 6.0.1 allows remote attackers to read arbitrary files via =WEBSERVICE calls in a
In the LibreOffice 7-1 series in versions prior to 7.1.2, and in the 7-0 series in versions prior to 7.0.5, the denylist
Integer overflow in filter/source/msfilter/msdffimp.cxx in OpenOffice.org (OOo) 3.3, 3.4 Beta, and possibly earlier, and
An information disclosure vulnerability occurs when LibreOffice 6.0.3 and Apache OpenOffice Writer 4.1.5 automatically p
Apache OpenOffice before 4.1.1 allows remote attackers to execute arbitrary commands and possibly have other unspecified
Integer overflow in LibreOffice before 4.4.5 and Apache OpenOffice before 4.1.2 allows remote attackers to cause a denia
LibreOffice 4.2.4 executes unspecified VBA macros automatically, which has unspecified impact and attack vectors, possib
Redland Raptor (aka libraptor) before 2.0.7, as used by OpenOffice 3.3 and 3.4 Beta, LibreOffice before 3.4.6 and 3.5.x
LibreOffice before 2017-03-11 has an out-of-bounds write caused by a heap-based buffer overflow in the SVMConverter::Imp
Same weakness CWE-787 – Out-of-bounds Write
View allSame technique Buffer Overflow
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| SUSE Linux Enterprise Desktop 15 SP7 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Workstation Extension 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP5 | Affected |
| SUSE Linux Enterprise Server 15 SP6 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE Linux Enterprise Desktop 15 SP5 | Affected |
| SUSE Linux Enterprise Desktop 15 SP6 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Affected |
| SUSE Linux Enterprise Workstation Extension 15 SP5 | Affected |
| SUSE Linux Enterprise Workstation Extension 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-36738
GHSA-8r7p-3qw5-wxm5
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB