CVE-2026-6045CWE-190CWE-787

Heap buffer overflow in EMF+ gradient brush import

Medium · published June 15, 2026

CVSS v4.0
5.4
EPSS
0%
Percentile
5.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
5.4 · MEDIUM
Vector
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
EPSS
0.00167 · 5.7th percentile
Weaknesses
CWE-190 · Integer Overflow or Wraparound; CWE-787 · Out-of-bounds Write
Published
2026-06-15T16:22Z
EPSS history
Timeline
  • 15 JUN 16:22Z
    Heap buffer overflow in EMF+ gradient brush import
    cvelistv5