CVE-2026-6047CWE-787CWE-843

Heap buffer overflow in OOXML text box element import

Medium · published June 15, 2026

CVSS v4.0
5.4
EPSS
0%
Percentile
5.7
In the wild
Unconfirmed
What it is

LibreOffice can import documents in the OOXML format (DOCX). A heap buffer overflow existed when replaying deferred parser events for a text box element. A handler object was assumed to be of one type and written to at that type's field layout, but it could be a smaller object, so the write landed past the end of the allocation. In fixed versions the type is checked before the write.

The record
Technical detail
CVSS v4.0
5.4 · MEDIUM
Vector
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
EPSS
0.00167 · 5.7th percentile
Weaknesses
CWE-787 · Out-of-bounds Write; CWE-843 · Access of Resource Using Incompatible Type ('Type Confusion')
Published
2026-06-15T16:22Z
EPSS history
Timeline
  • 15 JUN 16:22Z
    Heap buffer overflow in OOXML text box element import
    cvelistv5