Description
LibreOffice Draw can import PDF documents. A heap buffer overflow existed when importing an encrypted document. The length of the decryption key was taken from the document's own encryption dictionary and was used to fill a fixed size key buffer without being checked against it, so a length larger than that buffer wrote past its end. In fixed versions a declared key length larger than the buffer is rejected.
Published: 2026-09-22
Score: 5.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Memory Corruption
Action: Apply Update
AI Analysis

Impact

LibreOffice Draw can import encrypted PDF files. An attacker can craft a PDF that includes a decryption key longer than the fixed‑size buffer used by the import code. Because the key length is taken directly from the PDF’s encryption dictionary and not checked against the buffer size, a longer key overflows the heap. The overflow can corrupt memory, potentially leading to parameter tampering, denial of service, or arbitrary code execution under certain conditions.

Affected Systems

The vulnerability affects LibreOffice Draw installations from The Document Foundation that are earlier than the version in which the overflow check was added. All older releases that do not reject overly long decryption keys are impacted.

Risk and Exploitability

The CVSS score of 5.4 indicates a moderate severity. EPSS is not available and the issue is not listed in CISA KEV, suggesting no large‑scale exploitation has been documented. Attackers can exploit the flaw by providing a malicious encrypted PDF to a user running LibreOffice Draw—a local attack vector. If the buffer overflow is successfully triggered, a local user could gain code execution or cause the application to crash, exposing the system to further compromise.

Generated by OpenCVE AI on September 23, 2026 at 16:20 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade LibreOffice to the version that includes the anti‑overflow check for encrypted PDF import.
  • Avoid opening or importing encrypted PDF documents from untrusted sources in older LibreOffice releases.
  • Consider running LibreOffice Draw in a sandboxed environment to limit the impact if a malicious PDF is processed.

Generated by OpenCVE AI on September 23, 2026 at 16:20 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

Wed, 23 Sep 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-120
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate


Tue, 22 Sep 2026 19:45:00 +0000

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

Tue, 22 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 22 Sep 2026 11:30:00 +0000

Type Values Removed Values Added
Description LibreOffice Draw can import PDF documents. A heap buffer overflow existed when importing an encrypted document. The length of the decryption key was taken from the document's own encryption dictionary and was used to fill a fixed size key buffer without being checked against it, so a length larger than that buffer wrote past its end. In fixed versions a declared key length larger than the buffer is rejected.
Title Heap buffer overflow in PDF import encryption handling
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'}


Subscriptions

The Document Foundation Libreoffice
cve-icon MITRE

Status: PUBLISHED

Assigner: Document Fdn.

Published:

Updated: 2026-09-28T14:23:01.725Z

Reserved: 2026-07-16T08:17:05.512Z

Link: CVE-2026-63273

cve-icon Vulnrichment

Updated: 2026-09-22T12:27:38.705Z

cve-icon NVD

Status : Deferred

Published: 2026-09-22T12:17:13.007

Modified: 2026-09-22T19:09:32.273

Link: CVE-2026-63273

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-22T11:10:13Z

Links: CVE-2026-63273 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-23T16:30:08Z

Weaknesses
  • CWE-120

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

  • CWE-787

    Out-of-bounds Write