CVE-2026-63272

Heap buffer overflow in WMF text record import

Published Sep 22, 2026 CVSS 4.0 · 5.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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

Source ID Title
Debian DSA Debian DSA DSA-6512-1 libreoffice security update
Ubuntu USN Ubuntu USN USN-8868-1 LibreOffice vulnerabilities
History
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.6, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared The Document Foundation
The Document Foundation libreoffice
Vendors & Products The Document Foundation
The Document Foundation libreoffice
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Document Fdn.
Published
Updated
Sep 22, 2026, 12:28 PM
Reserved
Jul 16, 2026, 8:17 AM
Status
Deferred
Published
Sep 22, 2026, 12:17 PM
Modified
Sep 22, 2026, 7:09 PM
Severity
Moderate
Public date
Sep 22, 2026, 11:10 AM