Bug 2488957 (CVE-2026-6045) - CVE-2026-6045 libreoffice: LibreOffice: Heap buffer overflow via crafted EMF+ graphics import
Summary: CVE-2026-6045 libreoffice: LibreOffice: Heap buffer overflow via crafted EMF+...
Keywords:
Status: NEW
Alias: CVE-2026-6045
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-15 18:01 UTC by OSIDB Bzimport
Modified: 2026-06-16 12:25 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-15 18:01:19 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.