CVE-2026-18564

published 16 Nov 2026 · updated 17 Nov 2026

Weak random numbers used for PDF 2.0 encryption keys

6.9MediumCVSS 6.9EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in < 26.2.6.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
The Document Foundation>=26.2 << 26.2.6< 26.2.6

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-18564 severity on Zeptric[![CVE-2026-18564](https://zeptric.io/badge/cve/CVE-2026-18564.svg)](https://zeptric.io/cve/CVE-2026-18564)