7.5high
IKEv2 Use-After-Free bug when using IKE-over-TCP
- Severity
- 7.5high CVSS:3.1 by libreswan
- Exploit likelihood
- 0.43% (higher than 39% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- libreswan
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
| Product or package | Versions | Reported by |
|---|---|---|
| libreswan | from 4.0 up to 5.3.2, from 5.4 up to 5.4 Not affected: 5.3.3, 5.4.1 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-94453 changed 2026-10-16 | CVE Terms of Use |
| NVD | CVE-2026-94453 changed 2026-10-16 | Public domain |