p PatchFirst

CVE-2025-2866

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

CVSS 2.4 · Low · EPSS 0.1% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="libreoffice"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

  • DLA-4205-1 · Debian 11 ·
  • USN-7504-1 · Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS ·
  • DSA-5908-1 · Debian 12 ·

Stack: system

Affected products and versions

  • libreoffice

    Versions
    • ≥ 24.8, < < 24.8.6: Affected (24.8 series)
    • ≥ 25.2, < < 25.2.2: Affected (25.2 series)

    No fix published

  • libreoffice Debian 12

    Versions
    • 4:7.4.5-3
    • 4:7.4.7-1
    • 4:7.4.7-1+deb12u1
    • 4:7.4.7-1+deb12u1~bpo11+1
    • 4:7.4.7-1+deb12u2
    • 4:7.4.7-1+deb12u2~bpo11+1
    All versions (12)
    • 4:7.4.7-1+deb12u3
    • 4:7.4.7-1+deb12u4
    • 4:7.4.7-1+deb12u5
    • 4:7.4.7-1+deb12u6
    • 4:7.4.7-1+deb12u7
    • 4:7.4.7-1~bpo11+1
    Affected ranges
    • ECOSYSTEM: < 4:7.4.7-1+deb12u8

    Update to 4:7.4.7-1+deb12u8

  • libreoffice Debian 13

    Affected ranges
    • ECOSYSTEM: < 4:25.2.2-1

    Update to 4:25.2.2-1

  • libreoffice Debian 14

    Affected ranges
    • ECOSYSTEM: < 4:25.2.2-1

    Update to 4:25.2.2-1

  • libreoffice Ubuntu 20.04 LTS

    Versions
    • 1:6.3.2-0ubuntu2
    • 1:6.3.3-0ubuntu1
    • 1:6.3.3-0ubuntu2
    • 1:6.3.4-0ubuntu1
    • 1:6.4.0-0ubuntu4
    • 1:6.4.0-0ubuntu6
    All versions (28)
    • 1:6.4.0-0ubuntu7
    • 1:6.4.1-0ubuntu1
    • 1:6.4.2-0ubuntu1
    • 1:6.4.2-0ubuntu2
    • 1:6.4.2-0ubuntu3
    • 1:6.4.3-0ubuntu0.20.04.1
    • 1:6.4.4-0ubuntu0.20.04.1
    • 1:6.4.5-0ubuntu0.20.04.1
    • 1:6.4.6-0ubuntu0.20.04.1
    • 1:6.4.7-0ubuntu0.20.04.1
    • 1:6.4.7-0ubuntu0.20.04.2
    • 1:6.4.7-0ubuntu0.20.04.4
    • 1:6.4.7-0ubuntu0.20.04.5
    • 1:6.4.7-0ubuntu0.20.04.6
    • 1:6.4.7-0ubuntu0.20.04.7
    • 1:6.4.7-0ubuntu0.20.04.8
    • 1:6.4.7-0ubuntu0.20.04.9
    • 1:6.4.7-0ubuntu0.20.04.10
    • 1:6.4.7-0ubuntu0.20.04.11
    • 1:6.4.7-0ubuntu0.20.04.12
    • 1:6.4.7-0ubuntu0.20.04.13
    • 1:6.4.7-0ubuntu0.20.04.14
    Affected ranges
    • ECOSYSTEM: < 1:6.4.7-0ubuntu0.20.04.15

    Update to 1:6.4.7-0ubuntu0.20.04.15

  • libreoffice Ubuntu 22.04 LTS

    Versions
    • 1:7.2.1-0ubuntu3
    • 1:7.2.2-0ubuntu0.21.10.1
    • 1:7.2.3~rc2-0ubuntu1
    • 1:7.2.4-0ubuntu1
    • 1:7.2.5~rc1-0ubuntu2
    • 1:7.2.5~rc2-0ubuntu1
    All versions (26)
    • 1:7.3.1~rc2-0ubuntu1
    • 1:7.3.1~rc3-0ubuntu1
    • 1:7.3.2~rc1-0ubuntu2
    • 1:7.3.2~rc2-0ubuntu1
    • 1:7.3.2-0ubuntu1
    • 1:7.3.2-0ubuntu2
    • 1:7.3.3-0ubuntu0.22.04.1
    • 1:7.3.4-0ubuntu0.22.04.1
    • 1:7.3.5-0ubuntu0.22.04.1
    • 1:7.3.6-0ubuntu0.22.04.1
    • 1:7.3.6-0ubuntu0.22.04.2
    • 1:7.3.7-0ubuntu0.22.04.1
    • 1:7.3.7-0ubuntu0.22.04.2
    • 1:7.3.7-0ubuntu0.22.04.3
    • 1:7.3.7-0ubuntu0.22.04.4
    • 1:7.3.7-0ubuntu0.22.04.5
    • 1:7.3.7-0ubuntu0.22.04.6
    • 1:7.3.7-0ubuntu0.22.04.7
    • 1:7.3.7-0ubuntu0.22.04.8
    • 1:7.3.7-0ubuntu0.22.04.9
    Affected ranges
    • ECOSYSTEM: < 1:7.3.7-0ubuntu0.22.04.10

    Update to 1:7.3.7-0ubuntu0.22.04.10

  • libreoffice Ubuntu 24.04 LTS

    Versions
    • 4:7.6.2-0ubuntu1
    • 4:7.6.3~rc1-0ubuntu2
    • 4:7.6.3-0ubuntu3
    • 4:7.6.4-0ubuntu1
    • 4:7.6.4-0ubuntu3
    • 4:24.2.0~rc1-0ubuntu1
    All versions (20)
    • 4:24.2.1~rc1-0ubuntu1
    • 4:24.2.1~rc2-0ubuntu1
    • 4:24.2.2~rc2-0ubuntu1
    • 4:24.2.2-0ubuntu1
    • 4:24.2.3-0ubuntu0.24.04.1
    • 4:24.2.3-0ubuntu0.24.04.2
    • 4:24.2.4-0ubuntu0.24.04.1
    • 4:24.2.4-0ubuntu0.24.04.2
    • 4:24.2.5-0ubuntu0.24.04.1
    • 4:24.2.5-0ubuntu0.24.04.2
    • 4:24.2.6-0ubuntu0.24.04.1
    • 4:24.2.7-0ubuntu0.24.04.1
    • 4:24.2.7-0ubuntu0.24.04.2
    • 4:24.2.7-0ubuntu0.24.04.3
    Affected ranges
    • ECOSYSTEM: < 4:24.2.7-0ubuntu0.24.04.4

    Update to 4:24.2.7-0ubuntu0.24.04.4

Original sources

Check your server →