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: n/a
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 22, 2026 at 12:23 UTC.

Remediation

No vendor fix or workaround currently provided.

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 22, 2026 at 12:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Document Fdn.

Published:

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

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 : Received

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

Modified: 2026-09-22T13:17:10.300

Link: CVE-2026-63273

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-22T12:30:07Z

Weaknesses