Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft document with malicious EMF+ gradient brush blend point count
-
DeliveryDeliver via phishing email or malicious download
-
ExploitVictim opens document in LibreOffice
-
ExecutionInteger overflow in blend point multiplication computes undersized allocation
-
PersistOut-of-bounds write corrupts adjacent heap memory
-
ImpactProcess crash or arbitrary code execution in user session
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 | The victim must open a LibreOffice document embedding an EMF+ graphic that contains a gradient brush with a crafted blend point count engineered to overflow on multiplication. No non-default LibreOffice configuration is required - EMF+ import is a built-in standard capability active in default installations. User interaction is mandatory: the malicious file must be opened by the target. The local attack vector (AV:L) means the attacker cannot trigger this remotely without first delivering the document through email, messaging, or a download. Escalation from heap corruption to reliable controlled code execution requires additional exploitation effort beyond the initial overflow; a crash is the minimum guaranteed outcome. There are no authentication barriers in the traditional network sense - any user with access to LibreOffice and the ability to open a file is a viable target regardless of privilege level. |
| Impact | The CVSS 4.0 score of 5.4 (Medium) appropriately reflects meaningful constraints on exploitability: AV:L (local attack vector) requires the malicious file to execute within a user session rather than arriving as a pure network exploit, and UI:P mandates that the victim actively open the document. Availability impact is High (VA:H), consistent with a reliable process crash; confidentiality and integrity are both Low (VC:L/VI:L), reflecting that heap corruption may expose adjacent memory content or allow limited writes but controlled code execution is non-trivial. The E:P supplemental metric confirms a proof of concept exists, elevating practical risk above a theoretical-only flaw and reducing the skill threshold for reproducing the crash. No CISA KEV listing is present, indicating no confirmed widespread active exploitation at time of analysis. EPSS data was not provided. A key data gap is the absence of a specific patched version number in the available data; defenders must consult the vendor advisory for definitive version guidance. Overall risk priority is moderate: high for organizations whose users routinely open documents from untrusted sources, and substantially lower where document-vetting or sandboxing controls are in place. |
| Exploit ScenarioDerived | An attacker crafts an ODT, DOCX, or presentation file embedding an EMF+ gradient brush whose blend point count is set to a value that, when multiplied by the element size, overflows to produce a small integer - causing LibreOffice to allocate a heap buffer far smaller than the data it writes into it. The attacker delivers the file via a phishing email or malicious download and persuades the victim to open it; upon rendering the EMF+ content LibreOffice overwrites adjacent heap memory, at minimum crashing the process and potentially enabling arbitrary code execution within the user's session. A proof of concept exists, reducing the skill required to reproduce the crash and develop further exploitation. |
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 EMF+ graphics importer enables memory corruption when a user opens a specially crafted document containing a malicious gradient brush. The root cause is an integer overflow in the multiplication used to compute a heap allocation size from an attacker-controlled gradient blend point count - resulting in an undersized buffer that is subsequently written as if it were full-sized. A proof of concept exists (CVSS 4.0 E:P supplemental metric), no confirmed active exploitation is recorded, and impact spans process crash to potential arbitrary code execution within the LibreOffice session.
RemediationAI
Upgrade LibreOffice to the fixed version identified in the vendor advisory at https://www.libreoffice.org/about-us/security/advisories/cve-2026-6045; the fix introduces a bounds check that validates the gradient blend point count against the data actually available in the EMF+ stream before computing the allocation size. An exact patched version number was not included in the data provided for this analysis and must be confirmed directly from the advisory before deployment. Where immediate patching is not feasible, configure email gateway and web proxy policies to quarantine or strip documents embedding OLE or EMF content from untrusted or external senders - note that this may disrupt legitimate document workflows involving graphics-rich files. Opening untrusted documents inside a disposable virtual machine or a sandboxed environment (such as LibreOffice Online in an isolated container) is the most actionable compensating control, limiting blast radius to the sandbox. There is no documented LibreOffice configuration switch to disable EMF+ rendering in isolation, so disabling the feature at the application level is not a readily available mitigation.
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
Enhanced Metafile Plus (EMF+) is a Microsoft graphics format embeddable within documents LibreOffice imports, including ODT, DOCX, and presentation formats. During EMF+ gradient brush parsing, LibreOffice reads a blend point count from the file and multiplies it by the element size to compute a heap allocation. When that multiplication overflows - producing a wrap-around value smaller than the actual data - LibreOffice allocates a small buffer but subsequently fills it as though it were large, writing past the end of the allocation. This is a textbook CWE-787 (Out-of-bounds Write) rooted in an unchecked integer multiplication, a subclass of CWE-190 (Integer Overflow). The fix validates the blend point count against the quantity of data actually present in the file before allocating, preventing the overflow condition. The affected CPE cpe:2.3:a:the_document_foundation:libreoffice:*:*:*:*:*:*:*:* covers all LibreOffice versions from The Document Foundation prior to the patch.
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
Document-based delivery requires local file open and user action (AV:L, UI:R); heap overflow yields reliable crash (A:H) with limited memory exposure and write primitives (C:L/I:L).
AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
Primary rating from Vendor (Document Fdn.).
CVSS VectorVendor: Document Fdn.
Lifecycle Timeline
2DescriptionCVE.org
LibreOffice can import EMF+ graphics, which may be embedded in documents. A heap buffer overflow existed when importing an EMF+ gradient brush. The number of gradient blend points was read from the file and used to compute an allocation size, but that multiplication could overflow, so a small buffer was allocated and then filled as if it were large, writing past its end. In fixed versions the blend-point count is checked against the data actually available before allocating.
Zero Day Initiative Advisories
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-36736
GHSA-mc63-87jp-8648
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB