CVE-2026-63276

Stack buffer overflow in CFF to Type 1 font conversion

Published Sep 22, 2026 CVSS 4.0 · 5.4 Medium EPSS < 1% KEV · Not listed
Description
LibreOffice converts CFF fonts to Type 1 when it subsets a font, which happens when a document is exported to PDF, and CFF fonts may be embedded in documents. A stack buffer overflow existed in that conversion. The converted operators were written into a fixed size buffer with no check that they still fit, so a glyph emitting many operators wrote past the end of the buffer. In fixed versions the remaining capacity is tracked and the conversion stops when it is used up.

Analysis

AI-generated

Technical impact

LibreOffice performs a conversion of CFF fonts to Type 1 when a document is subset for PDF export. During this conversion the glyph operators were written into a fixed-size buffer with no bounds checking. A glyph emitting many operators therefore writes past the end of the buffer, corrupting the stack and creating an opportunity for arbitrary code execution or denial of service. The weakness is a classic stack buffer overflow (CWE-787).

Affected Systems

The vulnerability affects all editions of LibreOffice from the Document Foundation that have not applied the published patch. The fixed versions include a tracking mechanism that stops the conversion once the buffer is full, preventing the overflow. No specific sub-versions are listed, so users of any older release should treat the package as vulnerable until updated.

Risk and Exploitability

The CVSS score of 5.4 indicates moderate severity. The EPSS score is < 1%, which suggests a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog, indicating it has not yet been widely exploited. The likely attack vector is the processing of an untrusted document that contains embedded CFF fonts and is subsequently exported to PDF, triggering the conversion routine. Because the overflow occurs on the stack, a successful exploit could lead to arbitrary code execution or denial of service, but no proof of exploitation is reported in the public advisories.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update LibreOffice to the latest release that includes the buffer-overflow fix.
  • If an upgrade is not immediately possible, avoid opening documents containing embedded CFF fonts from untrusted sources and refrain from exporting such documents to PDF until the patch is applied.
  • Disable the font-subsetting feature in LibreOffice’s settings before exporting to PDF to eliminate the conversion path that triggers the vulnerability.

Generated by OpenCVE AI on September 24, 2026 at 02:26 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
Weaknesses CWE-121
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/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 converts CFF fonts to Type 1 when it subsets a font, which happens when a document is exported to PDF, and CFF fonts may be embedded in documents. A stack buffer overflow existed in that conversion. The converted operators were written into a fixed size buffer with no check that they still fit, so a glyph emitting many operators wrote past the end of the buffer. In fixed versions the remaining capacity is tracked and the conversion stops when it is used up.
Title Stack buffer overflow in CFF to Type 1 font conversion
Weaknesses 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:21 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