CVE-2021-40158 Memory corruption in Inventor
Attackers can execute arbitrary code by tricking users into opening malicious JT files in Autodesk Inventor or AutoCAD.
- 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-40158?
CVE-2021-40158 is a high-severity memory corruption vulnerability in Autodesk Advance Steel, published on 25 Jan 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 maliciously crafted JT file in Autodesk Inventor 2022, 2021, 2020, 2019 and AutoCAD 2022 may be forced to read beyond allocated boundaries when parsing the JT file. This vulnerability in conjunction with other vulnerabilities could lead to code execution in the context of the current process.
Weakness: CWE-125
Which versions are affected by CVE-2021-40158?
It affects 11 products.
Products include Autodesk Advance Steel, Autodesk Autocad, Autodesk Autocad Architecture, Autodesk Autocad Electrical, Autodesk Autocad Lt, Autodesk Autocad Map 3d and 5 more.
How do I fix CVE-2021-40158?
No fix has been published for CVE-2021-40158 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-40158 being exploited?
There is no known exploitation of CVE-2021-40158 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-8pc8-96q3-294c.