Microsoft Cryptographic Services Elevation of Privilege Vulnerability (CVE-2026-40377)
A heap-based buffer overflow exists in Windows Cryptographic Services. An attacker who already has local access could exploit it to gain SYSTEM privileges.
Originally disclosed on Microsoft
Description
Heap-based buffer overflow in Windows Cryptographic Services allows an authorized attacker to elevate privileges locally.
FAQ
What privileges could be gained by an attacker who successfully exploited this vulnerability? An attacker who successfully exploited this vulnerability could gain SYSTEM privileges.
Windows Cryptographic Services
Windows Cryptographic Services
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 buffer overflow in Windows Cryptographic Services where input is not properly bounds-checked before being written to memory.
Impact
An attacker with local access could elevate their privileges to SYSTEM level.
What the attacker needed
Local access to the Windows machine; an authorised account
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, which can corrupt nearby memory. Here the affected part is a Windows service that handles cryptography, and the flaw lets someone who is already logged in on the machine run code with the highest Windows privileges.
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.