What’s Vulnerable › Vulnerabilities
CVE-2021-40158
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-01-25 · updated 2026-10-08
- Weakness: CWE-125
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.
Affected products
- Autodesk Advance Steel: from 2022 before 2022.1.2 — fixed in 2022.1.2
- Autodesk AutoCAD: from 2022 before 2022.1.2 — fixed in 2022.1.2
- Autodesk AutoCAD Architecture: from 2022 before 2022.1.2 — fixed in 2022.1.2
- Autodesk AutoCAD Electrical: from 2022 before 2022.1.2 — fixed in 2022.1.2
- Autodesk AutoCAD LT: from 2022 before 2022.1.2 — fixed in 2022.1.2
- Autodesk AutoCAD MAP 3D: from 2022 before 2022.1.2 — fixed in 2022.1.2
- Autodesk AutoCAD Mechanical: from 2022 before 2022.1.2 — fixed in 2022.1.2
- Autodesk AutoCAD MEP: from 2022 before 2022.1.2 — fixed in 2022.1.2
- Autodesk AutoCAD Plant 3D: from 2022 before 2022.1.2 — fixed in 2022.1.2
- Autodesk Civil 3D: from 2022 before 2022.1.2 — fixed in 2022.1.2
- Autodesk Inventor: from 2022 before 2022.2; 2019, 2020, 2021 — fixed in 2022.2
How to fix
Upgrade to a fixed version: Autodesk Advance Steel 2022.1.2; Autodesk AutoCAD 2022.1.2; Autodesk AutoCAD Architecture 2022.1.2; Autodesk AutoCAD Electrical 2022.1.2; Autodesk AutoCAD LT 2022.1.2; Autodesk AutoCAD MAP 3D 2022.1.2; Autodesk AutoCAD Mechanical 2022.1.2; Autodesk AutoCAD MEP 2022.1.2; Autodesk AutoCAD Plant 3D 2022.1.2; Autodesk Civil 3D 2022.1.2; Autodesk Inventor 2022.2. Check the vendor advisory for mitigations.
References
- https://www.autodesk.com/trust/security-advisories/adsk-sa-2022-0002
- https://www.zerodayinitiative.com/advisories/ZDI-22-281/
- https://www.zerodayinitiative.com/advisories/ZDI-22-283/
- https://www.zerodayinitiative.com/advisories/ZDI-22-284/
- https://www.zerodayinitiative.com/advisories/ZDI-22-285/
- https://www.zerodayinitiative.com/advisories/ZDI-22-286/
- https://www.zerodayinitiative.com/advisories/ZDI-22-287/
- https://www.zerodayinitiative.com/advisories/ZDI-22-288/
- https://www.zerodayinitiative.com/advisories/ZDI-22-441/
- https://www.zerodayinitiative.com/advisories/ZDI-22-443/
- https://www.zerodayinitiative.com/advisories/ZDI-22-444/
- https://www.zerodayinitiative.com/advisories/ZDI-22-445/
Get alerted when CVE-2021-40158 or the next vulnerability affects your stack