CVE-2026-50722: Libreswan, via the function RSA_authenticate_hash_signature_pkcs1_1_5_rsa(), did not correctly verify the DER
CVE-2026-50722 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_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 expect
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-50722?
libreswan: upgrade to 5.3.1. Exact commands for each OS are on this page.
Is CVE-2026-50722 being exploited?
CVE-2026-50722 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-50722 affect?
CVE-2026-50722 affects libreswan. Severity is high (CVSS 8.1). 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
How urgent is CVE-2026-50722?
Priority 40/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-50721 HIGH 8.1 UPGRADE Libreswan, via the function RSA_authenticate_hash_signature_raw_rsa(), did not correctly verify the length of