CVE-2025-5040 RTE File Parsing Heap-Based Overflow Vulnerability
A heap-based overflow in Autodesk Revit allows attackers to execute arbitrary code, read sensitive data, or cause a crash via malicious files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-5040?
CVE-2025-5040 is a high-severity memory corruption vulnerability in Autodesk Revit, published on 10 Jul 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
A maliciously crafted RTE file, when parsed through Autodesk Revit, can force a Heap-Based Overflow vulnerability. A malicious actor can leverage this vulnerability to cause a crash, read sensitive data, or execute arbitrary code in the context of the current process.
Weakness: CWE-122
Which versions are affected by CVE-2025-5040?
It affects 1 product.
Products include Autodesk Revit.
How do I fix CVE-2025-5040?
No fix has been published for CVE-2025-5040 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-5040 being exploited?
There is no known exploitation of CVE-2025-5040 in the wild and no public exploit code.
Other vulnerabilities in Autodesk Revit
- CVE-2026-11803 PDF File Parsing Vulnerabilities in Certain Autodesk Desktop Products
- CVE-2026-1289 PDF File Parsing Vulnerabilities in Certain Autodesk Desktop Products
- CVE-2026-8325 PDF File Parsing Vulnerabilities in Certain Autodesk Desktop Products
- CVE-2025-8354 RFA File Parsing Type Confusion Vulnerability
- CVE-2025-5042 RFA File Parsing Out-of-Bounds Read Vulnerability
Sources
Also known as GHSA-5vfp-v42j-9fcc.