CVE-2022-34721: Remote Code Execution in Windows IKEv1 Protocol Processing
- Vendor
- Microsoft Corporation
CVE-2022-34721 is a remote code execution vulnerability in Microsoft Windows Internet Key Exchange (IKE) Protocol Extensions. It affects processing of the legacy IKEv1 protocol on systems with IPsec enabled. A specially crafted IP packet can trigger memory corruption in the process hosting the IKE service. Proof-of-concept analysis demonstrates an out-of-bounds read and process crash when Page Heap instrumentation is enabled. IKEv2 processing is not affected, but accepting IKEv2 traffic does not eliminate exposure if the system also accepts IKEv1. Microsoft's fix validates incoming data length and skips processing when the data is too short.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can allow arbitrary code execution on the affected Windows system. The demonstrated proof of concept also causes the IKE service-hosting process to crash under Page Heap instrumentation. The available information does not establish the execution privilege level or the extent of resulting service disruption.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, reduce exposure of the affected IKE/IPsec service by restricting network access to trusted peers only and blocking unsolicited IKE traffic at network boundaries where operationally feasible. Disable IKEv1 if it is not required for compatibility, as available reporting indicates the vulnerability affects IKEv1 handling rather than IKEv2. More broadly, minimize internet exposure of IPsec endpoints and monitor for abnormal IKE-related crashes or exploitation attempts until patches are fully deployed.
Remediation
Patch, then assume compromise.
Apply the Microsoft Windows security update addressing CVE-2022-34721 for the installed Windows version. The fix adds incoming-data length validation and prevents processing of insufficiently long input. Test and deploy the applicable vendor update promptly.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2022-34721 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2022-34721?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2022-34721.
- Is there a patch for CVE-2022-34721?
- Apply the Microsoft Windows security update addressing CVE-2022-34721 for the installed Windows version. The fix adds incoming-data length validation and prevents processing of insufficiently long input.
- What products are affected by CVE-2022-34721?
- Microsoft Corporation Windows 10, Microsoft Corporation Windows 10 1507, Microsoft Corporation Windows 10 1607, Microsoft Corporation Windows 10 1809, Microsoft Corporation Windows 10 20h2, and at least 15 more.
- How severe is CVE-2022-34721?
- CVE-2022-34721 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 76.7% (100th percentile) as of Oct 16, 2026.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.