Skip to content
Fencer Vulns
medium 5.4

CVE-2026-6045 json

Heap buffer overflow in EMF+ gradient brush import

published 2026-06-15 4 mo ago modified 2026-10-25 14 d ago also EUVD-2026-36736

cvss
5.4
version 4.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 10%
public exploits
0
none known

Summary

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.

Patch / fix

  • The Document Foundation LibreOffice < 25.8.7, < 26.2.3
  • libreoffice Debian 12 4:7.4.7-1+deb12u13
  • libreoffice Debian 13 4:25.2.3-2+deb13u5
  • libreoffice Debian 14 4:26.2.3.2-2

debian advisories DEBIAN-CVE-2026-6045

  • libreoffice Ubuntu 22.04 LTS 1:7.3.7-0ubuntu0.22.04.12
  • libreoffice Ubuntu 24.04 LTS 4:24.2.7-0ubuntu0.24.04.6
  • libreoffice Ubuntu 26.04 LTS 4:26.2.4.2-0ubuntu0.26.04.2

ubuntu advisories UBUNTU-CVE-2026-6045

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libreoffice SLE Workstation Extension 15 SP7, SLE Module for Package Hub 15 SP7 26.2.5.1-150500.20.37.1

suse advisories SUSE-SU-2026:3140-1

  • libreoffice openSUSE Leap 16.0 26.8.1.1-bp160.1.1

opensuse advisories openSUSE-SU-2026:22216-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-6045 updated cvss 6.6

libreoffice: LibreOffice: Heap buffer overflow via crafted EMF+ graphics import

  • Red Hat Enterprise Linux 6 autocorr-af, autocorr-bg, autocorr-ca, autocorr-cs, autocorr-da, autocorr-de, +60 more Red Hat Enterprise Linux 7 autocorr-af, autocorr-bg, autocorr-ca, autocorr-cs, autocorr-da, autocorr-de, +105 more
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 autocorr-af, autocorr-bg, autocorr-ca, autocorr-cs, autocorr-da, autocorr-de, +98 more Red Hat Enterprise Linux 9 autocorr-af, autocorr-bg, autocorr-ca, autocorr-cs, autocorr-da, autocorr-de, +101 more
    affected: workaround, no fix available “Fix deferred”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
4 mo ago

Exploit prediction

0.21% chance of exploitation in the next 30 days, higher than 10% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 4.0 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
CNA 4.0 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

Affected products

  • The Document Foundation LibreOffice

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.