medium5.4
CVE-2026-18566
LibreOffice can import EMF, EMF+ and WMF images, which may be embedded in documents. Several out...
Impact
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.
An attacker can exploit this with local access to the system, without logging in, but a user has to be involved, for example by viewing content. If it succeeds: low risk of data being read, high risk of outages.
Affected products · The Document Foundation
| Product | Affected versions |
|---|---|
| LibreOffice | from 26.2 before < 26.2.6 Version 26.2 << 26.2.6 |