CVE-2021-24083 — Windows Address Book Remote Code Execution Vulnerability
Executive Summary
None
Overview
Verified Attribution
Binary/function confirmed from a public vendor or researcher report; this pin overrides the keyword heuristic.
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
EPSS Score
Affected Products
| Product | KB Article | Severity | Impact | Restart Required |
|---|---|---|---|---|
| Windows 10 for 32-bit Systems | 4601331 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 10 for x64-based Systems | 4601331 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 10 Version 1607 for 32-bit Systems | 4601318 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 10 Version 1607 for x64-based Systems | 4601318 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 10 Version 1803 for 32-bit Systems | 4601354 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 10 Version 1803 for ARM64-based Systems | 4601354 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 10 Version 1803 for x64-based Systems | 4601354 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 10 Version 1809 for 32-bit Systems | 4601345 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 10 Version 1809 for ARM64-based Systems | 4601345 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 10 Version 1809 for x64-based Systems | 4601345 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 10 Version 1909 for 32-bit Systems | 4601315 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 10 Version 1909 for ARM64-based Systems | 4601315 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 10 Version 1909 for x64-based Systems | 4601315 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 10 Version 2004 for 32-bit Systems | 4601319 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 10 Version 2004 for ARM64-based Systems | 4601319 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 10 Version 2004 for x64-based Systems | 4601319 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 10 Version 20H2 for 32-bit Systems | 4601319 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 10 Version 20H2 for ARM64-based Systems | 4601319 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows 7 for 32-bit Systems Service Pack 1 4601347 (Monthly Rollup) 4601363 (Security Only) Important Remote Code Execution 4598279 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C Yes 4601347 4601363 Windows 7 for x64-based Systems Service Pack 1 4601347 (Monthly Rollup) 4601363 (Security Only) Important Remote Code Execution 4598279 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C Yes 4601347 4601363 Windows 8.1 for 32-bit systems 4601384 (Monthly Rollup) 4601349 (Security Only) Important Remote Code Execution 4598285 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C Yes 4601384 4601349 Windows 8.1 for x64-based systems 4601384 (Monthly Rollup) 4601349 (Security Only) Important Remote Code Execution 4598285 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C Yes 4601384 4601349 Windows RT 8.1 | 4601384 (Monthly Rollup) |
Important | Remote Code Execution | Yes |
| Windows Server 2008 R2 for x64-based Systems Service Pack 1 4601347 (Monthly Rollup) 4601363 (Security Only) Important Remote Code Execution 4598279 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C Yes 4601347 4601363 Windows Server 2008 R2 for x64-based Systems Service Pack 1 (Server Core installation) 4601347 (Monthly Rollup) 4601363 (Security Only) Important Remote Code Execution 4598279 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C Yes 4601347 4601363 Windows Server 2012 4601348 (Monthly Rollup) 4601357 (Security Only) Important Remote Code Execution 4598278 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C Yes 4601348 4601357 Windows Server 2012 (Server Core installation) 4601348 (Monthly Rollup) 4601357 (Security Only) Important Remote Code Execution 4598278 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C Yes 4601348 4601357 Windows Server 2012 R2 4601384 (Monthly Rollup) 4601349 (Security Only) Important Remote Code Execution 4598285 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C Yes 4601384 4601349 Windows Server 2012 R2 (Server Core installation) 4601384 (Monthly Rollup) 4601349 (Security Only) Important Remote Code Execution 4598285 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C Yes 4601384 4601349 Windows Server 2016 | 4601318 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows Server 2016 (Server Core installation) | 4601318 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows Server 2019 | 4601345 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows Server 2019 (Server Core installation) | 4601345 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows Server, version 1909 (Server Core installation) | 4601315 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows Server, version 2004 (Server Core installation) | 4601319 (Security Update) |
Important | Remote Code Execution | Yes |
| Windows Server, version 20H2 (Server Core Installation) | 4601319 (Security Update) |
Important | Remote Code Execution | Yes |
Patches
| Article | Type | Restart |
|---|---|---|
4601331 |
Security Update | Yes |
4601318 |
Security Update | Yes |
4601354 |
Security Update | Yes |
4601345 |
Security Update | Yes |
4601315 |
Security Update | Yes |
4601319 |
Security Update | Yes |
4601384 |
Monthly Rollup | Yes |
Patch Diff
Patch diff 10.0.19041.388 -> 10.0.19041.804 (WAB property-array validation; new SecurityCheckMultiValueSimplePropTag helper)
| Function | Address | Change | Note |
|---|---|---|---|
SecurityCheckPropArrayBuffer |
1800353e4 -> 18003549c |
code, length, address, called | similarity 0.15 |
Root Cause Analysis
CVE-2021-24083 — Windows Address Book wab32.dll Heap Buffer Overflow
Summary
| Product | Microsoft Windows — wab32.dll (Windows Address Book) |
|---|---|
| Vendor | Microsoft Corporation |
| Severity | CVSS v3.1 7.8 (High) |
| CVE Title | Windows Address Book Remote Code Execution Vulnerability |
| CWE | CWE-122 (Heap-based Buffer Overflow) |
| Affected Versions | Windows 10/11 with Windows Address Book / Outlook Express |
| Impact | User-interaction required — opening malicious .wab/.vcf file → RCE |
| Exploited ITW | No |
| Patch Date | February 2021 Patch Tuesday |
Root Cause
The Windows Address Book (wab32.dll) parses contact property arrays from
.wab (Windows Address Book) and .vcf (vCard) files. Two functions are
involved in the vulnerability:
SecurityCheckPropArrayBuffer— validates the property array buffer before processing.HrGetPropArrayFromBuffer— reads properties from the buffer into a heap-allocated array.
The bug: SecurityCheckPropArrayBuffer computes the required buffer size based
on the property count and sizes, but does not fully validate that the computed
size matches the actual buffer length. When HrGetPropArrayFromBuffer later
copies properties into the heap array, it can read past the end of the input
buffer and write past the end of the output array — heap buffer overflow.
The overflow data is controlled by the attacker (embedded in the .wab/.vcf file) and can corrupt heap metadata or adjacent objects.
The patch (verified in ghidriff diff — wab32.dll 10.0.19041.388 → 10.0.19041.804)
- Modified:
SecurityCheckPropArrayBuffer(73 % match, 415 → 264 bytes) — the validation loop was completely rewritten. - Added:
SecurityCheckMultiValueSimplePropTag(177 bytes) — new helper that validates multi-value property entries. - The rewritten loop now calls
SecurityCheckMultiValueSimplePropTagfor each multi-value property. That helper checks*(uint *)(prop + 4) <= remaining_sizeand verifieselement_size × countconsistency before advancing the pointer. - This closes the path where malformed
count/sizefields in a.wabor.vcfproperty array caused the heap buffer overflow.
Reaching the bug — file-based attack
Requires user interaction (opening a malicious file):
Attacker-crafted .wab or .vcf file
│
▼
User double-clicks file (or opens in Outlook/Windows Contacts)
│
▼
wab32!HrGetPropArrayFromBuffer
│ reads property count from file header
▼
wab32!SecurityCheckPropArrayBuffer
│ incomplete validation — accepts malformed count/size
▼
wab32!HrGetPropArrayFromBuffer (continued)
│
▼
memcpy(property_data) ← reads/writes past buffer bounds → heap overflow
| Element | Value |
|---|---|
| Attack vector | Malicious .wab or .vcf file |
| Vulnerable functions | wab32!SecurityCheckPropArrayBuffer, wab32!HrGetPropArrayFromBuffer |
| Allocation | Heap (via CoTaskMemAlloc or similar COM allocator) |
| User interaction | Required — user must open the file |
| Privileges | Runs as the opening user (Medium IL typically) |
Detection engineering
- Email security: Block
.waband.vcfattachments from untrusted sources. - Endpoint: Alert on processes launching
wab.exeor loadingwab32.dllwith a file from an untrusted zone (internet download, temp folder). - Crash forensics: Heap corruption in
wab32!HrGetPropArrayFromBufferwith a malformed.wab/.vcffile on the stack or in the crash dump.
References
Attack Path
Heap overflow from a crafted address-book or vCard file - property-array validation does not match what the reader copies
Derived from the patch delta: the checks added by the vendor identify which fields crossed a trust boundary unvalidated. Reachability and privilege are taken from the call chain in the RCA report.
Exploits & PoC
Detection Rules
Acknowledgments
Mat Powell of Trend Micro Zero Day Initiative