NetSight
medium6.9

CVE-2026-18564

LibreOffice can export documents to PDF protected by a password. With the PDF 2.0 option the file...

Impact

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.

An attacker can exploit this over the network, without logging in, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read.

Affected products · The Document Foundation

ProductAffected versions
LibreOffice
from 26.2 before < 26.2.6
Version 26.2 << 26.2.6

Weakness classification

References