Home › CVE › Vulnerabilities
CVE-2026-18566 — The Document Foundation LibreOffice
One of 24 The Document Foundation LibreOffice vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesSummary
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.
Severity breakdown
Medium · 5.4
An attacker without an account can exploit this with local access if a user views or visits something.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- yes, a user must view or visit something
- Impact
- high on availability, low on confidentiality, none on integrity
- Impact on other systems
- none
- Exploit maturity
- a proof-of-concept exploit is public
Weakness
- CWE-125: Out-of-bounds Read
- CWE-191: Integer Underflow (Wrap or Wraparound)
- CWE-476: NULL Pointer Dereference
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| The Document Foundation LibreOffice | ≥ 26.2, < < 26.2.6 | < 26.2.6 |
References by type
Other references
Affected
- The Document Foundation LibreOffice
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-18566?
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. Weakness type: Out-of-bounds Read (CWE-125).
How severe is CVE-2026-18566?
CVE-2026-18566 has a CVSS 4.0 base score of 5.4 (medium), from the CNA (documentfoundation.org). An attacker without an account can exploit this with local access if a user views or visits something.
Is CVE-2026-18566 being exploited?
Not as far as is known: CVE-2026-18566 is not in CISA's Known Exploited Vulnerabilities catalog as of November 30, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-18566?
The Document Foundation LibreOffice ≥ 26.2, < < 26.2.6 (fixed in < 26.2.6).
How do I fix CVE-2026-18566?
Update to a fixed release: The Document Foundation LibreOffice < 26.2.6.