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

Published Nov 16, 2026
·
Updated

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 Software

1 affected component
The Document Foundation LibreOffice

Event History

Nov 16, 2026
CVE Published
via MITRE·04:40 PM
Data Sourced
via MITRE·04:40 PM
DescriptionWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Organizations and users that exported password-protected PDFs using the PDF 2.0 option in LibreOffice are exposed. Other PDF export modes are not identified in the available information.

2

Does an attacker need the PDF password to recover the encryption key?

No. The affected pseudo-random generator could allow recovery of the exported PDF's encryption key without knowing the password.

3

What is the remediation?

Use a fixed LibreOffice version. Fixed versions obtain the PDF encryption key and salts from the operating system's random source rather than a pseudo-random generator unsuitable for cryptographic use.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203