CVE-2025-59242 Windows Ancillary Function Driver for WinSock Elevation of Privilege Vulnerability

High 7.8 Published Updated

A heap-based buffer overflow in the Windows Ancillary Function Driver allows local attackers to elevate privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-59242?

CVE-2025-59242 is a high-severity memory corruption vulnerability in Microsoft Windows 10 1507, published on 14 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Heap-based buffer overflow in Windows Ancillary Function Driver for WinSock allows an authorized attacker to elevate privileges locally.

Weakness: CWE-191, CWE-122

Which versions are affected by CVE-2025-59242?

It affects 16 products.

Products include Microsoft Windows 10 1507, Microsoft Windows 10 1607, Microsoft Windows 10 1809, Microsoft Windows 10 21h2, Microsoft Windows 10 22h2, Microsoft Windows 11 22h2 and 10 more.

How do I fix CVE-2025-59242?

No fix has been published for CVE-2025-59242 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-59242 being exploited?

There is no known exploitation of CVE-2025-59242 in the wild and no public exploit code.

All Microsoft Windows 10 1507 vulnerabilities

Sources

Also known as GHSA-h39w-fq4q-jj6v.

Is CVE-2025-59242 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free