# CVE-2021-27042: A maliciously crafted DWG file can be used to write beyond the allocated buffer while parsing DWG files.

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.80%, higher than 79% of CVEs (2026-12-01)
- Published: 2021-06-25T12:41:19.000Z
- Modified: 2026-06-17T03:44:10.770Z
- Weaknesses: CWE-755
- Assigned by: autodesk

## Description

A maliciously crafted DWG file can be used to write beyond the allocated buffer while parsing DWG files. The vulnerability exists because the application fails to handle a crafted DWG file, which causes an unhandled exception. An attacker can leverage this vulnerability to execute arbitrary code.

(As written by CVE List.)

## Affected

- Autodesk Advanced Steel, Civil 3D, AutoCAD, AutoCAD LT, AutoCAD Architecture, AutoCAD Electrical, AutoCAD Map 3D, AutoCAD Mechanical, AutoCAD MEP, AutoCAD Plant 3D: 2022.1.1
- autodesk advance_steel: from 2019 before 2019.1.3; from 2020 before 2020.1.4; from 2021 before 2021.1.1; from 2022 before 2022.0.1
- autodesk autocad: from 2019 before 2019.1.3; from 2020 before 2020.1.4; from 2021 before 2021.1.1; from 2022 before 2022.0.1
- autodesk autocad_architecture: from 2019 before 2019.1.3; from 2020 before 2020.1.4; from 2021 before 2021.1.1; from 2022 up to 2022.0.1
- autodesk autocad_electrical: from 2019 before 2019.1.3; from 2020 before 2020.1.4; from 2021 before 2021.1.1; from 2022 before 2022.0.1
- autodesk autocad_lt: from 2019 before 2019.1.3; from 2020 before 2020.1.4; from 2021 before 2021.1.1; from 2022 before 2022.0.1
- autodesk autocad_map_3d: from 2019 before 2019.1.3; from 2020 before 2020.1.4; from 2021 before 2021.1.1; from 2022 before 2022.0.1
- autodesk autocad_mechanical: from 2019 before 2019.1.3; from 2020 before 2020.1.4; from 2021 before 2021.1.1; from 2022 before 2022.0.1
- autodesk autocad_mep: from 2019 before 2019.1.3; from 2020 before 2020.1.4; from 2021 before 2021.1.1; from 2022 before 2022.0.1
- autodesk autocad_plant_3d: from 2019 before 2019.1.3; from 2020 before 2020.1.4; from 2021 before 2021.1.1; from 2022 before 2022.0.1
- autodesk civil_3d: from 2019 before 2019.1.3; from 2020 before 2020.1.4; from 2021 before 2021.1.1; from 2022 before 2022.0.1

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://www.autodesk.com/trust/security-advisories/adsk-sa-2022-0007> (vendor-advisory)

## Sources

- CVE List: [CVE-2021-27042](https://www.cve.org/CVERecord?id=CVE-2021-27042), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-27042](https://nvd.nist.gov/vuln/detail/CVE-2021-27042), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-27042 · Whole record: https://cve.day/CVE-2021-27042.json · Rebuilt by cve.day 2026-11-25T22:58:02.319Z
