CVE-2025-7042 Use after free in SOLIDWORKS eDrawings

High 7.8 Published Updated

An attacker can execute arbitrary code by tricking a user into opening a specially crafted IPT file in SOLIDWORKS eDrawings.

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

CVE-2025-7042 is a high-severity use after free vulnerability in Dassault Systèmes SOLIDWORKS eDrawings, published on 15 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

Use After Free vulnerability exists in the IPT file reading procedure in SOLIDWORKS eDrawings on Release SOLIDWORKS Desktop 2025. This vulnerability could allow an attacker to execute arbitrary code while opening a specially crafted IPT file.

Weakness: CWE-416

Which versions are affected by CVE-2025-7042?

How do I fix CVE-2025-7042?

No fix has been published for CVE-2025-7042 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2025-7042 being exploited?

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

Sources

Also known as GHSA-g7mr-h9vr-r252.

Is CVE-2025-7042 in your software?

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

Check your SBOMs for free