Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted DOCX via email/download
-
DeliveryVictim opens file in LibreOffice
-
ExploitOOXML parser queues deferred events for text box element
-
ExecutionEvent replay casts handler to wrong larger type
-
PersistWrite lands past end of heap allocation
-
ImpactMemory corruption causes crash or controlled overwrite
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 a victim to open a maliciously crafted DOCX (OOXML format) file in a vulnerable version of LibreOffice - passive user interaction (UI:P) is the sole prerequisite. No authentication, no elevated privileges, and no special LibreOffice configuration are required; the default OOXML import functionality is sufficient to trigger the flaw. The attack vector is local (AV:L), meaning the DOCX file must be present on the local filesystem or accessible to the LibreOffice process at open time, but it can be delivered remotely via email attachment, web download, or shared drive. The limiting factors are: (1) the victim must actively open the malicious file, (2) the vulnerability is specific to text box elements within OOXML documents - benign DOCX files without specially structured text boxes will not trigger it, and (3) the impact is primarily availability (crash); escalation to arbitrary code execution depends on heap layout and exploit sophistication beyond POC stage. |
| Impact | The CVSS 4.0 base score of 5.4 (Medium) reflects a local attack vector (AV:L) requiring passive user interaction (UI:P), which moderates real-world reach compared to a fully remote, no-interaction flaw. However, the impact profile is asymmetric: VA:H indicates near-certain availability loss (crash), while VC:L and VI:L suggest limited but non-zero memory disclosure and integrity risk - consistent with a heap OOB write that may be partially controllable. The E:P supplemental metric confirms a proof-of-concept exploit exists, elevating concern beyond theoretical. No CISA KEV listing means no confirmed in-the-wild exploitation, but POC availability narrows the gap. EPSS data was not provided, so exploitation probability cannot be quantitatively stated. The local vector means exploitation requires delivering the malicious DOCX to a victim who then opens it - a realistic phishing or watering-hole scenario. For organizations where LibreOffice is used to open untrusted documents (e.g., finance, legal, public-sector desktops), this is a genuine patching priority given POC existence. No CVSS vector conflict detected: AV:L is consistent with a document-processing flaw requiring local file access. |
| Exploit ScenarioDerived | An attacker crafts a malicious DOCX file containing a specially structured text box element designed to trigger the type confusion during OOXML import. The file is delivered via email attachment or download link; when a victim opens it in LibreOffice, the deferred parser event replay writes past the end of a heap allocation, causing a crash or potentially enabling controlled memory corruption. A proof-of-concept exploit exists (E:P), meaning the mechanics of triggering the overflow have been demonstrated publicly. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 15, 2026
Heap buffer overflow in LibreOffice's OOXML (DOCX) import component allows a specially crafted document to corrupt memory when processing text box elements, with high availability impact and limited confidentiality and integrity exposure. The flaw stems from a type confusion during deferred parser event replay: a handler object assumed to be a larger type is written to at that type's field layout, but the actual object may be smaller, causing the write to land past the end of the heap allocation. A proof-of-concept exploit exists (CVSS 4.0 E:P); no confirmed active exploitation is recorded in CISA KEV at time of analysis.
RemediationAI
The primary remediation is to upgrade to the patched LibreOffice version released by The Document Foundation, which introduces a type check before the handler object write in the OOXML deferred event replay path. The exact fixed version number was not independently confirmed from available data - consult the vendor advisory at https://www.libreoffice.org/about-us/security/advisories/cve-2026-6047 for the precise upgrade target. If immediate patching is not feasible, a targeted workaround is to disable or restrict macro-enabled and complex OOXML document processing: configure LibreOffice to warn before opening OOXML files from untrusted sources, or block DOCX attachments at the mail gateway for high-risk user populations. This limits exposure but does not eliminate risk for users who need to open DOCX files. Sandboxing LibreOffice processes (e.g., via AppArmor or Firejail on Linux) can reduce the blast radius of a successful heap corruption to the sandboxed process rather than the host system.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
LibreOffice's OOXML import pipeline uses a deferred event model to handle complex document structures - events are queued and replayed later during parsing. The vulnerability (CWE-787: Out-of-bounds Write) occurs specifically when replaying deferred events for text box elements: the code casts a handler object to an assumed type and writes to fields at that type's memory layout offsets, but the actual runtime object may be a smaller subtype, so the write overshoots the allocation boundary on the heap. This is a classic object type confusion leading to OOB write. The affected product is identified via CPE cpe:2.3:a:the_document_foundation:libreoffice:*:*:*:*:*:*:*:*, with no version boundary pinned in the NVD CPE, implying a broad but unspecified range. The fix adds a type check before the write, confirming the root cause is missing runtime type validation rather than an arithmetic error.
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
Local file open triggers the flaw (AV:L); no privileges needed (PR:N); user must open document (UI:R); heap OOB write yields high availability loss and limited C/I impact.
AV:L/AC:L/PR:L/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 documents in the OOXML format (DOCX). A heap buffer overflow existed when replaying deferred parser events for a text box element. A handler object was assumed to be of one type and written to at that type's field layout, but it could be a smaller object, so the write landed past the end of the allocation. In fixed versions the type is checked before the write.
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-36737
GHSA-wq72-h3fh-w757
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB