IKEv2 Use-After-Free bug when using IKE-over-TCP
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.
CVE-2026-94453
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-94453
libreswan
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://github.com/libreswan/libreswan",
"vendor": "The Libreswan Project",
"product": "libreswan",
"versions": [
{
"status": "affected",
"version": "4.0",
"versionType": "semver",
"lessThanOrEqual": "5.3.2"
},
{
"status": "affected",
"version": "5.4",
"versionType": "semver",
"lessThanOrEqual": "5.4"
},
{
"status": "unaffected",
"version": "5.3.3",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.4.1",
"versionType": "semver"
}
],
"packageName": "libreswan",
"collectionURL": "https://github.com/libreswan/libreswan",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-94453
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #32670 · Revision 1
- Added to Heist Feed
- Publisher date