Skip to content
OpenAdvisories
Medium · 5.4 CVE-2026-63272 EUVD-2026-84352GHSA-c374-v965-jr6c

Heap buffer overflow in WMF text record import

Published Sep 22, 2026 · Updated Sep 22, 2026 · Assigned by Document Fdn.

Description

LibreOffice can import WMF graphics, which may be embedded in documents. A heap buffer overflow existed when importing a text record that carries its own character advance widths. The count of advance values and the length of the text were read separately from the file and were not required to agree, so drawing the text walked the advance array by character position and ran past its end when the array was the shorter of the two. In fixed versions an advance array shorter than its text is ignored.

Affected products

VendorProductAffectedFixed
The Document Foundation LibreOffice 26.2 – < < 26.2.5 < 26.2.5

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.5.2-1 —
Debian 13 libreoffice 4:25.2.3-2+deb13u7 —
Debian 12 libreoffice No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS libreoffice 4:26.2.6.3-0ubuntu0.26.04.2 USN-8868-1
Ubuntu 24.04 LTS libreoffice 4:24.2.7-0ubuntu0.24.04.7 USN-8868-1
Ubuntu 22.04 LTS libreoffice 1:7.3.7-0ubuntu0.22.04.13 USN-8868-1
Ubuntu 20.04 LTS libreoffice No fix yet —

Advisories 2

References