CVE-2026-6045

ZDI-26-781 · ZDI-CAN-29452 · published 15 Jun 2026 · updated 21 Oct 2026

Heap buffer overflow in EMF+ gradient brush import

5.4MediumCVSS 5.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in < 25.8.7 and < 26.2.3.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
The Document Foundation>=25.8 << 25.8.7, >=26.2 << 26.2.3< 25.8.7, < 26.2.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-6045 severity on Zeptric[![CVE-2026-6045](https://zeptric.io/badge/cve/CVE-2026-6045.svg)](https://zeptric.io/cve/CVE-2026-6045)