# CVE-2026-18564: Weak random numbers used for PDF 2.0 encryption keys

- Severity: Medium 6.9 (CVSS:4.0, scored by Document Fdn.) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 12% of CVEs (2026-11-30)
- Published: 2026-11-16T16:40:31.698Z
- Modified: 2026-11-17T18:17:52.870Z
- Weaknesses: CWE-338
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- The Document Foundation LibreOffice: from 26.2 before < 26.2.6

## References

- <https://www.libreoffice.org/about-us/security/advisories/cve-2026-18564>

## Sources

- CVE List: [CVE-2026-18564](https://www.cve.org/CVERecord?id=CVE-2026-18564), CVE Terms of Use, modified 2026-11-17
- NVD: [CVE-2026-18564](https://nvd.nist.gov/vuln/detail/CVE-2026-18564), Public domain, modified 2026-11-17

---

Page: https://cve.day/CVE-2026-18564 · Whole record: https://cve.day/CVE-2026-18564.json · Rebuilt by cve.day 2026-11-25T22:59:50.901Z
