CVE-2026-18563: Out-of-bounds write in CFF font conversion during PDF export

Published Nov 16, 2026
·
Updated

LibreOffice supports fonts embedded in documents. When a document is exported to PDF, the fonts it uses are embedded in the PDF, and a font in CFF (Compact Font Format) is converted to another font format on the way. An out-of-bounds write existed when the charstring program of a crafted font was interpreted, because some indexes and ranges taken from the font were not checked against the size of the data they refer to. In fixed versions these indexes and ranges are checked, and a font that fails the checks is not converted.

Affected Software

1 affected component
The Document Foundation LibreOffice

Event History

Nov 16, 2026
CVE Published
via MITRE·04:40 PM
Data Sourced
via MITRE·04:40 PM
DescriptionWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Users of LibreOffice who export a document containing an embedded crafted CFF font to PDF are exposed. The vulnerable font conversion occurs during PDF export, not merely from having the font present in a document.

2

What does an attacker need to do to trigger the flaw?

An attacker would need to provide a document with an embedded CFF font whose charstring program contains indexes or ranges that refer outside the relevant font data. The crafted font must then be processed during PDF export.

3

What can be done if updates cannot be applied immediately?

Avoid exporting untrusted documents to PDF when they may contain embedded fonts, particularly CFF fonts. Treat documents received from untrusted sources as potentially dangerous until they can be handled with a fixed LibreOffice version.

4

How do fixed versions handle malformed fonts?

Fixed versions validate the indexes and ranges used while interpreting the CFF font charstring program. A font that fails those checks is not converted during PDF export.

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