Description
LibreOffice can import WMF graphics, which may be embedded in documents. A heap buffer overflow existed when importing a text record that carries its own character advance widths. The count of advance values and the length of the text were read separately from the file and were not required to agree, so drawing the text walked the advance array by character position and ran past its end when the array was the shorter of the two. In fixed versions an advance array shorter than its text is ignored.
Published: 2026-09-22
Score: 5.4 Medium
EPSS: n/a
KEV: No
Impact: Heap buffer overflow causing heap memory corruption during WMF import
Action: Apply Patch
AI Analysis

Impact

LibreOffice can import WMF graphics, which may be embedded in documents. A heap buffer overflow occurs when the program processes a text record that carries its own character advance widths. The count of advance values and the length of the text are read separately and are not required to agree. When the advance array is shorter than the text, the drawing routine walks past its bounds, corrupting heap memory. This memory corruption can cause the application to crash or otherwise behave unpredictably, but the description does not indicate that arbitrary code execution is possible.

Affected Systems

The affected product is LibreOffice, the open‑source office suite from The Document Foundation. The advisory does not list specific revision numbers, so any LibreOffice installation that still contains the legacy WMF import code is susceptible. Users should verify that their installed version incorporates the change that ignores an advance array shorter than the text.

Risk and Exploitability

The CVSS score of 5.4 indicates a medium severity vulnerability. The EPSS score is not available, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog, suggesting no publicly known active exploitation. The likely attack surface is local: an attacker can craft a document containing a malicious WMF file and deliver it to a user or automated process that opens it in LibreOffice. Because the heap corruption is limited to the application space and no remote network access is implied, the risk remains moderate unless additional conditions allow further exploitation.

Generated by OpenCVE AI on September 22, 2026 at 12:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Install the latest LibreOffice release that includes the WMF text record import fix.
  • Avoid opening documents that contain WMF graphics from untrusted sources until the update is applied.
  • If a patch cannot be immediately installed, disable WMF import or file type associations in LibreOffice settings to prevent the vulnerable code from executing.

Generated by OpenCVE AI on September 22, 2026 at 12:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 22 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 22 Sep 2026 11:30:00 +0000

Type Values Removed Values Added
Description LibreOffice can import WMF graphics, which may be embedded in documents. A heap buffer overflow existed when importing a text record that carries its own character advance widths. The count of advance values and the length of the text were read separately from the file and were not required to agree, so drawing the text walked the advance array by character position and ran past its end when the array was the shorter of the two. In fixed versions an advance array shorter than its text is ignored.
Title Heap buffer overflow in WMF text record import
Weaknesses CWE-125
CWE-787
References
Metrics cvssV4_0

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Document Fdn.

Published:

Updated: 2026-09-22T12:28:29.813Z

Reserved: 2026-07-16T08:17:05.511Z

Link: CVE-2026-63272

cve-icon Vulnrichment

Updated: 2026-09-22T12:28:21.895Z

cve-icon NVD

Status : Received

Published: 2026-09-22T12:17:11.853

Modified: 2026-09-22T13:17:10.180

Link: CVE-2026-63272

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-22T13:00:14Z

Weaknesses