Advisory Details

September 16th, 2021

Microsoft Visual Studio DDS File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

ZDI-21-1076
ZDI-CAN-14041

CVE ID CVE-2021-36952
CVSS SCORE 7.0, (AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H)
AFFECTED VENDORS Microsoft
AFFECTED PRODUCTS Visual Studio
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Microsoft Visual Studio. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the parsing of DDS files. Crafted data in a DDS file can trigger an overflow of a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process.

ADDITIONAL DETAILS Microsoft has issued an update to correct this vulnerability. More details can be found at:
https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-36952
DISCLOSURE TIMELINE
  • 2021-06-25 - Vulnerability reported to vendor
  • 2021-09-16 - Coordinated public release of advisory
CREDIT Wenguang Jiao
BACK TO ADVISORIES