CVE-2021-40158
CVE-2021-40158 is a high-severity vulnerability in Autodesk Advance Steel with a CVSS 3.x base score of 7.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-125.
Key facts
- Severity: High (CVSS 3.x base score 7.8)
- CVSS v2: 6.8
- EPSS exploit prediction: 3% (85th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-125
- Affected product: Autodesk Advance Steel
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2021-40158?
- 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.
- How severe is CVE-2021-40158?
- CVE-2021-40158 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2021-40158 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (85th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-40158?
- CVE-2021-40158 primarily affects Autodesk Advance Steel. In total, 14 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2021-40158?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2021-40158 published?
- CVE-2021-40158 was published on 2022-01-25 and last updated on 2026-06-17.
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/
- https://www.zerodayinitiative.com/advisories/ZDI-22-447/
- https://www.zerodayinitiative.com/advisories/ZDI-22-448/
- https://www.zerodayinitiative.com/advisories/ZDI-22-449/
- https://www.zerodayinitiative.com/advisories/ZDI-22-450/
- https://www.zerodayinitiative.com/advisories/ZDI-22-451/
- https://www.zerodayinitiative.com/advisories/ZDI-22-452/
- https://www.zerodayinitiative.com/advisories/ZDI-22-453/
- https://www.zerodayinitiative.com/advisories/ZDI-22-454/
- https://www.zerodayinitiative.com/advisories/ZDI-22-455/
- https://www.zerodayinitiative.com/advisories/ZDI-22-466/
Affected products (14)
- cpe:2.3:a:autodesk:advance_steel:*:*:*:*:*:*:*:*
- cpe:2.3:a:autodesk:autocad:*:*:*:*:*:*:*:*
- cpe:2.3:a:autodesk:autocad_architecture:*:*:*:*:*:*:*:*
- cpe:2.3:a:autodesk:autocad_electrical:*:*:*:*:*:*:*:*
- cpe:2.3:a:autodesk:autocad_lt:*:*:*:*:*:*:*:*
- cpe:2.3:a:autodesk:autocad_map_3d:*:*:*:*:*:*:*:*
- cpe:2.3:a:autodesk:autocad_mechanical:*:*:*:*:*:*:*:*
- cpe:2.3:a:autodesk:autocad_mep:*:*:*:*:*:*:*:*
- cpe:2.3:a:autodesk:autocad_plant_3d:*:*:*:*:*:*:*:*
- cpe:2.3:a:autodesk:civil_3d:*:*:*:*:*:*:*:*
- cpe:2.3:a:autodesk:inventor:*:*:*:*:*:*:*:*
- cpe:2.3:a:autodesk:inventor:2019:*:*:*:*:*:*:*
- cpe:2.3:a:autodesk:inventor:2020:*:*:*:*:*:*:*
- cpe:2.3:a:autodesk:inventor:2021:*:*:*:*:*:*:*
More vulnerabilities in Autodesk Advance Steel
- CVE-2025-8894 — High (CVSS 7.8): A maliciously crafted PDF file, when parsed through certain Autodesk products, can force a Heap-Based Overflow…
- CVE-2025-8893 — High (CVSS 7.8): A maliciously crafted PDF file, when parsed through certain Autodesk products, can force an Out-of-Bounds Write…
- CVE-2025-5048 — High (CVSS 7.8): A maliciously crafted DGN file, when linked or imported into Autodesk AutoCAD, can force a Memory Corruption…
- CVE-2025-5047 — High (CVSS 7.8): A maliciously crafted DGN file, when parsed through Autodesk AutoCAD, can force an Uninitialized Variable…
- CVE-2025-5046 — High (CVSS 7.8): A maliciously crafted DGN file, when linked or imported into Autodesk AutoCAD, can force an Out-of-Bounds Read…
- CVE-2025-1276 — High (CVSS 7.8): A maliciously crafted DWG file, when parsed through certain Autodesk applications, can force an Out-of-Bounds Write…
All CVEs affecting Autodesk Advance Steel →
Other CWE-125 (Out-of-bounds Read) vulnerabilities
- CVE-2026-24826 — Critical (CVSS 10.0): Out-of-bounds Write, Divide By Zero, NULL Pointer Dereference, Use of Uninitialized Resource, Out-of-bounds Read,…
- CVE-2024-22004 — Critical (CVSS 10.0): Due to length check, an attacker with privilege access on a Linux Nonsecure operating system can trigger a…
- CVE-2021-41556 — Critical (CVSS 10.0): sqclass.cpp in Squirrel through 2.2.5 and 3.x through 3.1 allows an out-of-bounds read (in the core interpreter) that…
- CVE-2021-21777 — Critical (CVSS 10.0): An information disclosure vulnerability exists in the Ethernet/IP UDP handler functionality of EIP Stack Group OpENer…
- CVE-2017-14451 — Critical (CVSS 10.0): An exploitable out-of-bounds read vulnerability exists in libevm (Ethereum Virtual Machine) of CPP-Ethereum. A…
- CVE-2013-0767 — Critical (CVSS 10.0): The nsSVGPathElement::GetPathLengthScale function in Mozilla Firefox before 18.0, Firefox ESR 10.x before 10.0.12 and…