| Name | CVE-2025-2866 | 
| 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. | 
| 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) | 
| References | DLA-4205-1, DSA-5908-1 | 
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|---|---|---|
| libreoffice (PTS) | bullseye | 1:7.0.4-4+deb11u10 | vulnerable | 
| bullseye (security) | 1:7.0.4-4+deb11u13 | fixed | |
| bookworm | 4:7.4.7-1+deb12u9 | fixed | |
| bookworm (security) | 4:7.4.7-1+deb12u8 | fixed | |
| trixie | 4:25.2.3-2+deb13u2 | fixed | |
| forky, sid | 4:25.8.2-3 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|---|---|---|---|---|---|
| libreoffice | source | bullseye | 1:7.0.4-4+deb11u13 | DLA-4205-1 | ||
| libreoffice | source | bookworm | 4:7.4.7-1+deb12u8 | DSA-5908-1 | ||
| libreoffice | source | (unstable) | 4:25.2.2-1 | 
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+)