Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2021-25631: LibreOffice Windows Executable Extension Denylist Bypass

Published May 3, 2021 · Updated 24 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS8.8High · v3.1
EPSS5.0%92nd percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Libreoffice
IdentifiersCVE-2021-25631CWE-184 · Incomplete List of Disallowed Inputs

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

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.

VendorProductType
LibreofficeLibreofficeapplication
FAQ

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.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.