Security researchers have identified a critical, unpatched vulnerability in the Windows Remote Access Connection Manager (RasMan) service that allows attackers to crash the service and execute arbitrary code with Local System privileges, thereby compounding the risk posed by a previously patched elevation-of-privilege flaw.
CVE Details and Affected Systems
The discovery emerged during analysis of CVE-2025-59230, a vulnerability Microsoft patched in October 2025 that affects the RasMan service across a wide range of Windows versions.
The flaw manifests when RasMan registers an RPC endpoint during startup that other privileged services subsequently connect to and trust.
| CVE ID | Vulnerability Type | Affected Component | Severity | Affected Versions |
|---|---|---|---|---|
| CVE-2025-59230 | Elevation of Privilege | Windows Remote Access Connection Manager (RasMan) | High | Windows 7, 10, 11, Server 2008 R2 through Server 2025 |
When RasMan is not running, an unprivileged attacker can register the same RPC endpoint and exploit this trust relationship to execute malicious code with elevated privileges.
However, practical exploitation of CVE-2025-59230 presents significant challenges since RasMan typically starts automatically during Windows startup, making it nearly impossible for attackers to register their malicious endpoint first.
The second, previously unknown vulnerability proves critical for overcoming this timing constraint.
Researchers discovered that attackers can deliberately crash the RasMan service via a flaw in its circular linked-list handling mechanism.
The vulnerability stems from a logic flaw in the code that traverses circular linked lists: it checks whether the current element pointer is NULL, but fails to exit the loop when it encounters this condition.
Execution continues by attempting to read the following list element from the NULL pointer, triggering a memory access violation that crashes the RasMan service.
This programming error stems from the developer’s assumption that circular linked lists are always properly constructed, with the NULL pointer check serving as an untested precaution rather than functional error handling.
Security firm 0patch has developed micropatches for this unpatched vulnerability across all affected Windows versions from Windows 7 through Windows Server 2025.
The patch implements proper loop exit logic when encountering NULL pointers, preventing service crashes and eliminating the exploitation vector.
Microsoft has received notification of this issue and is expected to release official patches in upcoming Windows updates for supported versions.
Organizations operating unsupported Windows versions can leverage 0patch’s security-adopted support to maintain protection against this emerging threat vector.
System administrators should prioritize monitoring the RasMan service’s availability and consider applying available micropatches until official Microsoft patches are released.
Find this Story Interesting! Follow us on Google News, LinkedIn, and X to Get More Instant Updates