Skip to content
Memory corruption Advisory Advanced CVE-2019-7358

AutoDesk AutoCAD 2019 DXF-parsing code execution vulnerability

A heap overflow exists in AutoCAD's DXF parser when handling the 310 group code. An attacker could cause code execution by convincing a victim to open a malicious DXF file.

Cory Duplantis Follow

Originally disclosed on Cisco Talos

High 8.8 View original

An exploitable heap overflow vulnerability exists in the DXF-parsing functionality of AutoDesk AutoCAD 2019 P.46.0.0. A specially crafted DXF file can cause a heap overflow, resulting in code execution.

Cory Duplantis, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely an integer overflow in the size calculation for the 310 group code data leads to a one-byte allocation, followed by a loop that writes beyond that buffer.

Impact

An attacker could execute arbitrary code in the context of the AutoCAD process, but the victim must open a malicious document.

What the attacker needed

Victim opens a malicious DXF file

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A heap overflow is a memory corruption bug where a program writes more data than it allocated, potentially overwriting other memory. In this case, a specially crafted DXF file can trigger the overflow, and an attacker could exploit it to run their own code on the victim's computer.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Cory Duplantis

View all

35 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.