Skip to content
OpenAdvisories
Medium · 6.5 CVE-2024-3652 EUVD-2024-32230GHSA-395v-96gv-76w3

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

Published Apr 11, 2024 · Updated Feb 27, 2026 · Assigned by libreswan

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.

Affected products

VendorProductAffectedFixed
The Libreswan Project (www.libreswan.org) libreswan 3.22 – ≤ 4.14 5.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 13 libreswan 4.15-1 —
Debian 12 libreswan No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libreswan No fix yet —
Ubuntu 26.04 LTS libreswan No fix yet —
Ubuntu 25.10 libreswan No fix yet —
Ubuntu 24.04 LTS libreswan No fix yet —
Ubuntu 22.04 LTS libreswan No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libreswan No fix yet —
Ubuntu 18.04 LTS libreswan No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 libreswan 4.12-2.el9_4.1 RHSA-2024:4050
RHEL 8 libreswan 4.12-2.el8_10.4 RHSA-2024:4376
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.2 EUS libreswan 4.9-5.el9_2.2 RHSA-2024:4431
RHEL 9.0 E4S libreswan 4.6-3.el9_0.2 RHSA-2024:4377
RHEL 8.8 EUS libreswan 4.9-3.el8_8.2 RHSA-2024:4200
RHEL 8.6 TUS libreswan 4.5-1.el8_6.3 RHSA-2024:4417
RHEL 8.6 E4S libreswan 4.5-1.el8_6.3 RHSA-2024:4417
RHEL 8.6 AUS libreswan 4.5-1.el8_6.3 RHSA-2024:4417
Red Hat OpenShift 4 libreswan 4.6-3.el9_0.3 RHBA-2024:11565, RHBA-2024:11525, RHBA-2024:11505

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 libreswan 4.12-2.el9_4.1 ALSA-2024:4050
AlmaLinux 8 libreswan 4.12-2.el8_10.4 ALSA-2024:4376

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 libreswan 4.12-2.el9_4.1 RLSA-2024:4050
Rocky Linux 8 libreswan 4.12-2.el8_10.4 RLSA-2024:4376
ReleasePackageFixed inAdvisory
Alpine v3.24 libreswan 4.15-r0 —
Alpine v3.23 libreswan 4.15-r0 —
Alpine v3.22 libreswan 4.15-r0 —
Alpine v3.21 libreswan 4.15-r0 —
Alpine v3.20 libreswan 4.15-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 libreswan 4.12-3.amzn2023.0.2 ALAS2023-2024-621
Amazon Linux 2 libreswan 3.25-4.8.amzn2.0.3 ALAS2-2024-2596

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 libreswan 4.15-1 —
Azure Linux 2 (CBL-Mariner) libreswan 4.14-2 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 libreswan 4.12-2.0.1.el9_4.1 ELSA-2024-4050
Oracle Linux 8 libreswan 4.12-2.0.1.el8_10.4 ELSA-2024-4376

Advisories 19

References