CVE-2026-50721: Libreswan, via the function RSA_authenticate_hash_signature_raw_rsa(), did not correctly verify the length of
CVE-2026-50721 is a high-severity flaw (CVSS 8.1) affecting libreswan. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Libreswan, via the function RSA_authenticate_hash_signature_raw_rsa(), did not correctly verify the length of the authentication hash when the SIG payload of an IKEv1 packet was encoded using PKCS #1 RSA Encryption as per RFC 2313. A remote attacker can use a variation on the Bleichenbacher attack to forge the SIG payload when small public exponents are being used (e.g., e=3), which could lead to impersonation. Additionally, a remote attacker, by
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-50721?
libreswan: upgrade to 5.3.1. Exact commands for each OS are on this page.
Is CVE-2026-50721 being exploited?
CVE-2026-50721 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-50721 affect?
CVE-2026-50721 affects libreswan. Severity is high (CVSS 8.1). Libreswan, via the function RSA_authenticate_hash_signature_raw_rsa(), did not correctly verify the length of the authentication hash when the SIG payload of an IKEv1 packet was encoded using PKCS #1 RSA Encryption as per RFC 2313. A remote
How urgent is CVE-2026-50721?
Priority 41/100. High severity; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-12413 HIGH 7.5 UPGRADE An invalidly formatted IKEv2 fragment causes the Libreswan pluto daemon to crash and restart
- CVE-2026-50722 HIGH 8.1 UPGRADE Libreswan, via the function RSA_authenticate_hash_signature_pkcs1_1_5_rsa(), did not correctly verify the DER