cve.bz

CVE-2026-94453 the libreswan project libreswan: Use After Free

7.5 highEPSS 0.5%

High (7.5) in the libreswan project libreswan. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 40th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-10-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-94453 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-94453?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-94453?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-94453 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • the libreswan project:libreswan

Versions

From the CNA's record in the CVE List.

ProductAffected
The Libreswan Project libreswanfrom 4.0 through 5.3.2
The Libreswan Project libreswanfrom 5.4 through 5.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13libreswanno fix listedDEBIAN-CVE-2026-94453
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 3 morelibreswanno fix listedUBUNTU-CVE-2026-94453
Red Hatenterprise_linux:8::appstreamlibreswan, libreswan-debuginfo, libreswan-debugsource0:4.12-2.el8_10.7RHSA-2026:90492
Red Hatenterprise_linux:9::appstreamlibreswan, libreswan-debuginfo, libreswan-debugsource0:4.15-11.el9_8RHSA-2026:89748
Red Hatenterprise_linux:9::appstreamlibreswan, libreswan-debuginfo, libreswan-debugsource0:4.15-11.el9_9RHSA-2026:97878
Red Hatenterprise_linux:9::fastdatapathlibreswan, libreswan-debuginfo, libreswan-debugsource0:5.3.3-3.el9fdpRHSA-2026:98046
Red Hatenterprise_linux:10.2libreswan, libreswan-minimal, libreswan-debugsource and 1 more0:5.3.3-1.el10_2RHSA-2026:89923
Red Hatenterprise_linux:10.3libreswan, libreswan-minimal, libreswan-debugsource and 1 more0:5.4.1-1.el10_3RHSA-2026:98088
AlmaLinux8libreswan4.12-2.el8_10.7ALSA-2026:90492
AlmaLinux9libreswan4.15-11.el9_8ALSA-2026:89748
AlmaLinux9libreswan4.15-11.el9_9ALSA-2026:97878
AlmaLinux10libreswan, libreswan-minimal5.3.3-1.el10_2ALSA-2026:89923
AlmaLinux10libreswan, libreswan-minimal5.4.1-1.el10_3ALSA-2026:98088
Rocky Linux8libreswan0:4.12-2.el8_10.7RLSA-2026:90492
Rocky Linux9libreswan0:4.15-11.el9_8RLSA-2026:89748 RLSA-2026:97878
Rocky Linux10libreswan0:5.3.3-1.el10_2RLSA-2026:89923
Rocky Linux10libreswan, libreswan-minimal, libreswan-debugsource and 1 more0:5.4.1-1.el10_3RLSA-2026:98088
Alpinev3.23, v3.24libreswan5.3.3-r0ALPINE-CVE-2026-94453
Azure Linux3libreswan4.15-4AZL-108027

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat Product Security has rated this vulnerability as having an Important security impact. A remote, unauthenticated attacker may exploit a use-after-free in Libreswan's IKE-over-TCP handling before peer authentication to cause the IKE daemon to crash and restart. Repeated exploitation can result in denial of service.

The vulnerability affects only configurations that explicitly enable IKE-over-TCP using `listen-tcp=yes`; this option is not enabled by default. Consequently, exposure is limited to systems configured to accept IKE-over-TCP connections.

Red Hat's mitigation

If IKE-over-TCP is not required, administrators can temporarily mitigate this vulnerability by setting `listen-tcp=no` in the Libreswan configuration. This disables the vulnerable IKE-over-TCP functionality.

If IKE-over-TCP is required, administrators should restrict access to the listener to trusted peers where practical and apply the appropriate security update once available.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10libreswan-0:5.3.3-1.el10_2Fixed 2026-10-26RHSA-2026:89923
Red Hat Enterprise Linux 8libreswan-0:4.12-2.el8_10.7Fixed 2026-10-26RHSA-2026:90492
Red Hat Enterprise Linux 9libreswan-0:4.15-11.el9_8Fixed 2026-10-26RHSA-2026:89748
Red Hat Enterprise Linux 9libreswan-0:4.15-11.el9_9Fixed 2026-11-10RHSA-2026:97878
Red Hat OpenShift Container Platform 4.22openshift/ose-rhel-coreos-9:4.22.9.8.202611032353-0Fixed 2026-11-06RHSA-2026:95346
Red Hat OpenShift Container Platform 5.0openshift/ose-rhel-coreos-9:5.0.10.2.202611022203-0Fixed 2026-11-09RHSA-2026:94537
Fast Datapath for RHEL 9libreswanAffected
Red Hat Enterprise Linux 6libreswanOut of support scope
Red Hat Enterprise Linux 7libreswanAffected
Red Hat OpenShift Container Platform 4libreswanAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-94453.

References

Check your stackJSON