CVE-2023-38712: Libreswan

Medium severity, CVSS 6.5. EPSS: 1.0% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Libreswan, from 3.0, before 4.0: fixed in 4.0
  • Libreswan, from 4.0, before 4.12: fixed in 4.12

Affected products

  • Libreswan Libreswan: from 3.0, before 4.0 (fixed in 4.0); from 4.0, before 4.12 (fixed in 4.12)

Published 2023-08-25. Last modified 2026-06-17.