CVE-2026-18564 Details
Description
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.
A vulnerability exists in LibreOffice versions 25.2 to 26.2.5 that affects the PDF export feature when the PDF 2.0 option is selected. The issue arises because the encryption key and salts, which are intended to be random, are generated using a pseudo-random number generator not suitable for cryptographic purposes. As a result, the encryption key in the exported PDF can be recovered without knowledge of the password. In versions 26.2.6 and later, the key and salts are sourced from the operating system's random generator, addressing this vulnerability.
Users are advised to upgrade to LibreOffice version 26.2.6 or later. For PDFs exported with versions 25.2 to 26.2.5, the weak encryption can be repaired by re-exporting the PDF with a fixed version of LibreOffice or by using qpdf to re-encrypt the PDF with a strong password.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 16, 2026CISA-ADP
Assessed Nov 17, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://www.libreoffice.org/about-us/security/advisories/cve-2026-18564 | [email protected] | AdvisoryBundleRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-338 | Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| LibreOffice | >= 25.2, <= 26.2.5 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 17, 2026 | CVE Modified | CISA-ADP |
| Nov 16, 2026 | New CVE Received | [email protected] |
Volerion