CVE-2026-18564
Weak random numbers used for PDF 2.0 encryption keys
- Severity
- medium CVSS 6.9 (v4.0)
- Affects
- LibreOffice · The Document Foundation
- Weakness
- CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
- Published
- 16 November 2026 by Document Fdn.
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.