CVE-2022-26305Libreoffice
High 7.5 No auth needed
Follow: this CVE · Libreoffice · Libreoffice We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 51
- Auth required
- No
- Published
- Jul 25, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-295
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
An Improper Certificate Validation vulnerability in LibreOffice existed where determining if a macro was signed by a trusted author was done by only matching the serial number and issuer string of the used certificate with that of a trusted certificate. This is not sufficient to verify that the macro was actually signed with the certificate. An adversary could therefore create an arbitrary certificate with a serial number and an issuer string identical to a trusted certificate which LibreOffice would present as belonging to the trusted author, potentially leading to the user to execute arbitrary code contained in macros improperly trusted. This issue affects: The Document Foundation LibreOffice 7.2 versions prior to 7.2.7; 7.3 versions prior to 7.3.1.
What to do
- Apply the vendor's security update for Libreoffice.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| libreoffice | libreoffice | ≥ 7.2.0 < 7.2.7 |
| libreoffice | libreoffice | ≥ 7.3.0 < 7.3.2 |
Official sources
References
Links published by the sources. Open them with care.
- lists.debian.org
- www.libreoffice.org Vendor Advisory