Windows vulnerabilities
54 real-world CVEs in Windows. Each one is a short hands-on exercise in Hexret: find the vulnerable line, follow the exploit and learn the fix.
- CVE-2025-49704high 8.82025
ToolShell: SharePoint ExcelDataSet deserialization
Authenticated ToolPane control markup can instantiate an allowed PerformancePoint type whose compressed table property decompresses and deserializes attacker-controlled state with legacy .NET formatters.
- CVE-2025-49706medium 6.52025
ToolShell: SharePoint Referer authentication bypass
A request module treats a Referer path matching a trusted sign-out page as sufficient to suppress an unauthenticated rejection, allowing ToolPane processing to begin before a later page-load check fails.
- CVE-2025-32711critical 9.32025
EchoLeak: Microsoft 365 Copilot prompt-injection exfiltration
A crafted external email can enter a later ordinary Copilot retrieval context, instruct the model to place sensitive context in a reference-style image URL, and route the automatic fetch through an allowed Teams preview service.
- CVE-2025-33073high 8.82025
Windows SMB marshalled-target reflection
An SMB target name can hide marshalled metadata that LSASS later strips, turning an attacker-routed hostname into a local target identity and reviving same-host authentication reflection when SMB signing is not enforced.
- CVE-2024-49113high 7.52024
LDAPNightmare: malformed CLDAP referral crashes LSASS
A crafted CLDAP response sets a nonzero referral index while the connection has no referral table, and vulnerable wldap32 code dereferences the unchecked entry inside the critical LSASS process.
- CVE-2024-38077critical 9.82024
MadLicense: base-24 license-key heap overflow
The licensing RPC decoder allocates 21 bytes for an expected 35-character base-24 value but converts a null-terminated, attacker-controlled string of unbounded length into that buffer.
- CVE-2024-4577critical 9.82024
PHP-CGI Windows Best-Fit argument injection
PHP-CGI checked one byte representation for an option prefix, while Windows later converted a soft hyphen into an ASCII hyphen before option parsing.
- CVE-2024-30051high 7.82024
Windows DWM: 0x90 rounding undersizes a shared command buffer
A local caller can provide an unaligned DirectComposition command-buffer length that DWM rounds down for allocation but preserves for copying, causing a heap overwrite in the high-integrity desktop compositor process.
- CVE-2024-21413critical 9.82024
MonikerLink: Outlook composite moniker security bypass
Outlook blocked ordinary file hyperlinks but a composite suffix caused the same attacker-controlled display name to reach OLE moniker resolution, enabling outbound SMB authentication and bypassing document protections.
- CVE-2024-21338high 7.82024
Windows AppLocker user-controlled kernel callbacks
The AppId driver's smart-hash IOCTL accepts callback pointers from a user-writable input buffer and invokes them in kernel mode without first rejecting a user-mode caller.
- CVE-2023-29357critical 9.82023
SharePoint alg:none OAuth authentication bypass
SharePoint's application-authentication path accepts unsigned JWTs whose header selects alg:none, then attacker-controlled claims can identify an existing SharePoint user and reach the server API as that identity.
- CVE-2023-24955high 7.22023
SharePoint BDC proxy-namespace code injection
A Site Owner can place C# syntax in a Business Data Connectivity WebServiceProxyNamespace property; SharePoint inserts the unvalidated string into a CodeDOM namespace, compiles the generated assembly, and later instantiates its type.
- CVE-2023-23397critical 9.82023
Outlook reminder UNC path leaks a Net-NTLMv2 hash
A mail item can point its reminder sound at a remote UNC path, so when the reminder fires the client fetches it over SMB and leaks the user's Net-NTLMv2 hash to the attacker, zero-click.
- CVE-2023-21716critical 9.82023
Microsoft Word RTF font-table integer overflow
More than 32,760 RTF font records drive signed 16-bit parser state through a wrapped address calculation, turning the next font-table store into an out-of-bounds heap write.
- CVE-2022-41040high 8.82022
ProxyNotShell: authenticated Autodiscover SSRF in Exchange (CVE-2022-41040)
An edge proxy authorizes a request against one parsed view of the URL, then forwards it to the backend using a different parsed view, so an authenticated user reaches a privileged internal endpoint that the front-end access check never saw.
- CVE-2022-34718critical 9.82022
EvilESP: Windows IPv6 reassembly one-byte overwrite
A decrypted ESP payload can make the saved IPv6 Next Header offset include attacker-sized payload and padding, then reassembly uses that offset to write one byte into a much smaller header allocation.
- CVE-2022-34713high 7.82022
DogWalk: Diagnostic Tool path traversal
A diagnostic package can direct MSDT to a remote folder whose returned filename contains dot segments; simple path concatenation then writes the downloaded file outside the intended temporary directory.
- CVE-2022-30190high 7.82022
Follina: ms-msdt URL-scheme code injection
A document-hosted script invokes the local MSDT diagnostic handler through the ms-msdt URL scheme, and a $() subexpression inside a diagnostic parameter is evaluated as a PowerShell command, giving macro-less code execution.
- CVE-2022-26923high 8.82022
Certifried: AD CS certificate SAN spoofed from a writable dNSHostName
A certificate template that builds its Subject Alternative Name from the enrollee's dNSHostName lets a low-privileged user mint an authentication certificate for any machine, because dNSHostName is self-writable and not unique.
- CVE-2022-21894medium 4.42022
Baton Drop: Windows Secure Boot policy removal
A privileged boot configuration can truncate the memory map before a boot application consumes its serialized Secure Boot policy, causing dangerous settings to be evaluated without the policy that should reject them.
- CVE-2021-42278high 7.52021
noPac: sAMAccountName spoofing to domain controller impersonation
A standard user can rename a machine account to a domain controller's name without the trailing $, because the directory never enforces the machine-account suffix, which a Kerberos S4U2self lookup then resolves back to the real DC.
- CVE-2021-38647critical 9.82021
OMIGOD: OMI unauthenticated RCE via missing auth check
An HTTP request that omits the Authorization header is dispatched without ever confirming it was authenticated, so an unauthenticated attacker runs commands as root on the OMI management agent.
- CVE-2021-40444high 7.82021
MSHTML remote-HTML ActiveX to RCE via CAB path traversal (CVE-2021-40444)
CVE-2021-40444: an Office document loads attacker-hosted HTML through MSHTML, which instantiates an ActiveX control whose codebase points at a CAB archive. A ../ path-traversal filename inside the CAB drops an INF into a predictable temp path, and a .cpl: URL with a relative-path escape then runs it via control.exe. Used in the wild in 2021 to deliver Cobalt Strike loaders, and a recognized predecessor of the Follina MSDT bug (CVE-2022-30190).
- CVE-2021-36942high 7.52021
PetitPotam: MS-EFSRPC authentication coercion
A remote backup RPC method opens a caller-supplied path with no restriction to local objects, so a UNC path makes the machine account authenticate outbound to an attacker, who relays that NTLM to AD CS for a domain-takeover certificate.
- CVE-2021-36934high 7.82021
HiveNightmare / SeriousSAM: world-readable SAM hive
An over-permissive ACL let the low-privilege Users group read the SAM, SYSTEM, and SECURITY registry hives, so any standard user could copy them from a shadow copy and dump the local Administrator password hash.
- CVE-2021-34473critical 9.82021
ProxyShell: Exchange frontend path confusion (CVE-2021-34473)
A frontend proxy strips a caller-supplied routing anchor with a naive substring erase, so a crafted URL rewrites to an arbitrary internal backend that the proxy then reaches as its own trusted machine account.
- CVE-2021-34527high 8.82021
Windows Print Spooler RpcAddPrinterDriverEx privilege escalation to RCE (PrintNightmare)
PrintNightmare (CVE-2021-34527): an authenticated low-privileged user calls RpcAddPrinterDriverEx and points a driver file at an attacker SMB share, so the SYSTEM Print Spooler loads the attacker DLL. The famous incomplete-fix saga, CVE-2021-1675 was patched first as a low-severity local escalation, but the fix was bypassable, so this RCE followed and still needed Point and Print mitigations. The PoC was published accidentally (released believing 1675 was fully patched, before 34527 was understood as a separate unpatched RCE), forcing an emergency response. The spooler runs as SYSTEM and is enabled by default, including on domain controllers.
- CVE-2021-26855critical 9.82021
ProxyLogon: frontend proxy trusts a client cookie to pick the backend
A frontend proxy chooses which backend to forward an authenticated request to from a client-supplied cookie, so a forged cookie makes it proxy an arbitrary backend request as the server's own identity.
- CVE-2020-17087high 7.82020
Windows CNG: six-byte formatting wraps a 16-bit pool allocation
A low-privilege caller can submit a large CNG property value whose six-times expansion is truncated to USHORT for allocation, while the kernel formatter still emits six bytes for every input byte into the undersized nonpaged-pool buffer.
- CVE-2020-16898high 8.82020
Bad Neighbor: Windows IPv6 Router Advertisement stack overflow
An even RDNSS length makes the parser reinterpret eight trailing bytes as a new option, whose disguised oversized length and fragmented storage force a controlled copy into a fixed kernel stack buffer.
- CVE-2020-1472critical 10.02020
Netlogon Zerologon authentication bypass (CVE-2020-1472)
MS-NRPC computes its session credential with AES-CFB8 using an all-zero IV, so an all-zero challenge has a 1-in-256 chance of validating. An unauthenticated attacker on the network retries until the domain controller accepts, then empties its machine-account password. Named Zerologon by Secura's Tom Tervoort, it scored a perfect CVSS 10.0 and takes a DC to Domain Admin in seconds, one of the most severe Active Directory flaws ever disclosed.
- CVE-2020-1380high 8.82020
Internet Explorer JScript9: aliased argument enables detached-buffer use
JScript9 optimized a typed-array store under the stale assumption that a named argument remained numeric, even though arguments.push could replace that aliased formal with an object whose numeric conversion detached the destination buffer.
- CVE-2020-1350critical 10.02020
SIGRed: Windows DNS signature record heap overflow
A 32-bit DNS signature-record size is truncated at a 16-bit allocation boundary, while the parser later copies the full attacker-declared signature into the undersized heap object.
- CVE-2020-1206high 7.52020
SMBleed: SMBv3 decompression exposes uninitialized kernel memory
The SMB compression wrapper reports the destination capacity as though every byte was produced, so a declared output larger than the real decompressed data leaves kernel-pool bytes inside a message that can be returned to the client.
- CVE-2020-1048high 7.82020
PrintDemon: Print Spooler privileged file write
The spooler accepts an arbitrary file path as a port through a server-side API that omitted validation, then processes a persisted job after restart without the submitting user's impersonation token.
- CVE-2020-0796critical 10.02020
SMBGhost: Windows SMBv3 compression integer overflow
An unchecked 32-bit addition in the SMB 3.1.1 compression path can allocate a wrapped-small buffer before decompression writes the attacker-declared output into it.
- CVE-2020-0688high 8.82020
Exchange ECP fixed-key ViewState forgery
Exchange installations shared the same ASP.NET machine keys, allowing any authenticated user to forge a valid ViewState MAC and make ECP deserialize attacker-created state as SYSTEM.
- CVE-2020-0674high 7.52020
Internet Explorer JScript: named sort-callback arguments evade GC
Legacy JScript failed to trace named formal parameters during an Array.sort callback, so an object referenced only through a parameter could be reclaimed and then used through the stale VAR slot.
- CVE-2020-0601high 8.12020
CurveBall: ECC parameter confusion in Windows certificate validation
Windows CryptoAPI could match an attacker-supplied ECC issuer to a trusted root by public-key material while failing to bind the comparison to the curve parameters that define how that key is interpreted.
- CVE-2019-1367high 7.52019
Internet Explorer JScript: Array.sort callback arguments escape GC tracking
A value referenced only through the arguments object of an Array.sort callback could be reclaimed by legacy JScript's garbage collector and then accessed through the stale slot.
- CVE-2019-0708critical 9.82019
BlueKeep: Windows RDP MS_T120 pre-auth use-after-free (CVE-2019-0708)
RDP binds the internal channel MS_T120 to a fixed slot, but a client can bind that same name to a second slot too. On teardown the channel object is freed once while the duplicate binding still points at it, so a later channel operation dereferences a dangling pointer: a pre-authentication, wormable use-after-free. So dangerous that Microsoft shipped out-of-band patches even for out-of-support Windows XP and Server 2003, and the NSA issued a rare public advisory urging patching for fear of a WannaCry-scale worm.
- CVE-2019-0604critical 9.82019
SharePoint ItemPicker attacker-controlled XmlSerializer type
An ItemPicker postback could carry an encoded entity ID containing both a .NET type name and XML data; EntityInstanceIdEncoder constructed XmlSerializer with that attacker-chosen type and deserialized the paired data.
- CVE-2018-15421high 7.82018
Cisco Webex RtpConfig unbounded scanset overflow
Opening a recording makes the Windows player parse a neighboring RtpConfig.ini file with two widthless sscanf scansets, allowing a token from a 0x3ff-byte input chunk to overrun 0x100-byte stack buffers.
- CVE-2018-8174high 7.52018
Double Kill: VBScript Class_Terminate use-after-free
A re-entrant class destructor can create a new reference after the engine's only reference-count check, yet the release path still frees the object and leaves the new reference dangling.
- CVE-2018-0802high 7.82018
Equation Editor 32-byte font-name stack overflow
A font name already truncated to 256 bytes was later copied with strcpy into the 32-byte lfFaceName member of a stack LOGFONTA structure, so a crafted equation object could overflow the native stack.
- CVE-2017-11882high 7.82017
Equation Editor stack buffer overflow (CVE-2017-11882)
A record parser copies a variable-length name field into a fixed 40-byte stack buffer with no length check, so an oversized name overwrites the saved return address.
- CVE-2017-8759high 7.82017
.NET WSDL additional-address CRLF code injection
The SOAP WSDL parser generated C# source from service addresses and tried to comment out additional addresses with //; a CRLF inside an address escaped the comment, injected a new source line, and was compiled by csc.exe.
- CVE-2017-0199high 7.82017
Office OLE2Link HTA handler execution
An embedded OLE2 link could make the document host fetch attacker-controlled content, trust its application/hta MIME type, and invoke the registered HTA handler to execute script when the document was opened.
- CVE-2017-7269critical 9.82017
ExplodingCan: IIS WebDAV character-count overflow
A WebDAV URL conversion allocates a large CStackBuffer as though the character count were a byte count, then writes the expanded Unicode representation into the undersized destination.
- CVE-2017-0144high 8.12017
Windows SMBv1 FEA-list integer truncation pool overflow (EternalBlue, CVE-2017-0144)
In SMBv1's OS/2 FEA-list conversion, a 32-bit list size is tracked in a 16-bit field, so a size just over 0xFFFF truncates and the non-paged-pool buffer is allocated too small for the data copied into it. EternalBlue, an Equation Group tool leaked by The Shadow Brokers, weaponized this and powered WannaCry and NotPetya, the most consequential SMB exploit in history.
- CVE-2016-3213high 8.82016
BadTunnel: a UNC lookup opens the path to spoof WPAD
A remote UNC reference caused Windows to emit an NBNS status query from UDP/137, opening a NAT return path and revealing the shared incremental transaction-ID state used by the next WPAD name query.
- CVE-2016-2118high 7.52016
Badlock: DCERPC authentication without message integrity
A man-in-the-middle could downgrade an authenticated Samba DCERPC bind to CONNECT level, which authenticated the client but left each SAMR or LSA message unprotected and modifiable under that client's identity.
- CVE-2014-6321critical 10.02014
WinShock: Schannel ECDSA signature heap overflow
Schannel sizes a signature destination from the ECC key length but copies two DER-decoded integers using attacker-controlled component lengths, allowing their combined size to exceed the allocation.
- CVE-2008-4250critical 10.02008
Windows Server service path-canonicalization stack overflow (MS08-067)
A crafted RPC path with more "..\" segments than real ones drives the canonicalizer's backward scan before the start of its stack buffer, corrupting the saved return address. Fun fact: shipped as MS08-067, it became the classic Metasploit ms08_067_netapi demo and the engine of the Conficker worm, which infected millions of machines in 2008 to 2009, one of the most-exploited Windows RCEs ever.