AutoCAD: Use After Free
CVE-2024-23142 is a high-severity use after free vulnerability in AutoCAD from Autodesk, with a CVSS 3.1 base score of 7.8 out of 10. It can be exploited with local access to the system by an unauthenticated attacker, but only if a user takes part, for example by opening a link or file. The record lists versions 2025.1, 2024.1.4, 2023.1.6 as the first without the flaw, so updating AutoCAD to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.44% chance of exploitation within 30 days, which is low compared with other CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update AutoCAD to 2025.1 or 2024.1.4 or 2023.1.6 or 2022.1.5, whichever matches your release line, or a later version.
- Update AutoCAD Architecture to 2025.1 or 2024.1.4 or 2023.1.6 or 2022.1.5, whichever matches your release line, or a later version.
- Update AutoCAD Electrical to 2025.1 or 2024.1.4 or 2023.1.6 or 2022.1.5, whichever matches your release line, or a later version.
- Read the advisory on autodesk.com for workarounds and exact fixed builds.
- Because the attack needs a user to take part, warn users about unexpected links and files related to this product until it is patched.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Autodesk | AutoCAD | 2025 up to, but not including, 2025.1; 2024 up to, but not including, 2024.1.4; 2023 up to, but not including, 2023.1.6; 2022 up to, but not including, 2022.1.5; 2024 | 2025.1, 2024.1.4, 2023.1.6, 2022.1.5 |
| Autodesk | AutoCAD Architecture | 2025 up to, but not including, 2025.1; 2024 up to, but not including, 2024.1.4; 2023 up to, but not including, 2023.1.6; 2022 up to, but not including, 2022.1.5; 2024 | 2025.1, 2024.1.4, 2023.1.6, 2022.1.5 |
| Autodesk | AutoCAD Electrical | 2025 up to, but not including, 2025.1; 2024 up to, but not including, 2024.1.4; 2023 up to, but not including, 2023.1.6; 2022 up to, but not including, 2022.1.5; 2024 | 2025.1, 2024.1.4, 2023.1.6, 2022.1.5 |
| Autodesk | AutoCAD Mechanical | 2025 up to, but not including, 2025.1; 2024 up to, but not including, 2024.1.4; 2023 up to, but not including, 2023.1.6; 2022 up to, but not including, 2022.1.5; 2024 | 2025.1, 2024.1.4, 2023.1.6, 2022.1.5 |
| Autodesk | AutoCAD MEP | 2025 up to, but not including, 2025.1; 2024 up to, but not including, 2024.1.4; 2023 up to, but not including, 2023.1.6; 2022 up to, but not including, 2022.1.5; 2024 | 2025.1, 2024.1.4, 2023.1.6, 2022.1.5 |
| Autodesk | AutoCAD Plant 3D | 2025 up to, but not including, 2025.1; 2024 up to, but not including, 2024.1.4; 2023 up to, but not including, 2023.1.6; 2022 up to, but not including, 2022.1.5; 2024 | 2025.1, 2024.1.4, 2023.1.6, 2022.1.5 |
| Autodesk | Civil 3D | 2025 up to, but not including, 2025.1; 2024 up to, but not including, 2024.1.4; 2023 up to, but not including, 2023.1.6; 2022 up to, but not including, 2022.1.5; 2024 | 2025.1, 2024.1.4, 2023.1.6, 2022.1.5 |
| Autodesk | Advance Steel | 2025 up to, but not including, 2025.1; 2024 up to, but not including, 2024.1.4; 2023 up to, but not including, 2023.1.6; 2022 up to, but not including, 2022.1.5; 2024 | 2025.1, 2024.1.4, 2023.1.6, 2022.1.5 |
| Autodesk | AutoCAD MAP 3D | 2025 up to, but not including, 2025.1; 2024 up to, but not including, 2024.1.4; 2023 up to, but not including, 2023.1.6; 2022 up to, but not including, 2022.1.5; 2024 | 2025.1, 2024.1.4, 2023.1.6, 2022.1.5 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- LocalThe attacker needs local access or must trick a user into running something.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- RequiredA user must take an action such as opening a file or link.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. Scored by CNA (autodesk.com).
Official description
A maliciously crafted CATPART, STP, and MODEL file, when parsed in atf_dwg_consumer.dll, rose_x64_vc15.dll and libodxdll through Autodesk applications, can cause a use-after-free vulnerability. This vulnerability, along with other vulnerabilities, can lead to code execution in the current process.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Use After Free
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory belongs to the code that operates on the new pointer.
How developers prevent this class of flaw
- Choose a language that provides automatic memory management.
- When freeing pointers, be sure to set them to NULL once they are freed. However, the utilization of multiple or complex data structures may lower the usefulness of this strategy.
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Other vulnerabilities in AutoCAD
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
- 7.1 High severity
- 7.8 High severity
Recent Use After Free vulnerabilities
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
- 8.8 High severity
- 8.8 High severity
Spotted an error? Tell us.