CVE-2026-63272: Heap buffer overflow in WMF text record import

Published Sep 22, 2026
·
Updated

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.

Affected Software

1 affected component
The Document Foundation LibreOffice

Event History

Sep 22, 2026
CVE Published
via MITRE·11:10 AM
Data Sourced
via MITRE·11:10 AM
DescriptionWeakness
Data Sourced
via NVD·12:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which LibreOffice users are exposed?

Users who import WMF graphics are exposed, including when WMF graphics are embedded in documents.

2

What does a malicious file need to contain to trigger the issue?

It must contain a WMF text record with character advance widths whose declared count is shorter than the text length. Processing the text can then read beyond the end of the advance array.

3

What is the available mitigation if affected files cannot be trusted?

Use a fixed LibreOffice version. In fixed versions, an advance-width array that is shorter than its associated text is ignored.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203