CVE-2026-50722 IKEv2 Denial of Service via RSA-SHA1 (PKCS#1 RSASSA-PKCS1-v1_5) authentication payload
MediumCVSS 5.9
EPSS 0.35%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| The Libreswan Project libreswan | <= 5.3 | No fix listed |
| redhat/libreswan(Red Hat:enterprise_linux:9::fastdatapath) | < 5.3.2-1.el9fdp | 5.3.2-1.el9fdp |
| redhat/libreswan(Red Hat:enterprise_linux:10.2) | < 5.3.2-1.el10_2 | 5.3.2-1.el10_2 |
| redhat/libreswan(Red Hat:enterprise_linux_eus:10.0) | < 5.2-1.el10_0.5 | 5.2-1.el10_0.5 |
| redhat/libreswan(Red Hat:enterprise_linux:8) | < 4.12-2.el8_10.6 | 4.12-2.el8_10.6 |
| redhat/libreswan(Red Hat:rhel_aus:8.4) | < 4.3-6.el8_4.2 | 4.3-6.el8_4.2 |
| redhat/libreswan(Red Hat:rhel_eus_long_life:8.4) | < 4.3-6.el8_4.2 | 4.3-6.el8_4.2 |
| redhat/libreswan(Red Hat:rhel_aus:8.6) | < 4.5-1.el8_6.6 | 4.5-1.el8_6.6 |
| redhat/libreswan(Red Hat:rhel_eus_long_life:8.6) | < 4.5-1.el8_6.6 | 4.5-1.el8_6.6 |
| redhat/libreswan(Red Hat:rhel_tus:8.8) | < 4.9-3.el8_8.3 | 4.9-3.el8_8.3 |
| redhat/libreswan(Red Hat:rhel_e4s:8.8) | < 4.9-3.el8_8.3 | 4.9-3.el8_8.3 |
| redhat/libreswan(Red Hat:enterprise_linux:9) | < 4.15-10.el9_8 | 4.15-10.el9_8 |
| redhat/libreswan(Red Hat:rhel_e4s:9.2) | < 4.9-5.el9_2.5 | 4.9-5.el9_2.5 |
| redhat/libreswan(Red Hat:rhel_e4s:9.4) | < 4.12-3.el9_4.2 | 4.12-3.el9_4.2 |
| redhat/libreswan(Red Hat:rhel_eus:9.6) | < 4.15-8.el9_6.1 | 4.15-8.el9_6.1 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.19::el9) | < 9:4.19.9.6.202609021231-0 | 9:4.19.9.6.202609021231-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.20::el9) | < 9:4.20.9.6.202609021029-0 | 9:4.20.9.6.202609021029-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.21::el9) | < 9:4.21.9.6.202609021100-0 | 9:4.21.9.6.202609021100-0 |
| redhat/libreswan(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/libreswan(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:5) | All versions | No fix listed |
| debian/libreswan(Debian:12) | All versions | No fix listed |
| debian/libreswan(Debian:12) | = 4.10-2 | No fix listed |
| debian/libreswan(Debian:12) | = 4.10-2+deb12u1 | No fix listed |
| debian/libreswan(Debian:12) | = 4.11-1 | No fix listed |
Show 28 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libreswan(Debian:12) | = 4.12-1 | No fix listed |
| debian/libreswan(Debian:12) | = 4.12-2 | No fix listed |
| debian/libreswan(Debian:12) | = 4.12-3 | No fix listed |
| debian/libreswan(Debian:12) | = 4.14-1 | No fix listed |
| debian/libreswan(Debian:12) | = 4.14-1.1 | No fix listed |
| debian/libreswan(Debian:12) | = 4.15-1 | No fix listed |
| debian/libreswan(Debian:12) | = 5.0~rc2-1 | No fix listed |
| debian/libreswan(Debian:12) | = 5.0~rc2-2 | No fix listed |
| debian/libreswan(Debian:12) | = 5.2-1 | No fix listed |
| debian/libreswan(Debian:12) | = 5.2-2 | No fix listed |
| debian/libreswan(Debian:12) | = 5.2-2.1 | No fix listed |
| debian/libreswan(Debian:12) | = 5.2-2.2 | No fix listed |
| debian/libreswan(Debian:12) | = 5.2-2.3 | No fix listed |
| debian/libreswan(Debian:12) | = 5.2-2.4 | No fix listed |
| debian/libreswan(Debian:12) | = 5.2-2.5 | No fix listed |
| debian/libreswan(Debian:13) | All versions | No fix listed |
| debian/libreswan(Debian:13) | = 5.2-2.2 | No fix listed |
| debian/libreswan(Debian:13) | = 5.2-2.3 | No fix listed |
| debian/libreswan(Debian:13) | = 5.2-2.4 | No fix listed |
| debian/libreswan(Debian:13) | = 5.2-2.5 | No fix listed |
| ubuntu/libreswan(Ubuntu:22.04) | All versions | No fix listed |
| alpine/libreswan(Alpine:v3.23) | < 5.3.3-r0 | 5.3.3-r0 |
| alpine/libreswan(Alpine:v3.24) | < 5.3.2-r0 | 5.3.2-r0 |
| ubuntu/libreswan(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libreswan(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/libreswan(Ubuntu:26.10) | All versions | No fix listed |
| libreswan | < 5.3.1 | 5.3.1 |
| azure linux libreswan(Azure Linux:3.0) | < 4.15-2 | 4.15-2 |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Libreswan Security Advisory CVE-2026-50722 vendor-advisory
- Libreswan CVE-2026-50722 Patches patch vendor-advisory
- Related: CVE-2026-50721 (IKEv1 variant) mailing-list related vendor-advisory
- RFC 8017 - PKCS #1: RSA Cryptography Specifications Version 2.2 technical-description
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:46986 patch vendor-advisory
- RHSA-2026:46398 patch vendor-advisory
- RHSA-2026:55449 patch vendor-advisory
- RHSA-2026:46396 patch vendor-advisory
- RHSA-2026:84887 patch vendor-advisory
- RHSA-2026:82154 patch vendor-advisory
- RHSA-2026:72287 patch vendor-advisory
- RHSA-2026:46397 patch vendor-advisory
- RHSA-2026:61779 patch vendor-advisory
- RHSA-2026:61258 patch vendor-advisory
- RHSA-2026:57741 patch vendor-advisory
- RHSA-2026:63044 patch vendor-advisory
- RHSA-2026:63100 patch vendor-advisory
- RHSA-2026:63041 patch vendor-advisory
- Red Hat Bugzilla 2494148 issue-tracking
- www.cve.org
- nvd.nist.gov
- lists.libreswan.org
- Debian Security Tracker CVE-2026-50722 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking