Vulnerability · Published Apr 27, 2025 · Assigned by Document Fdn.

CVE-2025-2866PDF signature forgery with adbe.pkcs7.sha1 SubFilter

Low 2.4

In plain English

A low-severity security flaw in LibreOffice from The Document Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 2% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)2.4Low
Exploit odds (30 days)0.1%top 98.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Improper Verification of Cryptographic Signature vulnerability in LibreOffice allows PDF Signature Spoofing by Improper Validation. In the affected versions of LibreOffice a flaw in the verification code for adbe.pkcs7.sha1 signatures could cause invalid signatures to be accepted as valid This issue affects LibreOffice: from 24.8 before < 24.8.6, from 25.2 before < 25.2.2.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libreoffice4:7.4.7-1+deb12u8DSA-5908-1
Debian:12libreoffice4:7.4.7-1+deb12u8DEBIAN-CVE-2025-2866
Debian:13libreoffice4:25.2.2-1DEBIAN-CVE-2025-2866
Debian:14libreoffice4:25.2.2-1DEBIAN-CVE-2025-2866
Ubuntu:22.04:LTSlibreoffice1:7.3.7-0ubuntu0.22.04.10USN-7504-1
Ubuntu:22.04:LTSlibreoffice1:7.3.7-0ubuntu0.22.04.10UBUNTU-CVE-2025-2866
Ubuntu:24.04:LTSlibreoffice4:24.2.7-0ubuntu0.24.04.4UBUNTU-CVE-2025-2866
Ubuntu:24.04:LTSlibreoffice4:24.2.7-0ubuntu0.24.04.4USN-7504-1

Affected products (as reported)

VendorProductVersions
The Document Foundation LibreOffice 24.8 – before < 24.8.625.2 – before < 25.2.2

Weakness: CWE-347 · Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N

References