Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

CVE-2026-94453

IKEv2 Use-After-Free bug when using IKE-over-TCP

Description

Libreswan's pluto daemon has a use-after-free vulnerability when a client connecting using IKE over TCP closes the connection and another packet (retransmit or malicious) is received for the same tuple. IKE state is retained in memory after the client closes the connection, storing a pointer to iface_endpoint inside ike_sa.sa->st_iface_endpoint. Once this invalid pointer is used, the daemon crashes and restarts. This vulnerability can be triggered before the remote peer has authenticated itself. Continued exploitation can lead to a denial of service. Remote code execution could be possible. The IKE over TCP option is not enabled by default; only configurations that contain listen-tcp=yes are affected.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

The Libreswan Project libreswan

Default version status: unaffected

  • 4.0 to ≤ 5.3.2affected
  • 5.4 to ≤ 5.4affected
  • 5.3.3unaffected
  • 5.4.1unaffected

References