Skip to content
OpenAdvisories
Unscored CVE-2023-38712 EUVD-2023-42487GHSA-65xr-g9j5-jv8g

An issue was discovered in Libreswan 3.x and 4.x before 4.12. When an IKEv1 ISAKMP SA Informational Exchange packet contains a Delete/Notif…

Published Aug 25, 2023 · Updated Aug 2, 2024 · Assigned by mitre

Description

An issue was discovered in Libreswan 3.x and 4.x before 4.12. When an IKEv1 ISAKMP SA Informational Exchange packet contains a Delete/Notify payload followed by further Notifies that act on the ISAKMP SA, such as a duplicated Delete/Notify message, a NULL pointer dereference on the deleted state causes the pluto daemon to crash and restart.

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.12-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-1.el9 RHSA-2023:6549
RHEL 8 libreswan 4.12-2.el8 RHSA-2023:7052
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.2 EUS libreswan 4.9-5.el9_2.4 RHSA-2025:0309
RHEL 9.0 E4S libreswan 4.6-3.el9_0.3 RHSA-2024:10594
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-1.el9 ALSA-2023:6549
AlmaLinux 8 libreswan 4.12-2.el8 ALSA-2023:7052

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 libreswan 4.12-2.el8_10.3 RLSA-2023:7052
ReleasePackageFixed inAdvisory
Alpine v3.24 libreswan 4.12-r0 —
Alpine v3.23 libreswan 4.12-r0 —
Alpine v3.22 libreswan 4.12-r0 —
Alpine v3.21 libreswan 4.12-r0 —
Alpine v3.20 libreswan 4.12-r0 —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 libreswan 4.12-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 libreswan 3.25-4.8.amzn2.0.2 ALAS2-2023-2299

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 libreswan 4.7-6 —
Azure Linux 2 (CBL-Mariner) libreswan 4.7-5 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 libreswan 4.12-1.0.1.el9 ELSA-2023-6549
Oracle Linux 8 libreswan 4.12-2.0.1.el8 ELSA-2023-7052

Advisories 14

References