Skip to content
OpenAdvisories
Medium · 5.4 CVE-2026-18566 EUVD-2026-126518GHSA-x36v-72m8-7j6w

Out-of-bounds read in EMF, EMF+ and WMF image import

Published Nov 16, 2026 · Updated Nov 17, 2026 · Assigned by Document Fdn.

Description

LibreOffice can import EMF, EMF+ and WMF images, which may be embedded in documents. Several out-of-bounds reads existed in the readers for these formats, because sizes, counts and offsets taken from a crafted image were not checked against the data the image actually holds. In fixed versions these values are checked against the size of each record and the data that remains, and a record that fails the checks is not used.

Affected products

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

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.2.2-3 —
Debian 13 libreoffice 4:25.2.3-2+deb13u12 DSA-6635-1
Debian 12 libreoffice No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libreoffice No fix yet —
Ubuntu 26.04 LTS libreoffice No fix yet —
Ubuntu 24.04 LTS libreoffice No fix yet —
Ubuntu 22.04 LTS libreoffice No fix yet —
Ubuntu 20.04 LTS libreoffice No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libreoffice 26.8.3.1-1.1 openSUSE-SU-2026:12666-1

Advisories 2

References