Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2024-26230: Windows Telephony Service Use-After-Free Elevation of Privilege

Published Apr 9, 2024 · Updated 20 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS24.1%98th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Microsoft Corporation
IdentifiersCVE-2024-26230CWE-416 · Use After Free

CVE-2024-26230 is an elevation-of-privilege vulnerability in the Microsoft Windows Telephony Service (TapiSrv). The flaw is a use-after-free condition in the service’s handling of telephony dialog-related objects, specifically in FreeDialogInstance, which can free a GOLD object without validating that the object belongs to the calling context handle. A separate context can therefore cause an object still referenced elsewhere to be deallocated, leaving a dangling pointer. The stale pointer is later dereferenced by TUISPIDLLCallback, which performs a virtual function call on attacker-influenced data. The described exploitation technique reclaims the freed heap slot with attacker-controlled data sourced from a user-writable telephony registry value, allowing construction of a fake object and redirection of execution within the TapiSrv process.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows a local attacker to execute code in the security context of the Telephony service, resulting in elevation of privilege. The described exploit achieves code execution as Network Service inside the TapiSrv process and can then be chained with impersonation-based techniques to escalate further to SYSTEM on affected hosts. In addition to privilege escalation, exploitation can provide full compromise of the service process, including arbitrary code execution, persistence opportunities, and the ability to leverage the service account’s privileges for follow-on actions.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, reduce exposure by preventing unprivileged users from starting the Telephony service where operationally feasible, since the service is not running by default in the described scenario. Monitor for unexpected Telephony service starts, crashes, and anomalous RPC activity involving TapiSrv. Restrict local user access where possible and harden systems against post-exploitation privilege-escalation chains that rely on service-account impersonation privileges. These measures are compensating controls only and do not eliminate the underlying flaw.

Remediation

Patch, then assume compromise.

Apply Microsoft’s April 2024 security updates that patch CVE-2024-26230 in the Windows Telephony Service. Remediation requires updating affected Windows systems to vendor-fixed builds so that the improper object lifetime and ownership handling in TapiSrv is corrected. Standard patch validation should include confirming the relevant cumulative update is installed on all affected endpoints and servers where the Telephony service may be present or startable by unprivileged users.

Public exploits

Exploits

2 exploits validated by Mallory's analysis.

View more in app →
CVE-2024-26230This repository contains a working exploit for CVE-2024-26230, a vulnerability in the Microsoft Windows TAPI (Tapisrv) service. The exploit is implemented in C++ and is structured as a Visual Studio project, with the main logic in 'CVE-2024-26230.cpp' and supporting code in several header and helper files. The exploit leverages crafted RPC requests to the Tapisrv service, manipulating heap memory and function pointers to achieve arbitrary DLL injection. The payload path is hardcoded as 'C:\users\kiwi\desktop\test.dll', which will be loaded into the Tapisrv process using LoadLibraryA. The exploit requires access to the Tapisrv RPC endpoint, which may be exposed via a named pipe (\\pipe\tapsrv) or over TCP/IP (e.g., 10.4.99.1). The code includes helper classes for interacting with Windows services and detailed structures for the crafted RPC messages. The exploit is marked as unstable and is intended for research purposes only. The repository does not include a detection script or Metasploit module, and the exploit is operational with a hardcoded payload.kiwids0220 · Disclosed Apr 11, 2024 · c++ · c · local · networkOperationalCVE-2024-26230This repository contains a local privilege escalation exploit targeting the Microsoft Windows Telephony Application Programming Service (TAPSRV) via its RPC interface. The main exploit logic resides in 'exp/exp.cpp', which orchestrates a Use-After-Free (UAF) attack by manipulating the TAPSRV RPC context and request handling. The exploit crafts specific RPC requests to create and free objects in the service, then reuses freed memory to inject a payload. The payload is a DLL (e.g., 'C:\Users\SRHla\AppData\Roaming\hack.dll') that is written into memory and loaded into the TAPSRV process using VirtualAlloc and LoadLibraryW, resulting in code execution as SYSTEM. The exploit also manipulates a registry value ('HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Telephony\HandoffPriorities\RequestMakeCall') to facilitate the attack. The repository includes MIDL-generated RPC stubs and headers for the TAPSRV interface, as well as helper code for RPC binding. The attack vector is local, requiring the attacker to execute code on the target machine. The exploit demonstrates operational maturity, providing a working payload and detailed exploitation steps.Wa1nut4 · Disclosed Aug 28, 2024 · c · cpp · localOperational
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Microsoft CorporationWindows 10 1507operating_system
Microsoft CorporationWindows 10 1607operating_system
Microsoft CorporationWindows 10 1809operating_system
Microsoft CorporationWindows 10 21h2operating_system
Microsoft CorporationWindows 10 22h2operating_system
Microsoft CorporationWindows 11 21h2operating_system
Microsoft CorporationWindows 11 22h2operating_system
Microsoft CorporationWindows 11 23h2operating_system
Microsoft CorporationWindows Server 2008operating_system
Microsoft CorporationWindows Server 2008 R2operating_system
Microsoft CorporationWindows Server 2008 Sp2operating_system
Microsoft CorporationWindows Server 2012operating_system
Microsoft CorporationWindows Server 2012 R2operating_system
Microsoft CorporationWindows Server 2016operating_system
Microsoft CorporationWindows Server 2019operating_system
Microsoft CorporationWindows Server 2022operating_system
Microsoft CorporationWindows Server 2022 23h2operating_system
Microsoft CorporationWindows Server 23h2operating_system
FAQ

Frequently asked questions

Is CVE-2024-26230 exploited in the wild?
As of Nov 4, 2026, Mallory has no reports of CVE-2024-26230 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2024-26230?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2024-26230, the earliest disclosed Apr 11, 2024.
Is there a patch for CVE-2024-26230?
Apply Microsoft’s April 2024 security updates that patch CVE-2024-26230 in the Windows Telephony Service. Remediation requires updating affected Windows systems to vendor-fixed builds so that the improper object lifetime and ownership handling in TapiSrv is corrected.
What products are affected by CVE-2024-26230?
Microsoft Corporation Windows 10 1507, Microsoft Corporation Windows 10 1607, Microsoft Corporation Windows 10 1809, Microsoft Corporation Windows 10 21h2, Microsoft Corporation Windows 10 22h2, and 13 more.
How severe is CVE-2024-26230?
CVE-2024-26230 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 24.1% (98th percentile) as of Nov 4, 2026.
Activity feed

Recent activity

4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malware1Malware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.