CVE-2025-2866

NameCVE-2025-2866
DescriptionImproper 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-5908-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libreoffice (PTS)bullseye1:7.0.4-4+deb11u10vulnerable
bullseye (security)1:7.0.4-4+deb11u12vulnerable
bookworm4:7.4.7-1+deb12u7vulnerable
bookworm (security)4:7.4.7-1+deb12u8fixed
trixie4:25.2.2-1fixed
sid4:25.2.2-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libreofficesourcebookworm4:7.4.7-1+deb12u8DSA-5908-1
libreofficesource(unstable)4:25.2.2-1

Notes

https://www.libreoffice.org/about-us/security/advisories/cve-2025-2866/
Fixed by: https://gerrit.libreoffice.org/c/core/+/183059 (25.8.0.0.alpha0+)
Fixed by: https://git.libreoffice.org/core/+/5b25bf30f0909ce322527a9947a519c7dbc3050c%5E%21 (6.4)
Introduced by [1/2] https://git.libreoffice.org/core/+/055fd58711d57af4d96214aebd71b713303d5527%5E! (5.4.0.0.alpha0+)
Introduced by [2/2] https://git.libreoffice.org/core/+/e58ed17e35989350afe3e9fd77b24515df782eac%5E! (5.4.0.0.alpha0+)

Search for package or bug name: Reporting problems