CVE-2021-25631: LibreOffice Windows Executable Extension Denylist Bypass
- Vendor
- Libreoffice
CVE-2021-25631 is an executable filename-extension denylist bypass in LibreOffice on Windows, affecting the 7.1 series before 7.1.2 and the 7.0 series before 7.0.5. A specially manipulated document hyperlink can evade LibreOffice's denylist while still causing Windows ShellExecute to attempt to launch an executable file type. This discrepancy between link validation and operating-system handling can enable attacker-controlled code execution following user interaction.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can execute an attacker-controlled executable with the privileges of the LibreOffice user. The Windows exploitation scenario requires user interaction and is described as a two-click attack, rather than automatic execution when a document is opened.
Mitigation
If you can’t patch tonight, do this now.
Until the update is applied, avoid activating hyperlinks in untrusted documents. This reduces exposure to the user-interaction-dependent attack but does not correct the underlying denylist bypass.
Remediation
Patch, then assume compromise.
Upgrade LibreOffice 7.1 installations to version 7.1.2 or later, or LibreOffice 7.0 installations to version 7.0.5 or later. These releases address the Windows executable-extension denylist bypass.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2021-25631 exploited in the wild?
- As of Oct 25, 2026, Mallory has no reports of CVE-2021-25631 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2021-25631?
- Yes. As of Oct 25, 2026, Mallory has reports of a public exploit for CVE-2021-25631.
- Is there a patch for CVE-2021-25631?
- Upgrade LibreOffice 7.1 installations to version 7.1.2 or later, or LibreOffice 7.0 installations to version 7.0.5 or later. These releases address the Windows executable-extension denylist bypass.
- What products are affected by CVE-2021-25631?
- Libreoffice.
- How severe is CVE-2021-25631?
- CVE-2021-25631 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 5.0% (92nd percentile) as of Oct 25, 2026.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.