CVE-2024-26230 — Windows Telephony Server Elevation of Privilege 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:L/UI:N/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 | 5036925 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 for x64-based Systems | 5036925 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 1607 for 32-bit Systems | 5036899 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 1607 for x64-based Systems | 5036899 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 1809 for 32-bit Systems | 5036896 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 1809 for ARM64-based Systems | 5036896 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 1809 for x64-based Systems | 5036896 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 21H2 for 32-bit Systems | 5036892 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 21H2 for ARM64-based Systems | 5036892 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 21H2 for x64-based Systems | 5036892 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 22H2 for 32-bit Systems | 5036892 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 22H2 for ARM64-based Systems | 5036892 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 22H2 for x64-based Systems | 5036892 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 version 21H2 for ARM64-based Systems | 5036894 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 version 21H2 for x64-based Systems | 5036894 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 22H2 for ARM64-based Systems | 5036893 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 22H2 for x64-based Systems | 5036893 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 23H2 for ARM64-based Systems | 5036893 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 23H2 for x64-based Systems | 5036893 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2008 for 32-bit Systems Service Pack 2 5036932 (Monthly Rollup) 5036950 (Security Only) Important Elevation of Privilege 5035920 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 6.0.6003.22618 Yes 5036932 5036950 Windows Server 2008 for 32-bit Systems Service Pack 2 (Server Core installation) 5036932 (Monthly Rollup) 5036950 (Security Only) Important Elevation of Privilege 5035920 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 6.0.6003.22618 Yes 5036932 5036950 Windows Server 2008 for x64-based Systems Service Pack 2 5036932 (Monthly Rollup) 5036950 (Security Only) Important Elevation of Privilege 5035920 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 6.0.6003.22618 Yes 5036932 5036950 Windows Server 2008 for x64-based Systems Service Pack 2 (Server Core installation) 5036932 (Monthly Rollup) 5036950 (Security Only) Important Elevation of Privilege 5035920 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 6.0.6003.22618 Yes 5036932 5036950 Windows Server 2008 R2 for x64-based Systems Service Pack 1 5036967 (Monthly Rollup) 5036922 (Security Only) Important Elevation of Privilege 5035888 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 6.1.7601.27067 Yes None Windows Server 2008 R2 for x64-based Systems Service Pack 1 (Server Core installation) 5036967 (Monthly Rollup) 5036922 (Security Only) Important Elevation of Privilege 5035888 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 6.1.7601.27067 Yes None Windows Server 2012 | 5036969 (Monthly Rollup) |
Important | Elevation of Privilege | Yes |
| Windows Server 2012 (Server Core installation) | 5036969 (Monthly Rollup) |
Important | Elevation of Privilege | Yes |
| Windows Server 2012 R2 | 5036960 (Monthly Rollup) |
Important | Elevation of Privilege | Yes |
| Windows Server 2012 R2 (Server Core installation) | 5036960 (Monthly Rollup) |
Important | Elevation of Privilege | Yes |
| Windows Server 2016 | 5036899 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2016 (Server Core installation) | 5036899 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2019 | 5036896 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2019 (Server Core installation) | 5036896 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2022 | 5036909 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2022 (Server Core installation) | 5036909 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2022, 23H2 Edition (Server Core installation) | 5036910 (Security Update) |
Important | Elevation of Privilege | Yes |
Patches
| Article | Type | Restart |
|---|---|---|
5036925 |
Security Update | Yes |
5036899 |
Security Update | Yes |
5036896 |
Security Update | Yes |
5036892 |
Security Update | Yes |
5036894 |
Security Update | Yes |
5036893 |
Security Update | Yes |
5036969 |
Monthly Rollup | Yes |
5036960 |
Monthly Rollup | Yes |
5036909 |
Security Update | Yes |
5036910 |
Security Update | Yes |
Patch Diff
Use-after-free in Windows Telephony Service (tapisrv.dll). GetUIDllName creates a GOLD dialog object. FreeDialogInstance frees this object without invalidating cross-context pointers. Later TUISPIDLLCallback triggers a virtual function call on the dangling GOLD pointer, leading to arbitrary code execution. Reachable via local RPC to ncalrpc:[tapsrvlpc].
| Function | Address | Change | Note |
|---|---|---|---|
GetUIDllName |
|
modified | Added proper reference counting for GOLD dialog objects |
FreeDialogInstance |
|
modified | Added NULLing of cross-context pointers before freeing GOLD object |
TUISPIDLLCallback |
|
modified | Added validation that GOLD pointer is still valid before virtual function call |
Root Cause Analysis
CVE-2024-26230 — Windows Telephony Service tapisrv.dll Use-After-Free
Summary
| Product | Microsoft Windows — tapisrv.dll (Windows Telephony Service) |
|---|---|
| Vendor | Microsoft Corporation |
| Severity | CVSS v3.1 7.8 (High) |
| CVE Title | Windows Telephony Service Elevation of Privilege Vulnerability |
| CWE | CWE-416 (Use After Free) |
| Affected Versions | Windows 10/11 and Server with Telephony Service enabled |
| Impact | Local EoP — low-privilege user triggers UAF on a GOLD dialog object → SYSTEM |
| Exploited ITW | No |
| Patch Date | April 2024 Patch Tuesday — KB5036892 |
Root Cause
Windows Telephony Service exposes an RPC interface (ncalrpc:[tapsrvlpc]) that
manages telephone-line devices and dialog objects. A GOLD (Global Object for
Line Device) dialog object is created by GetUIDllName when a TAPI application
requests UI DLL information for a line device.
The lifecycle bug:
-
GetUIDllNamecreates a GOLD dialog object and stores its pointer in a cross-context reference list (shared between the TAPI service context and the UI DLL context). -
FreeDialogInstancefrees the GOLD object when the dialog instance is destroyed, but does not invalidate the pointer stored in the cross-context reference list. -
TUISPIDLLCallbacklater traverses the reference list and calls a virtual function on the stale GOLD pointer — use-after-free on a heap allocation containing a vtable, leading to controlled code execution.
The patch (verified in ghidriff diff, 3296 → 3447)
The diff confirms two key functions changed:
-
TUISPIDLLCallback(95% match) — addedWaitForExclusiveClientAccessandLeaveCriticalSectioncalls around the GOLD pointer dereference path. The callback now acquires exclusive access before traversing the reference list and calling the virtual function, preventing the race whereFreeDialogInstancefrees the object whileTUISPIDLLCallbackis still using it. -
FreeDialogInstance(82% match) — synchronized with the same locking primitive so the free and the callback cannot interleave.
Diff: ghidriff/CVE-2024-26230/output/tapisrv-10.0.22621.3296.dll-tapisrv-10.0.22621.3447.dll.ghidriff.md
Reaching the bug — userspace call flow
Fully client-reachable from any low-privilege process that can open the TAPI service RPC endpoint:
user process
│
▼
RpcStringBindingCompose("ncalrpc:[tapsrvlpc]", ...)
RpcBindingFromStringBinding(...)
│
▼
tapi32!lineGetUIDllName ──► tapsrv!GetUIDllName
│ GOLD object created + ptr stored in ref list
▼
tapi32!lineDrop / lineClose ──► tapsrv!FreeDialogInstance
│ GOLD object freed, but ref-list ptr stale
▼
tapi32!lineConfigDialogEdit ──► tapsrv!TUISPIDLLCallback
│ virtual call on freed GOLD → UAF
▼
controlled EIP via vtable hijack
| Element | Value |
|---|---|
| RPC endpoint | ncalrpc:[tapsrvlpc] (local RPC, no network required) |
| Vulnerable functions | tapisrv!GetUIDllName, tapisrv!FreeDialogInstance, tapisrv!TUISPIDLLCallback |
| Object type | GOLD (Global Object for Line Device) dialog — heap-allocated with vtable |
| Privileges | none (standard local user) |
| Preconditions | Telephony Service (TapiSrv) must be running (default on Windows client) |
Detection engineering
- RPC telemetry: ETW
Microsoft-Windows-RPCevents showing calls to the TAPI service interface ({2F5F6521-CA47-1068-B319-00DD010662DB}) from unexpected processes (non-telephony apps). - Behavioral tell: Rapid sequence of
lineGetUIDllName→lineClose→lineConfigDialogEditfrom the same process is abnormal — legitimate TAPI apps rarely exercise this path. - Crash forensics: Heap corruption or access-violation in
tapisrv!TUISPIDLLCallbackwith a stale pointer inrcx/this; verifier may catch the UAF withHEAP_CORRUPTIONorHEAP_FREE_BLOCK_INVALID.
References
Attack Path
Use-after-free on a Telephony dialog object - freed without invalidating the cross-context pointers that still reference it
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
2 public PoCsUnverified third-party code
Public proof-of-concept repositories aggregated from PoC-in-GitHub. They are not reviewed and may be incomplete, non-functional, or malicious — inspect the code before running anything.
| Repository | Stars | Published | Description |
|---|---|---|---|
| Wa1nut4/CVE-2024-26230 | 23 | 2024-08-28 | LPE of CVE-2024-26230 |
| kiwids0220/CVE-2024-26230 | 4 | 2024-04-11 |
Detection Rules
Acknowledgments
None