CVE-2026-6045
Description
Heap buffer overflow in LibreOffice's EMF+ gradient brush import could allow memory corruption when opening a crafted document.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Heap buffer overflow in LibreOffice's EMF+ gradient brush import could allow memory corruption when opening a crafted document.
Vulnerability
A heap buffer overflow exists in LibreOffice's import of EMF+ gradient brushes. The number of gradient blend points is read from the file and used to compute an allocation size. A multiplication overflow can cause a small buffer to be allocated, which is then filled with data as if it were larger, resulting in a write past the buffer's end. Affected versions are those before LibreOffice 26.2.3 and 25.8.7 [1].
Exploitation
An attacker can embed a crafted EMF+ gradient brush in a document. The vulnerability is triggered when a user opens the document in LibreOffice. No special privileges are required; the attacker simply needs to deliver the malicious file to the victim [1].
Impact
The heap buffer overflow leads to memory corruption. This could potentially allow an attacker to cause a crash or execute arbitrary code with the privileges of the user running LibreOffice [1].
Mitigation
The vulnerability is fixed in LibreOffice 26.2.3 and 25.8.7 [1]. Users should upgrade to these or later versions. No workaround is available.
AI Insight generated on Jun 15, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
1News mentions
0No linked articles in our index yet.