CVE-2026-6045 Affecting libreoffice package, versions <4:26.2.4.2-0ubuntu0.26.04.2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.12% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2604-LIBREOFFICE-17340460
  • published14 Jul 2026
  • disclosed15 Jun 2026

Introduced: 15 Jun 2026

CVE-2026-6045  (opens in a new tab)

How to fix?

Upgrade Ubuntu:26.04 libreoffice to version 4:26.2.4.2-0ubuntu0.26.04.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libreoffice package and not the libreoffice package as distributed by Ubuntu. See How to fix? for Ubuntu:26.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1