Skip to content
Memory corruption Advisory Intermediate CVE-2021-31983

Paint 3D Remote Code Execution Vulnerability (CVE-2021-31983)

A remote code execution vulnerability exists in Microsoft Paint 3D when it opens a specially crafted file. An attacker could exploit this by convincing a user to open a malicious file, potentially allowing the attacker to run arbitrary code on the victim's system.

Mat Powell Follow

Originally disclosed on Microsoft

High 7.8 View original

FAQ

According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? Exploitation of the vulnerability requires that a user open a specially crafted file. In an email attack scenario, an attacker could exploit the vulnerability by sending the specially crafted file to the user and convincing the user to open the file. In a web-based attack scenario, an attacker could host a website (or leverage a compromised website that accepts or hosts user-provided content) containing a specially crafted file designed to exploit the vulnerability. An attacker would have no way to force users to visit the website. Instead, an attacker would have to convince users to click a link, typically by way of an enticement in an email or instant message, and then convince them to open the specially crafted file.

Paint 3D

Paint 3D

Microsoft

Microsoft

The original report as published on the Microsoft Security Response Center, by Mat Powell of Trend Micro Zero Day Initiative. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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

Impact

An attacker could execute arbitrary code on the victim's machine, but only if the user opens a malicious file.

What the attacker needed

Victim opens a malicious file; attacker convinces victim to open 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.

This is a flaw in Microsoft Paint 3D, a drawing app. If a victim opens a file that an attacker made, the attacker might be able to run their own code on the victim's computer. The victim has to be tricked into opening the file, for example by clicking a link or opening an email attachment.

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 Mat Powell

View all

2,278 more disclosed reports, best first.

More from Microsoft

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.