CVE-2021-40164 Memory corruption in Revit, Inventor, Infraworks, Navisworks, Fusion, Infrastructure Parts Editors, Autodesk Advanced Steel, Civil 3D, AutoCAD, AutoCAD LT, AutoCAD Architecture, AutoCAD Electrical, AutoCAD Map 3D, AutoCAD Mechanical, AutoCAD MEP, AutoCAD Plant 3D

High 7.8 Published Updated

Heap-based buffer overflow in Autodesk CAD applications allows arbitrary code execution via malicious image 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-2021-40164?

CVE-2021-40164 is a high-severity memory corruption vulnerability in Autodesk Autocad, published on 7 Oct 2022. 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 heap-based buffer overflow could occur while parsing TIFF, PICT, TGA, or RLC files. This vulnerability may be exploited to execute arbitrary code.

Weakness: CWE-787

Which versions are affected by CVE-2021-40164?

It affects 19 products.

Products include Autodesk Autocad, Autodesk Autocad Advance Steel, Autodesk Autocad Architecture, Autodesk Autocad Civil 3d, Autodesk Autocad Electrical, Autodesk Autocad Lt and 13 more.

How do I fix CVE-2021-40164?

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

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

All Autodesk Autocad vulnerabilities

Sources

Also known as GHSA-h7fr-8788-39j9.

Is CVE-2021-40164 in your software?

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

Check your SBOMs for free