Skip to content
Memory corruption Advisory Advanced CVE-2025-33066

Windows Routing and Remote Access Service (RRAS) Remote Code Execution Vulnerability (CVE-2025-33066)

A heap-based buffer overflow exists in the Windows Routing and Remote Access Service (RRAS). An attacker could trick a user into connecting to a malicious server, which could return crafted data and lead to arbitrary code execution on the user's system.

Anonymous with Codesafe Team of Legendsec at QI-ANXIN Group Follow

Originally disclosed on Microsoft

High 8.8 View original

Description

Heap-based buffer overflow in Windows Routing and Remote Access Service (RRAS) allows an unauthorized attacker to execute code over a network.

FAQ

According to the CVSS metric, the attack vector is network (AV:N) and the user interaction is required (UI:R). What is the target context of the remote code execution? This attack requires a client to connect to a malicious server, and that could allow the attacker to gain code execution on the client.

FAQ

How could an attacker exploit this vulnerability? An attacker could exploit this vulnerability by tricking a user into sending a request to a malicious server. This could result in the server returning malicious data that might cause arbitrary code execution on the user's system.

Windows Routing and Remote Access Service (RRAS)

Windows Routing and Remote Access Service (RRAS)

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Anonymous with Codesafe Team of Legendsec at QI-ANXIN Group. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a heap-based buffer overflow in the Windows RRAS client-side handling of data received from a server, where the size of incoming data is not properly checked before it is copied into a heap buffer.

Impact

An attacker could gain code execution on a user's system, but only if the user is tricked into connecting to a malicious server, so user interaction is required.

What the attacker needed

Victim connects to a malicious server; attacker controls a server; user interaction required

The fix

Microsoft released a security update for this vulnerability; the advisory states that customer action is required, meaning affected users should install the update.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A buffer overflow is when a program writes more data into a memory area than it can hold, so the extra data spills into neighbouring memory. Here the vulnerable part is a Windows networking service, and the attacker runs a malicious server that the victim's machine connects to. If the victim connects, the bad server can send data that overflows the buffer and may let the attacker run their own code on the victim's computer.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Anonymous with Codesafe Team of Legendsec at QI-ANXIN Group

View all

10 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.