CVE-2026-18564
JSON

6.9medium

Weak random numbers used for PDF 2.0 encryption keys

Severity
6.9medium CVSS:4.0 by Document Fdn.
Exploit likelihood
0.27% (higher than 12% of CVEs)
Published
Last changed
Assigned by
Document Fdn.

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.

Affected

Product or packageVersionsReported by
The Document Foundation LibreOfficefrom 26.2 before < 26.2.6CVE List

Classification

CWE-338

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-18564 changed 2026-11-17CVE Terms of Use
NVDCVE-2026-18564 changed 2026-11-17Public domain