SPNEGO Extended Negotiation (NEGOEX) Security Mechanism Remote Code Execution Vulnerability (CVE-2025-47981)
A heap-based buffer overflow exists in Windows SPNEGO Extended Negotiation (NEGOEX). An unauthorised attacker could send a malicious message to a server over the network and potentially execute code.
Description
Heap-based buffer overflow in Windows SPNEGO Extended Negotiation allows an unauthorized attacker to execute code over a network.
FAQ
How could an attacker exploit the vulnerability? An attacker could exploit this vulnerability by sending a malicious message to the server, potentially leading to remote code execution.
FAQ
What is SPNEGO Extended Negotiation? The SPNEGO Extended Negotiation Security Mechanism (NEGOEX) extends Simple and Protected GSS-API Negotiation Mechanism (SPNEGO) described in [RFC4178]. Please see SPNEGO Overview for more information.
Windows SPNEGO Extended Negotiation
Windows SPNEGO Extended Negotiation
Microsoft
Microsoft
Customer Action Required
Yes
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 when processing a crafted NEGOEX message, where the length of incoming data is not properly checked before it is copied into a heap buffer.
Impact
An unauthorised attacker could potentially execute code on a vulnerable server over the network.
What the attacker needed
Network access to a vulnerable server
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.
SPNEGO Extended Negotiation is a Windows feature that helps two computers agree on how to authenticate each other over a network. A buffer overflow means the program writes more data into a fixed-size memory area than it can hold, which can corrupt nearby memory. Here an attacker who can send network messages to a server could use that corruption to run their own code on it.
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.