---
id: "CVE-2026-18566"
page: "https://infrastack.ai/live/CVE-2026-18566"
kind: "vulnerability"
aliases: ["CVE-2026-18566"]
title: "LibreOffice: crafted EMF and WMF images can read memory out of bounds"
severity: "medium"
cvss: 5.4
epss: null
exploited: false
status: "open"
category: "other"
products: [{"name": "LibreOffice", "fixed": [], "affected": "", "ecosystem": "vendor"}]
ecosystems: ["vendor"]
tags: ["libreoffice", "office-documents", "other"]
not_affected_if: ["no-untrusted-documents"]
published_at: "2026-11-16T17:17:33+00:00"
first_seen_at: "2026-11-16T17:37:56+00:00"
updated_at: "2026-11-16T17:39:11+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-18566", "first_seen_at": "2026-11-16T17:37:56+00:00"}]
exploit_sources: []
---

# LibreOffice: crafted EMF and WMF images can read memory out of bounds

Link for people: https://infrastack.ai/live/CVE-2026-18566 (this .md is for agents)

LibreOffice's readers for EMF, EMF+ and WMF image formats do not check sizes, counts and offsets taken from an image against the data it holds, so a crafted image embedded in a document causes out-of-bounds reads. An attacker gets reads of memory beyond the intended buffers, which can leak data or crash the program.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- vendor:LibreOffice affected range not listed fixed no fixed version listed

## Timeline

- 2026-11-16T17:37:56+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-18566

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
