Skip to content
OpenAdvisories
Medium · 6.9 CVE-2026-18564 EUVD-2026-126516GHSA-h5g2-rhc6-4wmp

Weak random numbers used for PDF 2.0 encryption keys

Published Nov 16, 2026 · Updated Nov 17, 2026 · 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 products

VendorProductAffectedFixed
The Document Foundation LibreOffice 26.2 – < < 26.2.6 < 26.2.6

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libreoffice 4:26.8.0.3-2 —
Debian 13 libreoffice 4:25.2.3-2+deb13u12 DSA-6635-1
Debian 12 libreoffice No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libreoffice No fix yet —
Ubuntu 26.04 LTS libreoffice No fix yet —
Ubuntu 24.04 LTS libreoffice No fix yet —
Ubuntu 22.04 LTS libreoffice No fix yet —
Ubuntu 20.04 LTS libreoffice No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libreoffice 26.8.3.1-1.1 openSUSE-SU-2026:12666-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling libreoffice-25.8 No fix yet —

Advisories 2

References