CVE-2026-18564
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-18564 NameCVE-2026-18564 DescriptionLibreOffice 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…
CVE-2026-18564
| Name | CVE-2026-18564 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| libreoffice (PTS) | bookworm | 4:7.4.7-1+deb12u14 | vulnerable |
| bookworm (security) | 4:7.4.7-1+deb12u13 | vulnerable | |
| trixie | 4:25.2.3-2+deb13u6 | vulnerable | |
| trixie (security) | 4:25.2.3-2+deb13u9 | vulnerable | |
| forky | 4:26.8.2.2-2 | fixed | |
| sid | 4:26.8.3.1-2 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| libreoffice | source | (unstable) | 4:26.8.0.3-2 |
Notes
https://www.libreoffice.org/security/#cve-2026-18564
Apply commands
https://www.libreoffice.org/security/#cve-2026-18564
OS impact
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | libreoffice |
Fixed | 4:25.2.3-2+deb13u12 |
| sid | libreoffice |
Fixed | 4:26.8.0.3-2 |
| forky | libreoffice |
Fixed | 4:26.8.0.3-2 |
| bookworm | libreoffice |
Affected | — |
SUSE Tracked 1 release
| Version | Package | Status | Fixed in |
|---|---|---|---|
| — | — | Unknown | — |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| document | libreoffice | {"startIncluding":"26.2","endExcluding":"< 26.2.6"} | < 26.2.6 |
References
CWEs
CWE-338
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.