CVE-2024-3652: IKEv1 with default AH/ESP configuration can cause libreswan to abort and restart
Affects libreswanSource CVE Database V5
Not known to be exploited · CVSS 6.5 Medium.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.8% chance of exploitation in 30 days – higher than 56% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 11 Apr 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| The Libreswan Project (www.libreswan.org) libreswan | Affected
| Fixed in– |
AI-suggested
To mitigate CVE-2024-3652, organizations should first audit their Libreswan deployments to identify usage of version 3.22 and reliance on IKEv1 with default AH/ESP configurations. Where possible, explicitly specify the esp= line in IKEv1 configurations to avoid triggering the default proposal handler that causes the crash. Transitioning VPN configurations from IKEv1 to IKEv2 is strongly recommended, as IKEv2 is not affected by this vulnerability and offers improved security and stability. Monitor Libreswan project communications for forthcoming patches or updates addressing this issue and apply them promptly once available. In the interim, consider implementing network-level controls to restrict or monitor IKEv1 negotiation attempts from untrusted sources to reduce exposure. Additionally, configure robust logging and alerting on Libreswan service restarts to detect potential exploitation attempts. For critical environments, deploying redundant VPN gateways or failover mechanisms can help maintain availability during potential disruptions. Avoid using AES-GMAC in IKEv1 proposals until a fix is released or the configuration is hardened.
Description
The Libreswan Project was notified of an issue causing libreswan to restart when using IKEv1 without specifying an esp= line. When the peer requests AES-GMAC, libreswan's default proposal handler causes an assertion failure and crashes and restarts. IKEv2 connections are not affected.