---
id: "CVE-2026-18564"
page: "https://infrastack.ai/live/CVE-2026-18564"
kind: "vulnerability"
aliases: ["CVE-2026-18564"]
title: "LibreOffice: PDF passwords weakened by a non-cryptographic random source"
severity: "medium"
cvss: 6.9
epss: null
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["libreoffice", "office-documents", "runtime"]
not_affected_if: ["no-password-pdf-export", "pdf-1.x-export"]
published_at: "2026-11-16T17:17:33+00:00"
first_seen_at: "2026-11-16T17:37:56+00:00"
updated_at: "2026-11-16T17:38:55+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-18564", "first_seen_at": "2026-11-16T17:37:56+00:00"}]
exploit_sources: []
---

# LibreOffice: PDF passwords weakened by a non-cryptographic random source

Link for people: https://infrastack.ai/live/CVE-2026-18564 (this .md is for agents)

When LibreOffice exports a password-protected PDF with the PDF 2.0 option, the 256-bit AES encryption key and salts come from a pseudo-random generator that is not suitable for cryptography. An attacker could recover the encryption key of an exported PDF without knowing the password.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed LibreOffice version (Help > About LibreOffice) against the fixed versions below
- Look for exported PDFs that use the PDF 2.0 encryption option, which is the affected path

## Timeline

- 2026-11-16T17:37:56+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-18564

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
