CVE-2026-63274

Heap buffer overflow in PDF import stream handling

Published Sep 22, 2026 CVSS 4.0 · 5.4 Medium EPSS < 1% KEV · Not listed
Description
LibreOffice Draw can import PDF documents. A heap buffer overflow existed when importing a stream object. The length of the stream was taken from the object's own dictionary and was not checked against the number of bytes actually present, so copying the stream read and wrote past the end of the buffer holding it. In fixed versions the declared length is clamped to the bytes actually read.

Analysis

AI-generated

Technical impact

LibreOffice Draw can import PDF documents. When a stream object is imported, the length of the stream is taken from the object's dictionary and is not checked against the actual number of bytes present. As a result, heap buffer, potentially corrupting memory or causing a crash. This flaw corresponds to CWE-125 and CWE-787 and could lead to memory corruption or a crash.

Affected Systems

The Document Foundation’s LibreOffice suite, specifically the Draw component that handles PDF imports, is affected. Users running any of the supported operating systems (Windows, macOS, Linux) with an unpatched version may be impacted when the PDF import feature is used.

Risk and Exploitability

The CVSS score of 5.4 indicates moderate severity. The flaw requires a crafted PDF file to be processed by the application, so the likely attack vector is local file exploitation; a remote attacker would need the victim to open a malicious document. The EPSS score of <1% indicates a low exploitation probability and the vulnerability is not listed in CISA KEV, suggesting no known widespread exploitation yet. However, potential heap corruption could lead to crashes.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade LibreOffice to the latest version that contains the CVE-2026-63274 fix.
  • If an immediate upgrade is not feasible, disable or restrict the PDF import feature so that only trusted documents can be processed, or run LibreOffice in a sandboxed environment to isolate the vulnerable component.
  • If the PDF import must remain enabled, limit usage to signatures from trusted sources and monitor for anomalous crashes or behavior during document processing.

Generated by OpenCVE AI on September 24, 2026 at 01:56 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-120
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 Draw can import PDF documents. A heap buffer overflow existed when importing a stream object. The length of the stream was taken from the object's own dictionary and was not checked against the number of bytes actually present, so copying the stream read and wrote past the end of the buffer holding it. In fixed versions the declared length is clamped to the bytes actually read.
Title Heap buffer overflow in PDF import stream handling
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
  • CWE-120

    Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

  • CWE-125

    Out-of-bounds Read

  • CWE-787

    Out-of-bounds Write

Sources

Status
PUBLISHED
Assigner
Document Fdn.
Published
Updated
Sep 28, 2026, 2:01 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