CVE-2025-5042 RFA File Parsing Out-of-Bounds Read Vulnerability

High 7.8 Published Updated

Attackers can execute arbitrary code, read sensitive data, or cause crashes by tricking users into opening malicious RFA files in Autodesk Revit.

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-5042?

CVE-2025-5042 is a high-severity memory corruption vulnerability in Autodesk Revit, published on 22 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 RFA file, when parsed through Autodesk Revit, can force an Out-of-Bounds Read 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-125

Which versions are affected by CVE-2025-5042?

It affects 1 product.

Products include Autodesk Revit.

How do I fix CVE-2025-5042?

No fix has been published for CVE-2025-5042 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-5042 being exploited?

There is no known exploitation of CVE-2025-5042 in the wild and no public exploit code.

Sources

Also known as GHSA-4rg4-jj35-335f.

Is CVE-2025-5042 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free