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

- Priority: **Routine**
- Reason: Not severe (CVSS 2.4, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-04-27 · Modified: 2025-11-03
- Aliases: MGASA-2025-0154, UBUNTU-CVE-2025-2866, USN-7504-1, DEBIAN-CVE-2025-2866, DSA-5908-1
- Record: https://cvemate.com/vulnerability/CVE-2025-2866 · JSON: https://cvemate.com/vulnerability/CVE-2025-2866/json

## Description

```text
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.
```

## Signals

- CVSS: 5.5 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- EPSS: 0.121%, percentile 2.032%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian libreoffice (Debian): \< 4:7.4.7-1+deb12u8 \| \< 4:25.2.2-1
- ubuntu libreoffice (Ubuntu): \< 1:6.4.7-0ubuntu0.20.04.15 \| \< 1:7.3.7-0ubuntu0.22.04.10 \| \< 4:24.2.7-0ubuntu0.24.04.4
- libreoffice libreoffice: ≥ 24.8.0.1, \< 24.8.6.0 \| ≥ 25.2.0.1, \< 25.2.2 \| 24.8.0.0:alpha1 \| 24.8.0.0:beta1 \| 25.2.0.0:alpha1 \| 25.2.0.0:beta1
- mageia libreoffice (Mageia): \< 24.2.7.2-1.3.mga9
- the document foundation libreoffice: ≥ 24.8, \< \< 24.8.6 \| ≥ 25.2, \< \< 25.2.2

## References

- <https://www.libreoffice.org/about-us/security/advisories/cve-2025-2866>
- <https://lists.debian.org/debian-lts-announce/2025/06/msg00002.html>
- <https://advisories.mageia.org/MGASA-2025-0154.html>
- <https://bugs.mageia.org/show_bug.cgi?id=34234>
- <https://lists.debian.org/debian-security-announce/2025/msg00070.html>
- <https://www.libreoffice.org/about-us/security/advisories/cve-2025-2866/>
- <https://ubuntu.com/security/CVE-2025-2866>
- <https://www.cve.org/CVERecord?id=CVE-2025-2866>
- <https://ubuntu.com/security/notices/USN-7504-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-2866>

---

Data as of 2026-12-05T04:20:40.686Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
