Home › CVE › Operating systems
CVE-2026-18564 — The Document Foundation LibreOffice
One of 24 The Document Foundation LibreOffice vulnerabilities published together by NVD: our article covers all of them.
Operating systemsVulnerabilitiesData protectionSummary
LibreOffice can export documents to PDF protected by a password. With the PDF 2.0 option the file is encrypted with 256-bit AES, using a file encryption key and salts that are meant to be random. The key and the salts were drawn from a pseudo-random number generator that is not suitable for cryptography, so the encryption key of an exported PDF could be recovered without knowing the password. In fixed versions the key and the salts are drawn from the random source of the operating system.
Severity breakdown
Medium · 6.9
An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- no
- User action needed
- no
- Impact
- high on confidentiality, none on integrity and availability
- Impact on other systems
- none
- Exploit maturity
- a proof-of-concept exploit is public
Weakness
- CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| The Document Foundation LibreOffice | ≥ 26.2, < < 26.2.6 | < 26.2.6 |
References by type
Other references
Affected
- The Document Foundation LibreOffice
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-18564?
LibreOffice can export documents to PDF protected by a password. With the PDF 2.0 option the file is encrypted with 256-bit AES, using a file encryption key and salts that are meant to be random. The key and the salts were drawn from a pseudo-random number generator that is not suitable for cryptography, so the encryption key of an exported PDF could be recovered without knowing the password. Weakness type: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) (CWE-338).
How severe is CVE-2026-18564?
CVE-2026-18564 has a CVSS 4.0 base score of 6.9 (medium), from the CNA (documentfoundation.org). An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-18564 being exploited?
Not as far as is known: CVE-2026-18564 is not in CISA's Known Exploited Vulnerabilities catalog as of November 30, 2026. EPSS estimates a 0.3% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-18564?
The Document Foundation LibreOffice ≥ 26.2, < < 26.2.6 (fixed in < 26.2.6).
How do I fix CVE-2026-18564?
Update to a fixed release: The Document Foundation LibreOffice < 26.2.6.
Timeline & sources
References
Related vulnerabilities & news
- Canadian Cyber Centre warns SUSE NeuVector is affected by vulnerabilities in advisory AV26-1198
- SUSE NeuVector Stack Buffer Overflow in DLP/WAF
- New Windows 11 Narrator Lock Screen 0-Day Allows Attackers to Bypass BitLocker Protections
- CVE-2026-112174 — Enter Iperius Backup
- Microsoft Windows Backup Engine use-after-free flaw enables local privilege escalation (CVE-2026-119405)