LibreOffice 25.2 < 26.2.6 Weak PDF 2.0 Encryption Key Generation

high Nessus Plugin ID 384525

Synopsis

An application installed on the remote host is affected by a weak random number generation vulnerability.

Description

The version of LibreOffice installed on the remote host is prior to 26.2.6. It is, therefore, affected by a weak random number generation vulnerability:

- 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. (CVE-2026-18564)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to LibreOffice version 26.2.6 or later.

See Also

http://www.nessus.org/u?f6c40e05

Plugin Details

Severity: High

ID: 384525

File Name: libreoffice_26_2_6_cve_2026_18564.nasl

Version: 1.1

Type: Local

Agent: windows, macosx, unix

Family: Misc.

Published: 11/20/2026

Updated: 11/20/2026

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.87

CVSS v2

Risk Factor: Medium

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS Score Source: CVE-2026-18564

CVSS v3

Risk Factor: High

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CVSS v4

Risk Factor: High

Base Score: 8.2

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Vulnerability Information

CPE: cpe:/a:libreoffice:libreoffice

Required KB Items: installed_sw/LibreOffice

Patch Publication Date: 9/4/2026

Vulnerability Publication Date: 11/16/2026

Reference Information

CVE: CVE-2026-18564

IAVB: 2026-B-0337