CVE-2021-31196
Microsoft Exchange Server Remote Code Execution Vulnerability
Mitigation
- Upgrade Microsoft Exchange Server 2013 Cumulative Update 23 to 15.00.1497.023 or later.
- Upgrade Microsoft Exchange Server 2016 Cumulative Update 20 to 15.01.2242.012 or later.
- Upgrade Microsoft Exchange Server 2016 Cumulative Update 21 to 15.01.2308.014 or later.
- Upgrade Microsoft Exchange Server 2019 Cumulative Update 10 to 15.02.0922.013 or later.
- Upgrade Microsoft Exchange Server 2019 Cumulative Update 9 to 15.02.0858.015 or later.
Who should check
- Anyone running Microsoft Exchange Server 2013 Cumulative Update 23 >= 15.00.0, < 15.00.1497.023
- Anyone running Microsoft Exchange Server 2016 Cumulative Update 20 >= 15.01.0, < 15.01.2242.012
- Anyone running Microsoft Exchange Server 2016 Cumulative Update 21 >= 15.01.0, < 15.01.2308.014
- Anyone running Microsoft Exchange Server 2019 Cumulative Update 10 >= 15.02.0, < 15.02.0922.013
- Anyone running Microsoft Exchange Server 2019 Cumulative Update 9 >= 15.02.0, < 15.02.0858.015
Vulnerability facts
- Affected
- Microsoft Exchange Server 2013 Cumulative Update 23 >= 15.00.0, < 15.00.1497.023; Microsoft Exchange Server 2016 Cumulative Update 20 >= 15.01.0, < 15.01.2242.012; Microsoft Exchange Server 2016 Cumulative Update 21 >= 15.01.0, < 15.01.2308.014; Microsoft Exchange Server 2019 Cumulative Update 10 >= 15.02.0, < 15.02.0922.013; Microsoft Exchange Server 2019 Cumulative Update 9 >= 15.02.0, < 15.02.0858.015
- Fixed in
- Microsoft Exchange Server 2013 Cumulative Update 23 15.00.1497.023, Microsoft Exchange Server 2016 Cumulative Update 20 15.01.2242.012, Microsoft Exchange Server 2016 Cumulative Update 21 15.01.2308.014, Microsoft Exchange Server 2019 Cumulative Update 10 15.02.0922.013, Microsoft Exchange Server 2019 Cumulative Update 9 15.02.0858.015
- Exploited in the wild
- Yes: in CISA KEV since 2024-08-21; federal due date 2024-09-11
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.2 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:COpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: High
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- E: U
- RL: O
- RC: C
- EPSS
- 54.06% chance of exploitation in 30 days (percentile 99, 2026-11-26)
- Modified
Description
Microsoft Exchange Server Remote Code Execution Vulnerability
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Microsoft Exchange Server 2013 Cumulative Update 23 | >= 15.00.0, < 15.00.1497.023 | — | cvelist |
| Microsoft Exchange Server 2016 Cumulative Update 20 | >= 15.01.0, < 15.01.2242.012 | — | cvelist |
| Microsoft Exchange Server 2016 Cumulative Update 21 | >= 15.01.0, < 15.01.2308.014 | — | cvelist |
| Microsoft Exchange Server 2019 Cumulative Update 10 | >= 15.02.0, < 15.02.0922.013 | — | cvelist |
| Microsoft Exchange Server 2019 Cumulative Update 9 | >= 15.02.0, < 15.02.0858.015 | — | cvelist |
Timeline
- 2021-07-14 Published
- 2024-08-21 Added to CISA KEV (exploited in the wild)
- 2024-09-11 CISA remediation due date for US federal agencies
- 2026-08-10 Last modified
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-31196. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-31196.md Affected: Microsoft Exchange Server 2013 Cumulative Update 23 >= 15.00.0, < 15.00.1497.023; Microsoft Exchange Server 2016 Cumulative Update 20 >= 15.01.0, < 15.01.2242.012; Microsoft Exchange Server 2016 Cumulative Update 21 >= 15.01.0, < 15.01.2308.014; Microsoft Exchange Server 2019 Cumulative Update 10 >… Fixed in: Microsoft Exchange Server 2013 Cumulative Update 23 15.00.1497.023, Microsoft Exchange Server 2016 Cumulative Update 20 15.01.2242.012, Microsoft Exchange Server 2016 Cumulative Update 21 15.01.2308.014, Microsoft Exchange Server 2019 Cumulative Update 10 15.02.0922.013, Microsoft Exchange Server 2… Steps: 1. Search this machine and project for Microsoft Exchange Server 2013 Cumulative Update 23, Microsoft Exchange Server 2016 Cumulative Update 20, Microsoft Exchange Server 2016 Cumulative Update 21, Microsoft Exchange Server 2019 Cumulative Update 10, Microsoft Exchange Server 2019 Cumulative Update 9: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2021-31196 being exploited?
Yes. CISA lists CVE-2021-31196 in its Known Exploited Vulnerabilities catalog since 2024-08-21, which means attacks have been seen. No public exploit code is known. EPSS estimates a 54.06% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-31196?
High: CVSS 7.2 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2021-31196?
Microsoft Exchange Server 2013 Cumulative Update 23 >= 15.00.0, < 15.00.1497.023; Microsoft Exchange Server 2016 Cumulative Update 20 >= 15.01.0, < 15.01.2242.012; Microsoft Exchange Server 2016 Cumulative Update 21 >= 15.01.0, < 15.01.2308.014; Microsoft Exchange Server 2019 Cumulative Update 10 >= 15.02.0, < 15.02.0922.013; Microsoft Exchange Server 2019 Cumulative Update 9 >= 15.02.0, < 15.02.0858.015.
Is there a fix for CVE-2021-31196?
Yes. Fixed in Microsoft Exchange Server 2013 Cumulative Update 23 15.00.1497.023, Microsoft Exchange Server 2016 Cumulative Update 20 15.01.2242.012, Microsoft Exchange Server 2016 Cumulative Update 21 15.01.2308.014, Microsoft Exchange Server 2019 Cumulative Update 10 15.02.0922.013, Microsoft Exchange Server 2019 Cumulative Update 9 15.02.0858.015. Upgrade Microsoft Exchange Server 2013 Cumulative Update 23 to 15.00.1497.023 or later. Upgrade Microsoft Exchange Server 2016 Cumulative Update 20 to 15.01.2242.012 or later. Upgrade Microsoft Exchange Server 2016 Cumulative Update 21 to 15.01.2308.014 or later. Upgrade Microsoft Exchange Server 2019 Cumulative Update 10 to 15.02.0922.013 or later. Upgrade Microsoft Exchange Server 2019 Cumulative Update 9 to 15.02.0858.015 or later.
How do I check if I'm affected by CVE-2021-31196?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.