CVE-2026-18566

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

Published Nov 16, 2026 CVSS 4.0 · 5.4 Medium EPSS n/a KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title Out-of-bounds read in EMF, EMF+ and WMF image import
Weaknesses CWE-125
CWE-191
CWE-476
References
Metrics cvssV4_0

{'score': 5.4, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/E:P'}

Subscriptions

No data.

Weaknesses
  • CWE-125

    Out-of-bounds Read

  • CWE-191

    Integer Underflow (Wrap or Wraparound)

  • CWE-476

    NULL Pointer Dereference

Sources

Status
PUBLISHED
Assigner
Document Fdn.
Published
Updated
Nov 16, 2026, 4:40 PM
Reserved
Aug 1, 2026, 7:50 PM

No data.