Back to overview

CVE-2026-6045

MEDIUM
5.4
CVSS 4.0
Description
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.

Metadata

CVE ID
CVE-2026-6045
State
PUBLISHED
Assigner
Document Fdn.
Reserved
2026-04-09 19:07 UTC
Published
2026-06-15 16:22 UTC
Last updated
2026-06-15 18:13 UTC
Primary CWE
CWE-787
CWE-787 Out-of-bounds Write
Vendor / Product
The Document Foundation / LibreOffice
Sources
cve.org  ·  NVD

Severity & Metrics

5.4 MEDIUM CVSS 4.0
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
SSVC — CISA Coordinator
Exploitation
none
Automatable
no
Tech. Impact
partial
Affected products (1)
VendorProductPlatformVersions
The Document Foundation LibreOffice 25.8 < < 25.8.7, 26.2 < < 26.2.3
Weakness (CWE)
CWESourceDescription
CWE-190 cna CWE-190 Integer Overflow or Wraparound
CWE-787 cna CWE-787 Out-of-bounds Write
CVSS scores (1)
ScoreSeverityVersionSourceVector
5.4 MEDIUM 4.0 cna 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
Back to overview