Skip to main content
ExploitPublished

Microsoft Excel Use After Free · Local Code Execution

Source Exploit-DB RSS Feed

0

Mentioned vulnerabilities

Severity
Medium

Rated by Threat Radar

Data as of 21 Jun 2025, 23:58 UTC

What to do

AI-suggested

1. Implement strict email filtering and attachment scanning to detect and block malicious DOCX files, especially those containing macros or unusual embedded content. 2. Enforce macro security policies in Microsoft Office, such as disabling macros by default and only allowing signed macros from trusted publishers. 3. Educate users on the risks of opening unsolicited or unexpected Excel documents, emphasizing verification of sender identity and cautious handling of email attachments. 4. Deploy endpoint detection and response (EDR) solutions capable of identifying suspicious process creation and script execution triggered by Office applications. 5. Apply application whitelisting to restrict execution of unauthorized programs that could be launched via malicious macros. 6. Monitor network traffic for unusual outbound connections that may indicate post-exploitation activity. 7. Maintain up-to-date backups and incident response plans to quickly recover from potential compromises. 8. Engage with Microsoft security advisories regularly to apply patches promptly once available. 9. Use sandboxing or virtualized environments to open untrusted documents safely when necessary. 10. Consider disabling legacy Office features that are not required, reducing the attack surface.

Description

Microsoft Excel Use After Free - Local Code Execution

Indicators of compromise

Exploit source code

Exploit code for Microsoft Excel Use After Free - Local Code Execution1,974 characters
# Titles: Microsoft Excel Use After Free - Local Code Execution
# Author: nu11secur1ty
# Date: 06/09/2025
# Vendor: Microsoft
# Software: https://www.microsoft.com/en/microsoft-365/excel?market=af
# Reference: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-27751
# Versions: MS Excel 2016, MS Office Online Server KB5002699
# CVE-2025-27751

## Description:
The attacker can trick any user into opening and executing their code by
sending a malicious DOCX file via email or a streaming serve…

References

Community reviews

Loading reviews…