CVE-2026-6045
MEDIUMThe Document Foundation LibreOffice - Heap Buffer Overflow in EMF+ Gradient Brush Import
Title source: ruleDescription
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.
References (1)
Core 1
Scores
CVSS v4
5.4
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-190
CWE-787
Status
published
Products (2)
The Document Foundation/LibreOffice
25.8 - < 25.8.7
The Document Foundation/LibreOffice
26.2 - < 26.2.3
Published
Jun 15, 2026
Tracked Since
Jun 15, 2026