CVE 5.4 MEDIUM

Heap buffer overflow in EMF+ gradient brush import_CVE-2026-6045

5.4 / 10
MEDIUM
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

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.

Basic Information

ID CVE-2026-6045
Source Document Fdn.
Published Jun 15, 2026 at 16:22

Affected Product

Vendor The Document Foundation
Product LibreOffice
Version 25.8
Affected Versions The Document Foundation LibreOffice 25.8
The Document Foundation LibreOffice 26.2

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.