CVE-2021-40161 Memory corruption in Revit, Navisworks, Autodesk® Advance Steel, AutoCAD®, AutoCAD® Architecture, AutoCAD® Electrical, AutoCAD® Map 3D, AutoCAD® Mechanical, AutoCAD® MEP, AutoCAD® Plant 3D, AutoCAD® LT, Autodesk® Civil 3D, AutoCAD® Mac, AutoCAD® LT for Mac
Attackers can execute arbitrary code via malicious DLL files in Autodesk products using the PDFTron library.
- 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-40161?
CVE-2021-40161 is a high-severity memory corruption vulnerability in Autodesk Advance Steel, published on 23 Dec 2021. 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 Memory Corruption vulnerability may lead to code execution through maliciously crafted DLL files through PDFTron earlier than 9.0.7 version.
Weakness: CWE-787
Which versions are affected by CVE-2021-40161?
It affects 13 products.
Products include Autodesk Advance Steel, Autodesk Autocad, Autodesk Autocad Architecture, Autodesk Autocad Electrical, Autodesk Autocad Lt, Autodesk Autocad Map 3d and 7 more.
How do I fix CVE-2021-40161?
No fix has been published for CVE-2021-40161 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-40161 being exploited?
There is no known exploitation of CVE-2021-40161 in the wild and no public exploit code.
Other vulnerabilities in Autodesk Advance Steel
- CVE-2026-7406 BMP File Parsing Untrusted Pointer Dereference in certain Autodesk products
- CVE-2026-16463 DXF File Parsing Heap-Based Overflow in Autodesk AutoCAD
- CVE-2025-8893 PDF File Parsing Out-of-Bounds Write Vulnerability
- CVE-2025-8894 PDF File Parsing Heap-Based Buffer Overflow Vulnerability
- CVE-2025-5046 DGN File Parsing Out-of-Bounds Read Vulnerability
Sources
Also known as GHSA-v4wc-276h-mcm2.