Skip to content
OpenAdvisories
Medium · 5.4 CVE-2026-6047 EUVD-2026-36737GHSA-wq72-h3fh-w757

Heap buffer overflow in OOXML text box element import

Published Jun 15, 2026 · Updated Jun 15, 2026 · Assigned by Document Fdn.

Description

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.

Affected products

VendorProductAffectedFixed
The Document Foundation LibreOffice 25.8 – < < 25.8.7, 26.2 – < < 26.2.3 < 25.8.7

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libreoffice 4:26.2.3.2-2 —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS libreoffice 4:26.2.4.2-0ubuntu0.26.04.2 —
ReleasePackageFixed inAdvisory
SLES 15 SP7 libreoffice 26.2.5.1-150500.20.37.1 SUSE-SU-2026:3140-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 libreoffice 26.8.1.1-bp160.1.1 openSUSE-SU-2026:22216-1

Advisories 3

References