Skip to main content
← All vulnerabilities
CVE-2026-6045

Heap buffer overflow in EMF+ gradient brush import

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in < 25.8.7, < 26.2.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • The Document Foundation LibreOffice

    From 25.8 · fixed in < 25.8.7; From 26.2 · fixed in < 26.2.3

References 1

libreoffice.org