CVE-2026-18566: Out-of-bounds read in EMF, EMF+ and WMF image import

Published Nov 16, 2026
·
Updated

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 Software

1 affected component
The Document Foundation LibreOffice

Event History

Nov 16, 2026
CVE Published
via MITRE·04:40 PM
Data Sourced
via MITRE·04:40 PM
DescriptionWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Users who open documents containing embedded EMF, EMF+, or WMF images are exposed. The crafted image may be part of a document rather than supplied as a standalone image file.

2

What does an attacker need to exploit it?

An attacker needs to provide a crafted EMF, EMF+, or WMF image with malformed sizes, counts, or offsets that do not match the image data. Exploitation requires LibreOffice to import or process that image.

3

How can I reduce exposure if I cannot update immediately?

Avoid opening untrusted documents or image files that may contain EMF, EMF+, or WMF content. Treat documents from unknown or untrusted sources as potentially carrying malformed embedded images.

4

How do fixed versions handle malformed image records?

Fixed versions validate sizes, counts, and offsets against each record's size and the remaining available data. Records that fail those checks are not used.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203