Home / Microsoft / Visual Studio 2019 for Mac / CVE-2021-24112
CVE-2021-24112: is it exploited, and which versions of Microsoft Visual Studio 2019 for Mac are affected and fixed?
CVE-2021-24112 is a code injection (remote code execution) vulnerability in Microsoft Visual Studio 2019 for Mac. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: System.Drawing.Common from 4.0.0 before 4.7.2 and System.Drawing.Common from 5.0.0 before 5.0.3 (GitHub advisory GHSA-rxg9-xrhp-64gj). Fixed in 4.7.2 and 5.0.3 (GitHub advisory GHSA-rxg9-xrhp-64gj). Severity: High (8.1, CVSS 3.1, from microsoft).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 08:03 UTC.
What is CVE-2021-24112?
.NET Core Remote Code Execution Vulnerability
From the CVE record by microsoft, last updated October 7, 2026, 16:15 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Microsoft | Visual Studio 2019 for Mac Unknown | from 8.0.0 before publication | publication |
| Microsoft | Mono 6.12.0 Unknown | from 6.12.0 before publication | publication |
| Microsoft | .NET Core 2.1 Unknown | from 2.1 before publication | publication |
| Microsoft | .NET Core 3.1 Unknown | from 3.1 before publication | publication |
| Microsoft | .NET 5.0 Unknown | from 5.0.0 before publication | publication |
As the CVE record by microsoft states it, last updated October 7, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| NuGet | System.Drawing.Common | >= 4.0.0, < 4.7.2 | 4.7.2 | GHSA-rxg9-xrhp-64gj |
| NuGet | System.Drawing.Common | >= 5.0.0, < 5.0.3 | 5.0.3 | GHSA-rxg9-xrhp-64gj |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 25, 2022. Summary: .NET Core Remote Code Execution Vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| microsoft | .net | from 5.0 through 5.0.2 | application |
| microsoft | .net core | from 2.1 through 2.1.24 | application |
| microsoft | .net core | from 3.1 through 3.1.11 | application |
| microsoft | mono | from 6.12.0 before 6.12.0.122 | application |
| microsoft | visual studio 2019 | all versions | application |
NVD analysis (status Modified), last modified October 7, 2026, 17:16 UTC.
How severe is CVE-2021-24112?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C | microsoft |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-24112 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, October 7, 2026)
- EPSS
- 3.76% probability of exploitation activity in the next 30 days, percentile 90.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- January 13, 2021
- Published
- February 25, 2021, 23:01 UTC
- CVE record updated
- October 7, 2026, 16:15 UTC by microsoft
- NVD
- Modified, last modified October 7, 2026, 17:16 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 08:03 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Visual Studio 2019 for Mac?
- Feb 25, 2021CVE-2021-26701 Microsoft .NET Core 2.1: Remote Code Execution
Every CVE in Visual Studio 2019 for Mac
Questions about CVE-2021-24112
Is CVE-2021-24112 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 3.76% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Microsoft Visual Studio 2019 for Mac are affected by CVE-2021-24112?
System.Drawing.Common from 4.0.0 before 4.7.2 and System.Drawing.Common from 5.0.0 before 5.0.3, per the GitHub advisory GHSA-rxg9-xrhp-64gj. The tables above give every range the sources list.
Which version fixes CVE-2021-24112?
4.7.2 and 5.0.3, per the GitHub advisory GHSA-rxg9-xrhp-64gj. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-24112?
High (8.1, CVSS 3.1, from microsoft). The severity table above shows each score with its source.
Where is the official record of CVE-2021-24112?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.