Every CVE Search/ Get API key

CVE-2024-3652

IKEv1 default AH/ESP responder can cause libreswan to abort and restart

6.5 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.80%Up 0.8 points since Apr 11, 2024
90%50%10%1%

What each source reports

CVE List Score used 6.5

IKEv1 default AH/ESP responder can cause libreswan to abort and restart

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.

Record
CVE-2024-3652
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-404
Updated
2026-11-02
EUVDEUVD-2024-32230 6.5

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.

Record
EUVD-2024-32230
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-395v-96gv-76w3 6.5

The Libreswan Project was notified of an issue causing libreswan to restart when using IKEv1...

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.

Record
GHSA-395v-96gv-76w3
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-404
Updated
2026-11-02
NVD 6.5

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.

Record
CVE-2024-3652
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-404
Updated
2026-11-02
OSVALPINE-CVE-2024-3652 6.5

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.

Record
ALPINE-CVE-2024-3652
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-03
OSV 6.5

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.

Record
CVE-2024-3652
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 20 moreShow less
OSVDEBIAN-CVE-2024-3652 6.5

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.

Record
DEBIAN-CVE-2024-3652
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2024-1565 3.5

libreswan security update

Libreswan is an implementation of IKEv1 and IKEv2 for IPsec. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks. Everything passing through the untrusted net is encrypted by the ipsec gateway machine and decrypted by the gateway at the other end of the tunnel. The resulting tunnel is a virtual private network or VPN.

Security Fix(es):

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.(CVE-2024-3652)

Record
OESA-2024-1565
CVSS 3.1
3.5 LowCVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVRHBA-2024:11505 7.5

Red Hat Bug Fix Advisory: OpenShift Container Platform 4.16.28 packages and security update

Record
RHBA-2024:11505
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHBA-2024:11525 7.5

Red Hat Bug Fix Advisory: OpenShift Container Platform 4.17.10 packages and security update

Record
RHBA-2024:11525
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHBA-2024:11565 7.5

Red Hat Bug Fix Advisory: OpenShift Container Platform 4.15.42 packages update

Record
RHBA-2024:11565
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2024:4050 6.5

Red Hat Security Advisory: libreswan security update

Record
RHSA-2024:4050
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2024:4200 6.5

Red Hat Security Advisory: libreswan security update

Record
RHSA-2024:4200
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2024:4376 6.5

Red Hat Security Advisory: libreswan security update

Record
RHSA-2024:4376
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2024:4377 6.5

Red Hat Security Advisory: libreswan security update

Record
RHSA-2024:4377
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2024:4417 6.5

Red Hat Security Advisory: libreswan security update

Record
RHSA-2024:4417
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2024:4431 6.5

Red Hat Security Advisory: libreswan security update

Record
RHSA-2024:4431
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRLSA-2024:4376 6.5

Moderate: libreswan security update

Libreswan is an implementation of IPsec and IKE for Linux. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks such as virtual private network (VPN).

Security Fix(es):

  • libreswan: IKEv1 default AH/ESP responder can crash and restart (CVE-2024-3652)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
RLSA-2024:4376
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2024-3652 6.5

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.

Record
UBUNTU-CVE-2024-3652
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVALSA-2024:4050 No score

Moderate: libreswan security update

Libreswan is an implementation of IPsec and IKE for Linux. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks such as virtual private network (VPN).

Security Fix(es):

  • libreswan: IKEv1 default AH/ESP responder can crash and restart (CVE-2024-3652)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2024:4050
Updated
2026-11-02
OSVALSA-2024:4376 No score

Moderate: libreswan security update

Libreswan is an implementation of IPsec and IKE for Linux. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks such as virtual private network (VPN).

Security Fix(es):

  • libreswan: IKEv1 default AH/ESP responder can crash and restart (CVE-2024-3652)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2024:4376
Updated
2026-11-02
OSVAZL-39919 No score

CVE-2024-3652 affecting package libreswan for versions less than 4.15-1

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.

Record
AZL-39919
Updated
2026-11-02
OSVAZL-39927 No score

CVE-2024-3652 affecting package libreswan for versions less than 4.14-2

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.

Record
AZL-39927
Updated
2026-11-02
OSVCLSA-2025-1752749664 No score

libreswan: Fix of CVE-2024-3652

  • CVE-2024-3652: fix assertion failure and crash caused by requesting AES-GMAC without specifying esp= line
Record
CLSA-2025-1752749664
Updated
2026-11-02
OSVMGASA-2024-0138 No score

Updated libreswan packages fix security vulnerability

CVE-2024-3652: 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.

Record
MGASA-2024-0138
Updated
2026-11-02
OSVRLSA-2024:4050 No score

Moderate: libreswan security update

Libreswan is an implementation of IPsec and IKE for Linux. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks such as virtual private network (VPN).

Security Fix(es):

  • libreswan: IKEv1 default AH/ESP responder can crash and restart (CVE-2024-3652)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
RLSA-2024:4050
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libreswan
Alpine:v3.20
3.22 up to 4.15-r0
4.15-r0
libreswan
Alpine:v3.21
3.22 up to 4.15-r0
4.15-r0
libreswan
Alpine:v3.22
3.22 up to 4.15-r0
4.15-r0
libreswan
Alpine:v3.23
3.22 up to 4.15-r0
4.15-r0
libreswan
Alpine:v3.24
3.22 up to 4.15-r0
4.15-r0
libreswan
AlmaLinux:9
before 4.12-2.el9_4.1
4.12-2.el9_4.1
libreswan
AlmaLinux:8
before 4.12-2.el8_10.4
4.12-2.el8_10.4
libreswan
Azure Linux:3
before 4.15-1
4.15-1
libreswan
Azure Linux:2
before 4.14-2
4.14-2
libreswan
TuxCare:AlmaLinux:9.2
before 4.9-4.el9_2.tuxcare.els1
4.9-4.el9_2.tuxcare.els1
Show 52 moreShow less
Affected packages
PackageAffectedFixed
libreswan
Debian:12
All versions, plus listed versions
4.10-24.10-2+deb12u14.11-14.12-14.12-2
Show 13 moreShow less
4.12-34.14-14.14-1.14.15-15.0~rc2-15.0~rc2-25.2-15.2-25.2-2.15.2-2.25.2-2.35.2-2.45.2-2.5
None known
libreswan
Debian:13
before 4.15-1
4.15-1
libreswan
Debian:14
before 4.15-1
4.15-1
libreswan
Mageia:9
before 4.15-1.mga9
4.15-1.mga9
libreswan
openEuler:20.03-LTS-SP1
before 4.15-1.oe1
4.15-1.oe1
libreswan
openEuler:20.03-LTS-SP4
before 4.15-1.oe2003sp4
4.15-1.oe2003sp4
libreswan
openEuler:22.03-LTS
before 4.15-1.oe2203sp3
4.15-1.oe2203sp3
libreswan
openEuler:22.03-LTS-SP1
before 4.15-1.oe2203sp1
4.15-1.oe2203sp1
libreswan
openEuler:22.03-LTS-SP2
before 4.15-1.oe2203sp2
4.15-1.oe2203sp2
libreswan
openEuler:22.03-LTS-SP3
before 4.15-1.oe2203sp3
4.15-1.oe2203sp3
libreswan
Red Hat:openshift:4.16::el9
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan-debuginfo
Red Hat:openshift:4.16::el9
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan-debugsource
Red Hat:openshift:4.16::el9
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan
Red Hat:openshift:4.17::el9
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan-debuginfo
Red Hat:openshift:4.17::el9
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan-debugsource
Red Hat:openshift:4.17::el9
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan
Red Hat:openshift:4.15::el9
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan-debuginfo
Red Hat:openshift:4.15::el9
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan-debugsource
Red Hat:openshift:4.15::el9
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan
Red Hat:enterprise_linux:9::appstream
before 0:4.12-2.el9_4.1
0:4.12-2.el9_4.1
libreswan-debuginfo
Red Hat:enterprise_linux:9::appstream
before 0:4.12-2.el9_4.1
0:4.12-2.el9_4.1
libreswan-debugsource
Red Hat:enterprise_linux:9::appstream
before 0:4.12-2.el9_4.1
0:4.12-2.el9_4.1
libreswan
Red Hat:rhel_eus:8.8::appstream
before 0:4.9-3.el8_8.2
0:4.9-3.el8_8.2
libreswan-debuginfo
Red Hat:rhel_eus:8.8::appstream
before 0:4.9-3.el8_8.2
0:4.9-3.el8_8.2
libreswan-debugsource
Red Hat:rhel_eus:8.8::appstream
before 0:4.9-3.el8_8.2
0:4.9-3.el8_8.2
libreswan
Red Hat:enterprise_linux:8::appstream
before 0:4.12-2.el8_10.4
0:4.12-2.el8_10.4
libreswan-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:4.12-2.el8_10.4
0:4.12-2.el8_10.4
libreswan-debugsource
Red Hat:enterprise_linux:8::appstream
before 0:4.12-2.el8_10.4
0:4.12-2.el8_10.4
libreswan
Red Hat:rhel_e4s:9.0::appstream
before 0:4.6-3.el9_0.2
0:4.6-3.el9_0.2
libreswan-debuginfo
Red Hat:rhel_e4s:9.0::appstream
before 0:4.6-3.el9_0.2
0:4.6-3.el9_0.2
libreswan-debugsource
Red Hat:rhel_e4s:9.0::appstream
before 0:4.6-3.el9_0.2
0:4.6-3.el9_0.2
libreswan
Red Hat:rhel_aus:8.6::appstream
before 0:4.5-1.el8_6.3
0:4.5-1.el8_6.3
libreswan-debuginfo
Red Hat:rhel_aus:8.6::appstream
before 0:4.5-1.el8_6.3
0:4.5-1.el8_6.3
libreswan-debugsource
Red Hat:rhel_aus:8.6::appstream
before 0:4.5-1.el8_6.3
0:4.5-1.el8_6.3
libreswan
Red Hat:rhel_e4s:8.6::appstream
before 0:4.5-1.el8_6.3
0:4.5-1.el8_6.3
libreswan-debuginfo
Red Hat:rhel_e4s:8.6::appstream
before 0:4.5-1.el8_6.3
0:4.5-1.el8_6.3
libreswan-debugsource
Red Hat:rhel_e4s:8.6::appstream
before 0:4.5-1.el8_6.3
0:4.5-1.el8_6.3
libreswan
Red Hat:rhel_tus:8.6::appstream
before 0:4.5-1.el8_6.3
0:4.5-1.el8_6.3
libreswan-debuginfo
Red Hat:rhel_tus:8.6::appstream
before 0:4.5-1.el8_6.3
0:4.5-1.el8_6.3
libreswan-debugsource
Red Hat:rhel_tus:8.6::appstream
before 0:4.5-1.el8_6.3
0:4.5-1.el8_6.3
libreswan
Red Hat:rhel_eus:9.2::appstream
before 0:4.9-5.el9_2.2
0:4.9-5.el9_2.2
libreswan-debuginfo
Red Hat:rhel_eus:9.2::appstream
before 0:4.9-5.el9_2.2
0:4.9-5.el9_2.2
libreswan-debugsource
Red Hat:rhel_eus:9.2::appstream
before 0:4.9-5.el9_2.2
0:4.9-5.el9_2.2
libreswan
Rocky Linux:9
before 0:4.12-2.el9_4.1
0:4.12-2.el9_4.1
libreswan
Rocky Linux:8
before 0:4.12-2.el8_10.4
0:4.12-2.el8_10.4
libreswan
Ubuntu:18.04:LTS
All versions, plus listed versions
3.20-7build13.21-23.22-13.22-23.22-33.22-43.23-13.23-4
None known
libreswan
Ubuntu:20.04:LTS
All versions, plus listed versions
3.29-23.29-2build1
None known
libreswan
Ubuntu:22.04:LTS
All versions, plus listed versions
3.32-3ubuntu3
None known
libreswan
Ubuntu:24.04:LTS
All versions, plus listed versions
4.11-1ubuntu14.12-1ubuntu14.14-1ubuntu14.14-1ubuntu2
None known
libreswan
Ubuntu:25.10
All versions, plus listed versions
4.14-1ubuntu25.2-2.2ubuntu1
None known
libreswan
Ubuntu:26.10
All versions, plus listed versions
5.2-2.2ubuntu2
None known
libreswan
Ubuntu:26.04:LTS
All versions, plus listed versions
5.2-2.2ubuntu15.2-2.2ubuntu2
None known

History

History
RecordedChangedSources
affected, aliases, referencesOSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-3652 is a medium vulnerability (CVSS 6.5) in Libreswan, published April 11, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.80%, the 56th percentile. Fixed in libreswan 4.15-r0.

References

Show 69 moreShow less
MoveEnter Open