{"id":"CVE-2026-50721","aliases":["CVE-2026-50721"],"related":[],"kind":"vulnerability","state":"published","title":"IKEv1 Denial of Service via RSA-SHA1 (PKCS#1 Version 1.5 Encrypted) authentication payload","summary":"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 encoding a shorter than expected hash in the SIG 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 remote IKE peers are not affected.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 encoding a shorter than expected hash in the SIG 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 remote IKE peers are not affected.","source":"cvelist"},{"lang":"es","text":"Libreswan, a través de la función RSA_authenticate_hash_signature_raw_rsa(), no verificaba correctamente la longitud del hash de autenticación cuando la carga útil SIG de un paquete IKEv1 se codificaba usando Cifrado RSA PKCS #1 según RFC 2313. Un atacante remoto puede usar una variación del ataque Bleichenbacher para falsificar la carga útil SIG cuando se utilizan exponentes públicos pequeños (p. ej., e=3), lo que podría llevar a la suplantación de identidad. Además, un atacante remoto, al codificar un hash más corto de lo esperado en la carga útil SIG, podría activar una aserción que llevaría a la denegación de servicio. El demonio aborta y se reinicia; la explotación continuada causa una denegación de servicio sostenida. La ejecución remota de código no es posible. Las verificaciones de certificados X.509 de pares IKE remotos no se ven afectadas.","source":"nvd"}],"published":"2026-07-02T21:44:09.423Z","modified":"2026-10-25T21:10:00.770Z","severity":{"scorer":"libreswan","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"libreswan","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"libreswan","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"}],"cwes":["CWE-347","CWE-617"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"5.3","status":"affected"},{"type":"semver","version":"5.3.1","status":"unaffected"}],"vendor":"The Libreswan Project","product":"libreswan","package":"libreswan","repo":"https://github.com/libreswan/libreswan","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.3.1"}],"vendor":"libreswan","product":"libreswan","cpe":"cpe:2.3:a:libreswan:libreswan:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://libreswan.org/security/CVE-2026-50721/CVE-2026-50721.txt","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://libreswan.org/security/CVE-2026-50721/","tags":["patch","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://libreswan.org/security/CVE-2026-50722/CVE-2026-50722.txt","tags":["related","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.rfc-editor.org/rfc/rfc2313","tags":["technical-description"],"sources":["cvelist","nvd"]}],"credits":["Yeonghyeon Choi","Duyeong Kim","Andrew Cagney (The Libreswan Team)"],"assigner":"libreswan","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-07-06T18:12:17.199Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-50721","url":"https://www.cve.org/CVERecord?id=CVE-2026-50721","licence":"CVE Terms of Use","modified":"2026-07-07T17:01:58.011Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-50721","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50721","licence":"Public domain","modified":"2026-10-25T21:10:00.770Z"}],"updatedAt":"2026-11-25T22:59:27.059Z","epss":{"score":0.00386,"percentile":0.34811,"date":"2026-12-01T12:00:22.000Z"}}