Skip to main content
Vulnerability Database/CVE-2025-50166

CVE-2025-50166: Windows 10 1507 MSDTC Info Disclosure

CVE-2025-50166 is an information disclosure vulnerability in Windows Distributed Transaction Coordinator affecting Windows 10 1507. An integer overflow allows authorized attackers to access sensitive data over a network.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-50166 Overview

CVE-2025-50166 is an integer overflow vulnerability [CWE-190] affecting the Windows Distributed Transaction Coordinator (MSDTC) service. An authenticated attacker can exploit the integer wraparound condition over a network to disclose sensitive information from affected Windows systems. The flaw impacts a broad range of Microsoft Windows client and server operating systems, from Windows Server 2008 through Windows Server 2025 and Windows 10 through Windows 11 24H2. Microsoft published the advisory on August 12, 2025 as part of its monthly security update cycle. Exploitation requires low-level privileges but no user interaction, making the vulnerability relevant for lateral movement scenarios within enterprise networks.

Critical Impact

Authenticated network attackers can trigger an integer overflow in MSDTC to read sensitive memory contents, potentially exposing transaction data or credentials used in distributed transactions.

Affected Products

  • Microsoft Windows 10 (versions 1507, 1607, 1809, 21H2, 22H2)
  • Microsoft Windows 11 (versions 22H2, 23H2, 24H2)
  • Microsoft Windows Server 2008, 2012, 2016, 2019, 2022, 2022 23H2, and 2025

Discovery Timeline

  • 2025-08-12 - CVE-2025-50166 published to NVD and Microsoft released security patch
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-50166

Vulnerability Analysis

The Windows Distributed Transaction Coordinator (MSDTC) coordinates transactions that span multiple resource managers across a network. The service processes transaction messages containing length fields and buffer size indicators. An integer overflow condition occurs when MSDTC performs arithmetic on attacker-controlled size values without adequate bounds checking.

When the computed value wraps around, subsequent memory operations use an incorrect buffer length. The result is an out-of-bounds read that returns adjacent memory contents to the caller. Returned data may contain fragments of other transactions, authentication material, or process memory not intended for disclosure.

The attacker must hold valid credentials on the target or an adjacent system that can communicate with the MSDTC endpoint. No user interaction is required and the attack executes entirely over the network.

Root Cause

The root cause is improper arithmetic validation [CWE-190] within MSDTC message parsing routines. Size calculations on fields extracted from inbound RPC messages exceed the maximum value of the integer type and wrap to a smaller number. The service then allocates or indexes a buffer using the wrapped value while a subsequent copy operation uses the original attacker-supplied size.

Attack Vector

MSDTC exposes RPC endpoints that are reachable over TCP, typically through dynamic port allocation negotiated via the RPC endpoint mapper on port 135. An authenticated adversary with network access to these endpoints crafts a malformed transaction request containing size fields designed to trigger the overflow. The service responds with memory contents that leak beyond the intended buffer boundary. The vulnerability affects confidentiality only; it does not permit modification of data or disruption of service.

See the Microsoft Security Update Guide for authoritative technical details.

Detection Methods for CVE-2025-50166

Indicators of Compromise

  • Unusual RPC traffic to MSDTC endpoints originating from internal hosts that do not normally initiate distributed transactions
  • Malformed MSDTC transaction messages with abnormally large or negative length fields in packet captures
  • Repeated authenticated RPC calls to port 135 and dynamically assigned MSDTC ports from a single source

Detection Strategies

  • Monitor Windows Security event logs for authenticated RPC sessions targeting the MSDTC service from unexpected accounts or hosts
  • Deploy network sensors with rules that flag malformed OleTx or XA transaction messages
  • Correlate MSDTC crash events (Event ID 4098 and related application errors) with preceding network activity to identify exploitation attempts

Monitoring Recommendations

  • Enable RPC call auditing on servers running MSDTC and forward logs to a centralized analytics platform
  • Baseline normal MSDTC communication patterns between application tiers and alert on deviations
  • Track authentication events for service accounts used by distributed transaction applications for anomalous source addresses

How to Mitigate CVE-2025-50166

Immediate Actions Required

  • Apply the August 2025 Microsoft security updates referenced in the Microsoft Security Update Guide to all affected Windows client and server systems
  • Inventory systems running the MSDTC service and prioritize patching for internet-exposed or multi-tenant servers first
  • Restrict network access to MSDTC RPC endpoints using host-based and perimeter firewalls so only authorized transaction coordinators can connect

Patch Information

Microsoft released patches on August 12, 2025 covering all supported Windows versions listed in the advisory. Administrators should install the cumulative update corresponding to each operating system build. Legacy platforms such as Windows Server 2008 and 2012 require Extended Security Updates (ESU) subscriptions to receive the fix.

Workarounds

  • Disable the MSDTC service on systems that do not require distributed transaction functionality using sc config MSDTC start= disabled followed by sc stop MSDTC
  • Enforce network segmentation so MSDTC traffic is confined to application and database tiers that explicitly require it
  • Require strong authentication and remove unnecessary accounts that can reach the MSDTC endpoint over the network
bash
# Configuration example: restrict MSDTC network access on Windows
# Disable network DTC access if distributed transactions are not required
reg add "HKLM\SOFTWARE\Microsoft\MSDTC\Security" /v NetworkDtcAccess /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Microsoft\MSDTC\Security" /v NetworkDtcAccessInbound /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Microsoft\MSDTC\Security" /v NetworkDtcAccessOutbound /t REG_DWORD /d 0 /f
net stop MSDTC && net start MSDTC

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.