Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft encrypted PDF with oversized key-length field
-
DeliveryDeliver file to victim via email/download
-
ExploitVictim opens PDF in LibreOffice Draw
-
ExecutionImport copies key into undersized heap buffer
-
PersistHeap out-of-bounds write corrupts memory
-
ImpactApplication crash or potential code execution
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the victim to open a specially crafted ENCRYPTED PDF document in LibreOffice Draw's PDF import path; the trigger is a decryption-key length value in the document's encryption dictionary set larger than the fixed key buffer. Limiting factors: the vector is local (the malicious file must be delivered to and opened by the victim, AV:L + UI:P), so there is no remote or unauthenticated network trigger; the file must specifically be encrypted (unencrypted PDFs do not reach this code path); and fixed LibreOffice versions reject an over-large declared key length, closing the flaw. |
| Impact | This is a moderate-priority memory-corruption bug, not an urgent one. The vendor CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H, score 5.4) makes clear that despite a heap out-of-bounds write (CWE-787), exploitation requires a local vector (AV:L) plus victim interaction (UI:P) - the user must open a malicious encrypted PDF in LibreOffice Draw. The high availability impact (VA:H) with only low confidentiality/integrity impact (VC:L/VI:L) signals this is crash-dominant, with code execution plausible but not demonstrated. Exploit maturity is E:P (proof-of-concept), which conflicts with the reference set: only the LibreOffice advisory is provided, and there is NO EPSS score, NO CISA KEV listing, and NO standalone public exploit code - so the E:P maturity is not independently corroborated by any of the supplied intelligence. No public exploit identified at time of analysis. The overwrite length is fully attacker-controlled (a declared key length in the document's own encryption dictionary), which raises exploitability in principle, but the local+user-interaction gating keeps real-world risk bounded to targeted social-engineering rather than mass exploitation. Net: a legitimate patch-worthy flaw, but not a drop-everything priority absent evidence of exploitation. |
| Exploit ScenarioDerived | An attacker crafts a malicious encrypted PDF whose encryption dictionary declares a decryption-key length far larger than LibreOffice's fixed-size key buffer, then delivers it to a victim (email attachment, download). When the victim opens the file in LibreOffice Draw, the import code copies the oversized key past the buffer end, corrupting the heap and crashing the application or potentially enabling code execution. No public exploit code is identified; the vendor rates exploit maturity as proof-of-concept only. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 22, 2026
Heap-based buffer overflow in LibreOffice's PDF import filter, reachable through LibreOffice Draw, can crash the application or corrupt heap memory when a victim opens a specially crafted encrypted PDF whose encryption dictionary declares a decryption-key length larger than the fixed-size key buffer the importer fills. Exploitation is local and requires user interaction (AV:L, UI:P/UI:R, PR:N per the CVSS 4.0 vector; the independent assessment is CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H), so there is no remote or unauthenticated network trigger and only encrypted PDFs reach the flawed code path; the impact skews heavily toward availability (VA:H) with limited confidentiality and integrity effects. There is no CISA KEV listing indicating confirmed active exploitation, but the supplied CVSS 4.0 vector carries an exploit-maturity metric of E:P, meaning publicly available exploit code exists at proof-of-concept level. This is a moderate-priority memory-corruption bug, not an urgent one, because delivery requires convincing a user to open a malicious encrypted file locally.
RemediationAI
Vendor-released patch: per the Document Foundation advisory at https://www.libreoffice.org/about-us/security/advisories/cve-2026-63273, fixed LibreOffice builds reject a declared decryption-key length larger than the key buffer, closing the overflow; because the input data does not specify an exact version string, administrators should check that advisory for the precise patched release and upgrade LibreOffice to it (patch available per vendor advisory). Until upgrades complete, the most effective compensating control is architectural rather than configurational: keep Draw's PDF import path away from untrusted content by opening third-party PDFs in a dedicated, isolated viewer instead of LibreOffice Draw, and by having mail gateways, browsers and download proxies quarantine encrypted PDFs so they are not casually double-clicked into the office suite - the trade-off is loss of Draw's PDF editing workflow for those files. Note that unencrypted PDFs never reach this code path, so the residual risk is confined to encrypted documents; a stricter but heavier option is to remove or rename the PDF import library from the LibreOffice program directory to disable PDF import entirely, accepting that legitimate PDF editing in Draw stops working. There is no vendor-released patch identified for any release line that has reached end of maintenance, so deployments still on such lines should treat the standalone-viewer isolation above as their permanent control rather than a stopgap, and should not rely on disabling macros or Protected Mode, which do not affect this importer code path.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
PDF files can be encrypted under the standard security handler defined in ISO 32000, which stores cryptographic parameters in an encryption dictionary containing, among other entries, a declared key length (/Length) value. LibreOffice's PDF import filter, which LibreOffice Draw uses to open and edit PDF documents, reads that self-declared length from the untrusted file and uses it to fill a fixed-size internal key buffer without validating it against the buffer's capacity. A declared length larger than the allocated buffer causes writes past the end of the heap allocation, the classic out-of-bounds write described by CWE-787 (out-of-bounds write) rather than a read-side information leak. Because the value is attacker-controlled and embedded in the document itself, the overflow is deterministic for a crafted file, but it only executes when the file is encrypted and when the user actively opens it through the PDF import path. The CPE cpe:2.3:a:the_document_foundation:libreoffice:*:*:*:*:*:*:*:* covers the LibreOffice product as a whole, reflecting that the vulnerable PDF import component ships with the suite rather than with a single standalone package. Fixed builds reject any declared key length larger than the key buffer, converting the malformed input into a clean failure instead of an overflow.
Know when Libreoffice gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Local file must be opened by the user (AV:L, UI:R, no prior privileges PR:N); attacker-controlled length gives a reliable heap write, crash-dominant so A:H with limited C:L/I:L.
AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Primary rating from Vendor (Document Fdn.).
CVSS VectorVendor: Document Fdn.
Lifecycle Timeline
2DescriptionCVE.org
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.
Zero Day Initiative Advisories
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
More in Libreoffice
View allLibreOffice is typically bundled with LibreLogo, a programmable turtle vector graphics script, which can execute arbitra
Integer underflow in LibreOffice before 4.4.5 and Apache OpenOffice before 4.1.2, when the configuration setting "Load p
LibreOffice before 4.4.6 and 5.x before 5.0.1 and Apache OpenOffice before 4.1.2 allows remote attackers to cause a deni
LibreOffice before 5.4.5 and 6.x before 6.0.1 allows remote attackers to read arbitrary files via =WEBSERVICE calls in a
In the LibreOffice 7-1 series in versions prior to 7.1.2, and in the 7-0 series in versions prior to 7.0.5, the denylist
Integer overflow in filter/source/msfilter/msdffimp.cxx in OpenOffice.org (OOo) 3.3, 3.4 Beta, and possibly earlier, and
An information disclosure vulnerability occurs when LibreOffice 6.0.3 and Apache OpenOffice Writer 4.1.5 automatically p
Apache OpenOffice before 4.1.1 allows remote attackers to execute arbitrary commands and possibly have other unspecified
Integer overflow in LibreOffice before 4.4.5 and Apache OpenOffice before 4.1.2 allows remote attackers to cause a denia
LibreOffice 4.2.4 executes unspecified VBA macros automatically, which has unspecified impact and attack vectors, possib
Redland Raptor (aka libraptor) before 2.0.7, as used by OpenOffice 3.3 and 3.4 Beta, LibreOffice before 3.4.6 and 3.5.x
LibreOffice before 2017-03-11 has an out-of-bounds write caused by a heap-based buffer overflow in the SVMConverter::Imp
Same weakness CWE-787 – Out-of-bounds Write
View allSame technique Buffer Overflow
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Linux Enterprise Desktop 15 SP7 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Workstation Extension 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP5 | Affected |
| SUSE Linux Enterprise Server 15 SP6 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE Linux Enterprise Desktop 15 SP5 | Affected |
| SUSE Linux Enterprise Desktop 15 SP6 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| SUSE Linux Enterprise Workstation Extension 15 SP5 | Affected |
| SUSE Linux Enterprise Workstation Extension 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-84353
GHSA-254q-47m3-r67w
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB