CVSS 3.1
5.9 mediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HMedium (5.9) in libreswan libreswan. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HExplain CVE-2026-50721 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-50721?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-50721?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-50721 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.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| The Libreswan Project libreswan | through 5.3 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | libreswan | no fix listed | DEBIAN-CVE-2026-50721 |
| Ubuntu | 18.04:LTS, 20.04:LTS, 22.04:LTS and 4 more | libreswan | no fix listed | UBUNTU-CVE-2026-50721 |
| Red Hat | enterprise_linux:8::appstream | libreswan, libreswan-debuginfo, libreswan-debugsource | 0:4.12-2.el8_10.6 | RHSA-2026:46396 |
| Red Hat | enterprise_linux:9::appstream | libreswan, libreswan-debuginfo, libreswan-debugsource | 0:4.15-10.el9_8 | RHSA-2026:46397 |
| Red Hat | enterprise_linux:9::fastdatapath | libreswan, libreswan-debuginfo, libreswan-debugsource | 0:5.3.2-1.el9fdp | RHSA-2026:46986 |
| Red Hat | enterprise_linux:10.2 | libreswan, libreswan-minimal, libreswan-debugsource and 1 more | 0:5.3.2-1.el10_2 | RHSA-2026:46398 |
| Red Hat | enterprise_linux_eus:10.0 | libreswan | 0:5.2-1.el10_0.5 | RHSA-2026:55449 |
| Red Hat | rhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstream | libreswan | 0:4.3-6.el8_4.2 | RHSA-2026:84887 |
| Red Hat | rhel_aus:8.6::appstream, rhel_eus_long_life:8.6::appstream | libreswan | 0:4.5-1.el8_6.6 | RHSA-2026:82154 |
| Red Hat | rhel_e4s:8.8::appstream, rhel_tus:8.8::appstream | libreswan | 0:4.9-3.el8_8.3 | RHSA-2026:72287 |
| Red Hat | rhel_e4s:9.2::appstream | libreswan | 0:4.9-5.el9_2.5 | RHSA-2026:61779 |
| Red Hat | rhel_e4s:9.4::appstream | libreswan | 0:4.12-3.el9_4.2 | RHSA-2026:61258 |
| Red Hat | rhel_eus:9.6::appstream | libreswan | 0:4.15-8.el9_6.1 | RHSA-2026:57741 |
| AlmaLinux | 8 | libreswan | 4.12-2.el8_10.6 | ALSA-2026:46396 |
| AlmaLinux | 9 | libreswan | 4.15-10.el9_8 | ALSA-2026:46397 |
| AlmaLinux | 10 | libreswan, libreswan-minimal | 5.3.2-1.el10_2 | ALSA-2026:46398 |
| Rocky Linux | 8 | libreswan | 0:4.12-2.el8_10.6 | RLSA-2026:46396 |
| Rocky Linux | 9 | libreswan | 0:4.15-10.el9_8 | RLSA-2026:46397 |
| Rocky Linux | 10 | libreswan | 0:5.3.2-1.el10_2 | RLSA-2026:46398 |
| Alpine | v3.23 | libreswan | 5.3.3-r0 | ALPINE-CVE-2026-50721 |
| Alpine | v3.24 | libreswan | 5.3.2-r0 | ALPINE-CVE-2026-50721 |
| Azure Linux | 3 | libreswan | 4.15-2 | AZL-91773 |
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 rates this Moderate.
Red Hat Product Security rates this as having an Moderate security impact, because this vulnerability directly affects the availability of Libreswan VPN gateways utilizing legacy IKEv1 tunnels. IKEv1 is not default in modern RHEL; modern profiles enforce IKEv2. Because the crash occurs during the unauthenticated phase of the IKE negotiation, any exposed Libreswan service (server or client) accepting standard IKEv1 connections via the default (authby=rsasig) option is vulnerable to the Denial of Service aspect of this flaw.
Additionally, the risk of the authentication bypass vector is mitigated to low on Red Hat Enterprise Linux due to system-wide Crypto-Policies that strictly disallow the generation and use of keys with weak public exponents. This completely neutralizes the worst-case Authentication Bypass and Impersonation vectors for CVE-2026-50721, confining the threat strictly to a DoS process crash.
To mitigate this vulnerability, consider the following strategic workarounds if upgrading Libreswan immediately is not viable:
- Migrate to IKEv2: Disable IKEv1 entirely and migrate all connections to IKEv2. The vulnerable code path is tied specifically to IKEv1’s rigid handling of PKCS#1 v1.5 RSA-SHA1.
- Switch to Pre-Shared Keys (PSK): Additionally, if the configuration is for static tunnels, and not for a group of Remote Access VPN Clients, the authentication can be changed to use PSK via "authby=secret" after coordination with the remote peer.
| Product | Package | State | Advisory |
|---|---|---|---|
| Fast Datapath for Red Hat Enterprise Linux 9 | libreswan-0:5.3.2-1.el9fdp | Fixed 2026-07-27 | RHSA-2026:46986 |
| Red Hat Enterprise Linux 10 | libreswan-0:5.3.2-1.el10_2 | Fixed 2026-07-27 | RHSA-2026:46398 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | libreswan-0:5.2-1.el10_0.5 | Fixed 2026-08-17 | RHSA-2026:55449 |
| Red Hat Enterprise Linux 8 | libreswan-0:4.12-2.el8_10.6 | Fixed 2026-07-27 | RHSA-2026:46396 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | libreswan-0:4.3-6.el8_4.2 | Fixed 2026-10-19 | RHSA-2026:84887 |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | libreswan-0:4.3-6.el8_4.2 | Fixed 2026-10-19 | RHSA-2026:84887 |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | libreswan-0:4.5-1.el8_6.6 | Fixed 2026-10-13 | RHSA-2026:82154 |
| Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On | libreswan-0:4.5-1.el8_6.6 | Fixed 2026-10-13 | RHSA-2026:82154 |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | libreswan-0:4.9-3.el8_8.3 | Fixed 2026-09-28 | RHSA-2026:72287 |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | libreswan-0:4.9-3.el8_8.3 | Fixed 2026-09-28 | RHSA-2026:72287 |
| Red Hat Enterprise Linux 9 | libreswan-0:4.15-10.el9_8 | Fixed 2026-07-27 | RHSA-2026:46397 |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | libreswan-0:4.9-5.el9_2.5 | Fixed 2026-08-31 | RHSA-2026:61779 |
| Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | libreswan-0:4.12-3.el9_4.2 | Fixed 2026-08-31 | RHSA-2026:61258 |
| Red Hat Enterprise Linux 9.6 Extended Update Support | libreswan-0:4.15-8.el9_6.1 | Fixed 2026-08-20 | RHSA-2026:57741 |
| Red Hat OpenShift Container Platform 4.19 | openshift/ose-rhel-coreos-9:4.19.9.6.202609021231-0 | Fixed 2026-09-09 | RHSA-2026:63044 |
| Red Hat OpenShift Container Platform 4.20 | openshift/ose-rhel-coreos-9:4.20.9.6.202609021029-0 | Fixed 2026-09-08 | RHSA-2026:63100 |
| Red Hat Enterprise Linux 6 | libreswan | Out of support scope | |
| Red Hat Enterprise Linux 7 | libreswan | Affected | |
| Red Hat OpenShift Container Platform 4 | libreswan | Not affected | |
| Red Hat OpenShift Container Platform 5 | openshift/ose-rhel-coreos-9 | Affected | |
| 1 more in the JSON and on Red Hat's page. | |||
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-50721.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.