Skip to content

About

This repository contains a Proof of Concept (PoC) exploit for the **CVE-2025-47175** vulnerability found in Microsoft PowerPoint. The vulnerability is a Use-After-Free (UAF) bug that allows an attacker to execute arbitrary code by tricking a user into opening a specially crafted PPTX file.

Resources

Stars

11 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

CVE-2025-47175 - Microsoft PowerPoint Use-After-Free (UAF) Remote Code Execution PoC

Overview

This repository contains a Proof of Concept (PoC) exploit for the CVE-2025-47175 vulnerability found in Microsoft PowerPoint.
The vulnerability is a Use-After-Free (UAF) bug that allows an attacker to execute arbitrary code by tricking a user into opening a specially crafted PPTX file.


Description

  • Vulnerability: Use-After-Free (UAF) in Microsoft PowerPoint
  • CVE ID: CVE-2025-47175
  • Affected Versions: Microsoft PowerPoint 2019 and Office 365 versions prior to June 2025 Patch (KB5002689)
  • Attack Vector: Local — requires victim to open a crafted PPTX file
  • Impact: Remote Code Execution (RCE)

This PoC script generates a malicious PPTX file designed to trigger the UAF vulnerability. Opening the generated file in a vulnerable PowerPoint version may lead to arbitrary code execution.


Usage

python3 exploit_cve2025_47175.py [options]

Options

Option Description Default
-o, --output Output PPTX filename exploit_cve_2025_47175.pptx
-i, --id Shape ID (integer) 1234
-n, --name Shape Name (string) MaliciousShape
-t, --text Trigger text inside the slide This content triggers CVE-2025-47175 UAF vulnerability.

Example

python3 exploit_cve2025_47175.py -o evil.pptx -i 5678 -n "BadShape" -t "Triggering CVE-2025-47175 now!"

Disclaimer

This PoC is for educational and research purposes only. Unauthorized use against systems without explicit permission is illegal. The author is not responsible for any misuse of this code.


Author

Mohammed Idrees Banyamer


References

About

This repository contains a Proof of Concept (PoC) exploit for the **CVE-2025-47175** vulnerability found in Microsoft PowerPoint. The vulnerability is a Use-After-Free (UAF) bug that allows an attacker to execute arbitrary code by tricking a user into opening a specially crafted PPTX file.

Resources

Stars

11 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages