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.
Published: 2026-10-13
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Apply patch
AI Analysis

Impact

Libreswan's pluto daemon contains a use‑after‑free flaw that occurs when a client connected via IKE over TCP closes the connection and the daemon later receives a retransmit or malicious packet for the same communication tuple. The vulnerability causes the daemon to dereference an invalid pointer to a service endpoint that is no longer valid, leading to a crash and forced restart. The flaw can be triggered before the remote peer has authenticated, giving an attacker the potential to cause a denial of service, and the description notes that remote code execution could be possible. Based on the description, it is inferred that the flaw can be triggered before authentication and may enable remote code execution.

Affected Systems

The issue affects the Libreswan Project’s libreswan implementation. All releases prior to libreswan 5.3.3 and 5.4.1 are vulnerable when the configuration includes the IKE-over-TCP option (listen-tcp=yes). Versions 5.3.3, 5.4.1, and later contain the patch that fixes the pointer misuse.

Risk and Exploitability

The CVSS score of 7.5 indicates high severity, although the EPSS score is less than 1 %, suggesting the likelihood of exploitation in the wild is currently low. The flaw is remote, requiring the attacker to have network access to a host running libreswan with IKE-over-TCP enabled. On triggering, the daemon will crash and restart, causing a denial of service; the vendor advisory even notes that remote code execution could be feasible. Because the vulnerability can be triggered before authentication, it does not depend on privileged credentials. The statement that the attack can be conducted before authentication and that remote code execution could be feasible is inferred from the description.

Generated by OpenCVE AI on October 16, 2026 at 02:19 UTC.

Remediation

Vendor Solution

Upgrade to libreswan 5.3.3 or 5.4.1 or later. Patches are available at https://libreswan.org/security/CVE-2026-94453/


Vendor Workaround

To temporarily disable IKE over TCP, set listen-tcp=no.


OpenCVE Recommended Actions

  • Upgrade libreswan to version 5.3.3 or later (or 5.4.1 or later) to apply the official patch.
  • If an upgrade cannot be performed immediately, temporarily disable IKE over TCP by setting listen-tcp=no to remove the vulnerability surface.
  • Monitor system logs for unexpected restarts or crashes of the pluto daemon and verify that no unauthorized packets are being sent after connection termination.

Generated by OpenCVE AI on October 16, 2026 at 02:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 27 Oct 2026 04:30:00 +0000

Type Values Removed Values Added
First Time appeared Libreswan
Libreswan libreswan
Vendors & Products Libreswan
Libreswan libreswan

Wed, 14 Oct 2026 00:30:00 +0000


Tue, 13 Oct 2026 21:45:00 +0000

Type Values Removed Values Added
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.
Title IKEv2 Use-After-Free bug when using IKE-over-TCP
Weaknesses CWE-416
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

Libreswan Libreswan
cve-icon MITRE

Status: PUBLISHED

Assigner: libreswan

Published:

Updated: 2026-10-16T15:31:54.755Z

Reserved: 2026-09-21T17:09:02.116Z

Link: CVE-2026-94453

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-13T22:19:30.253

Modified: 2026-10-16T19:55:59.740

Link: CVE-2026-94453

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-05T00:00:00Z

Links: CVE-2026-94453 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-26T22:49:46Z

Weaknesses