cve.bz

CVE-2026-50722 libreswan libreswan: Reachable Assertion

5.9 mediumEPSS 0.3%

Medium (5.9) in libreswan libreswan. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
Libreswan, via the function RSA_authenticate_hash_signature_pkcs1_1_5_rsa(), did not correctly verify the DER encoding of the ASN.1 digest when the IKEv2 AUTH payload was encoded using RSASSA-PKCS1-v1_5 (RFC 8017). A remote attacker can use a variation on the Bleichenbacher attack to forge the AUTH payload when small public exponents are used (e.g., e=3), leading to impersonation. Additionally, a remote attacker, by encoding a shorter than expected hash in the AUTH payload, could trigger an assertion leading to denial-of-service. The daemon aborts and restarts; continued exploitation causes sustained denial of service. Remote code execution is not possible. X.509 certificate verifications of the remote IKE peer are not affected.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 29th percentile. Scored 2026-11-22. 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-07-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-347 Improper Verification of Cryptographic Signature
CWE-617 Reachable Assertion
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-50722 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-50722?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-50722?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-50722 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

Versions

From the CNA's record in the CVE List.

ProductAffected
The Libreswan Project libreswanthrough 5.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13libreswanno fix listedDEBIAN-CVE-2026-50722
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 4 morelibreswanno fix listedUBUNTU-CVE-2026-50722
Red Hatenterprise_linux:8::appstreamlibreswan, libreswan-debuginfo, libreswan-debugsource0:4.12-2.el8_10.6RHSA-2026:46396
Red Hatenterprise_linux:9::appstreamlibreswan, libreswan-debuginfo, libreswan-debugsource0:4.15-10.el9_8RHSA-2026:46397
Red Hatenterprise_linux:9::fastdatapathlibreswan, libreswan-debuginfo, libreswan-debugsource0:5.3.2-1.el9fdpRHSA-2026:46986
Red Hatenterprise_linux:10.2libreswan, libreswan-minimal, libreswan-debugsource and 1 more0:5.3.2-1.el10_2RHSA-2026:46398
Red Hatenterprise_linux_eus:10.0libreswan0:5.2-1.el10_0.5RHSA-2026:55449
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamlibreswan0:4.3-6.el8_4.2RHSA-2026:84887
Red Hatrhel_aus:8.6::appstream, rhel_eus_long_life:8.6::appstreamlibreswan0:4.5-1.el8_6.6RHSA-2026:82154
Red Hatrhel_e4s:8.8::appstream, rhel_tus:8.8::appstreamlibreswan0:4.9-3.el8_8.3RHSA-2026:72287
Red Hatrhel_e4s:9.2::appstreamlibreswan0:4.9-5.el9_2.5RHSA-2026:61779
Red Hatrhel_e4s:9.4::appstreamlibreswan0:4.12-3.el9_4.2RHSA-2026:61258
Red Hatrhel_eus:9.6::appstreamlibreswan0:4.15-8.el9_6.1RHSA-2026:57741
AlmaLinux8libreswan4.12-2.el8_10.6ALSA-2026:46396
AlmaLinux9libreswan4.15-10.el9_8ALSA-2026:46397
AlmaLinux10libreswan, libreswan-minimal5.3.2-1.el10_2ALSA-2026:46398
Rocky Linux8libreswan0:4.12-2.el8_10.6RLSA-2026:46396
Rocky Linux9libreswan0:4.15-10.el9_8RLSA-2026:46397
Rocky Linux10libreswan0:5.3.2-1.el10_2RLSA-2026:46398
Alpinev3.23libreswan5.3.3-r0ALPINE-CVE-2026-50722
Alpinev3.24libreswan5.3.2-r0ALPINE-CVE-2026-50722
Azure Linux3libreswan4.15-2AZL-91776

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 Moderate.

Red Hat's statement

Red Hat Product Security rates this as having an Moderate security impact. This Moderate severity rating reflects the deployment reality on modern enterprise platforms. The worst-case authentication bypass vector is effectively non-exploitable due to system-wide Crypto-Policies that strictly block the weak RSA exponents required for the attack. Furthermore, the resulting Denial of Service is limited to a controlled process abort via an internal assertion check. Because the Libreswan service is natively managed by systemd with automatic fault-recovery rules enabled by default, the daemon will instantly restart following a crash. Consequently, a sustained outage requires a continuous and high-volume malicious packet flood, significantly lowering the real-world operational risk.

Red Hat's mitigation

If upgrading to Libreswan is not immediately feasible, this vulnerability can be mitigated by enforcing modern signature algorithms, which effectively prevents Libreswan from falling back to the vulnerable legacy parser logic.

Explicitly configure your authby (or leftauth/rightauth) parameters in /etc/ipsec.conf to exclusively permit ECDSA and RSASSA-PSS: ```authby=ecdsa,rsa-sha2```

Note: Applying this mitigation will drop compatibility with native Windows VPN clients that do not support RSASSA-PSS.

ProductPackageStateAdvisory
Fast Datapath for Red Hat Enterprise Linux 9libreswan-0:5.3.2-1.el9fdpFixed 2026-07-27RHSA-2026:46986
Red Hat Enterprise Linux 10libreswan-0:5.3.2-1.el10_2Fixed 2026-07-27RHSA-2026:46398
Red Hat Enterprise Linux 10.0 Extended Update Supportlibreswan-0:5.2-1.el10_0.5Fixed 2026-08-17RHSA-2026:55449
Red Hat Enterprise Linux 8libreswan-0:4.12-2.el8_10.6Fixed 2026-07-27RHSA-2026:46396
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportlibreswan-0:4.3-6.el8_4.2Fixed 2026-10-19RHSA-2026:84887
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onlibreswan-0:4.3-6.el8_4.2Fixed 2026-10-19RHSA-2026:84887
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportlibreswan-0:4.5-1.el8_6.6Fixed 2026-10-13RHSA-2026:82154
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onlibreswan-0:4.5-1.el8_6.6Fixed 2026-10-13RHSA-2026:82154
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicelibreswan-0:4.9-3.el8_8.3Fixed 2026-09-28RHSA-2026:72287
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionslibreswan-0:4.9-3.el8_8.3Fixed 2026-09-28RHSA-2026:72287
Red Hat Enterprise Linux 9libreswan-0:4.15-10.el9_8Fixed 2026-07-27RHSA-2026:46397
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionslibreswan-0:4.9-5.el9_2.5Fixed 2026-08-31RHSA-2026:61779
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionslibreswan-0:4.12-3.el9_4.2Fixed 2026-08-31RHSA-2026:61258
Red Hat Enterprise Linux 9.6 Extended Update Supportlibreswan-0:4.15-8.el9_6.1Fixed 2026-08-20RHSA-2026:57741
Red Hat OpenShift Container Platform 4.19openshift/ose-rhel-coreos-9:4.19.9.6.202609021231-0Fixed 2026-09-09RHSA-2026:63044
Red Hat OpenShift Container Platform 4.20openshift/ose-rhel-coreos-9:4.20.9.6.202609021029-0Fixed 2026-09-08RHSA-2026:63100
Red Hat Enterprise Linux 6libreswanOut of support scope
Red Hat Enterprise Linux 7libreswanAffected
Red Hat OpenShift Container Platform 4libreswanNot affected
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Affected
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-50722.

Attack patterns (CAPEC)

  • CAPEC-463 Padding Oracle Crypto Attack Severity: High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON