CVE-2025-21371

8.8 HIGH

📋 TL;DR

This vulnerability allows remote attackers to execute arbitrary code on Windows systems by exploiting a heap-based buffer overflow in the Telephony Service. It affects Windows systems with the Telephony Service enabled, particularly servers and workstations running vulnerable versions.

💻 Affected Systems

Products:
  • Windows Telephony Service
Versions: Windows 10, Windows 11, Windows Server 2016, Windows Server 2019, Windows Server 2022
Operating Systems: Windows
Default Config Vulnerable: ⚠️ Yes
Notes: Systems with Telephony Service enabled are vulnerable. This service may not be running by default on all Windows installations.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Full system compromise with administrative privileges, enabling data theft, ransomware deployment, or persistent backdoor installation across the network.

🟠

Likely Case

Remote code execution leading to malware installation, credential harvesting, and lateral movement within the network.

🟢

If Mitigated

Limited impact due to network segmentation, restricted service permissions, and endpoint protection blocking exploitation attempts.

🌐 Internet-Facing: MEDIUM
🏢 Internal Only: HIGH

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Exploitation requires network access to the Telephony Service port and may require specific conditions to trigger the buffer overflow.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Security update KB5034441 or later

Vendor Advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2025-21371

Restart Required: Yes

Instructions:

1. Open Windows Update settings. 2. Check for updates. 3. Install security update KB5034441. 4. Restart the system when prompted.

🔧 Temporary Workarounds

Disable Telephony Service

Windows

Stops the vulnerable service to prevent exploitation

sc config TapiSrv start= disabled
sc stop TapiSrv

Block Network Access

Windows

Restrict network access to Telephony Service port using firewall

netsh advfirewall firewall add rule name="Block Telephony Service" dir=in action=block protocol=TCP localport=1720

🧯 If You Can't Patch

  • Implement network segmentation to isolate systems with Telephony Service
  • Deploy endpoint detection and response (EDR) solutions to detect exploitation attempts

🔍 How to Verify

Check if Vulnerable:

Check if Telephony Service is running: sc query TapiSrv

Check Version:

systeminfo | findstr /B /C:"OS Name" /C:"OS Version"

Verify Fix Applied:

Verify KB5034441 is installed: wmic qfe list | findstr KB5034441

📡 Detection & Monitoring

Log Indicators:

  • Event ID 4688 with TapiSrv.exe parent process
  • Unexpected service crashes in System logs

Network Indicators:

  • Unusual traffic to port 1720 (H.323) from unexpected sources
  • Suspicious network connections to Telephony Service

SIEM Query:

source="windows" AND (event_id=4688 AND process_name="TapiSrv.exe") OR (event_id=1000 AND faulting_module="tapi32.dll")

🔗 References

📤 Share & Export