{"api_version":"1","generated_at":"2026-07-15T02:29:09+00:00","cve":"CVE-2026-50722","urls":{"html":"https://cve.report/CVE-2026-50722","api":"https://cve.report/api/cve/CVE-2026-50722.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-50722","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-50722"},"summary":{"title":"IKEv2 Denial of Service via RSA-SHA1 (PKCS#1 RSASSA-PKCS1-v1_5) authentication payload","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.","state":"PUBLISHED","assigner":"libreswan","published_at":"2026-07-02 22:16:43","updated_at":"2026-07-09 15:47:00"},"problem_types":["CWE-347","CWE-617","CWE-347 CWE-347: Improper Verification of Cryptographic Signature","CWE-617 CWE-617: Reachable Assertion"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"5.9","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":5.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}},{"version":"3.1","source":"d42dc95b-23f1-4e06-9076-20753a0fb0df","type":"Secondary","score":"8.1","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.1,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"CVSS","score":"7.5","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}},{"version":"3.1","source":"CNA","type":"CVSS","score":"8.1","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://www.rfc-editor.org/rfc/rfc8017","name":"https://www.rfc-editor.org/rfc/rfc8017","refsource":"d42dc95b-23f1-4e06-9076-20753a0fb0df","tags":["Technical Description"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://libreswan.org/security/CVE-2026-50722/CVE-2026-50722.txt","name":"https://libreswan.org/security/CVE-2026-50722/CVE-2026-50722.txt","refsource":"d42dc95b-23f1-4e06-9076-20753a0fb0df","tags":["Vendor Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://libreswan.org/security/CVE-2026-50722/","name":"https://libreswan.org/security/CVE-2026-50722/","refsource":"d42dc95b-23f1-4e06-9076-20753a0fb0df","tags":["Vendor Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://libreswan.org/security/CVE-2026-50721/CVE-2026-50721.txt","name":"https://libreswan.org/security/CVE-2026-50721/CVE-2026-50721.txt","refsource":"d42dc95b-23f1-4e06-9076-20753a0fb0df","tags":["Vendor Advisory","Mailing List"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-50722","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50722","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"The Libreswan Project","product":"libreswan","version":"affected 5.3 semver","platforms":[]},{"source":"CNA","vendor":"The Libreswan Project","product":"libreswan","version":"unaffected 5.3.1 semver","platforms":[]}],"timeline":[{"source":"CNA","time":"2026-03-24T00:00:00.000Z","lang":"en","value":"Libreswan notified of the issue via security@libreswan.org"},{"source":"CNA","time":"2026-06-16T00:00:00.000Z","lang":"en","value":"Advanced notice given to supported customers and distributions"},{"source":"CNA","time":"2026-06-24T00:00:00.000Z","lang":"en","value":"Public announcement and release of libreswan 5.3.1"}],"solutions":[{"source":"CNA","title":"","value":"Upgrade to libreswan 5.3.1 or later. Patches for libreswan 4.15 and 5.3 are available at https://libreswan.org/security/CVE-2026-50722/","time":"","lang":"en"}],"workarounds":[{"source":"CNA","title":"","value":"If Windows support is not needed, configure authby=ecdsa or authby=rsa-sha2 (or both via authby=ecdsa,rsa-sha2) to disallow the fallback of RSA PKCS#1 1.5. The leftauth= and rightauth= settings can be updated similarly if those are in use instead of authby.","time":"","lang":"en"}],"exploits":[{"source":"CNA","title":"","value":"No known exploitation in the wild. The authentication bypass requires the target to use RSA keys with weak exponents (e=3), which have been disallowed by most cryptographic libraries for at least a decade. The denial-of-service attack is exploitable against any IKEv2 configuration using default authby= settings that permit RSA PKCS#1 v1.5 fallback.","time":"","lang":"en"}],"credits":[{"source":"CNA","value":"Yeonghyeon Choi","lang":"en"},{"source":"CNA","value":"Duyeong Kim","lang":"en"},{"source":"CNA","value":"Andrew Cagney (The Libreswan Team)","lang":"en"}],"nvd_cpes":[{"cve_year":"2026","cve_id":"50722","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"libreswan","cpe5":"libreswan","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"50722","cve":"CVE-2026-50722","epss":"0.003520000","percentile":"0.272930000","score_date":"2026-07-13","updated_at":"2026-07-14 00:13:16"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-50722","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-07-06T18:12:19.317302Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-07-07T17:02:06.722Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"collectionURL":"https://github.com/libreswan/libreswan","defaultStatus":"unaffected","packageName":"libreswan","product":"libreswan","programRoutines":[{"name":"RSA_authenticate_hash_signature_pkcs1_1_5_rsa"}],"repo":"https://github.com/libreswan/libreswan","vendor":"The Libreswan Project","versions":[{"lessThanOrEqual":"5.3","status":"affected","version":"0","versionType":"semver"},{"status":"unaffected","version":"5.3.1","versionType":"semver"}]}],"configurations":[{"lang":"en","value":"Any server or client that accepts RSA-based IKEv2 connections via the default authby= settings is vulnerable to denial of service. Authentication bypass additionally requires the use of RSA keys with weak exponents (e=3). IKEv2 by default allows ECDSA, RSA-SSA-PSS, and RSA PKCS#1 1.5 as fallback due to Microsoft Windows not supporting RSASSA-PSS."}],"credits":[{"lang":"en","type":"finder","value":"Yeonghyeon Choi"},{"lang":"en","type":"finder","value":"Duyeong Kim"},{"lang":"en","type":"analyst","value":"Andrew Cagney (The Libreswan Team)"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>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.</p>"}],"value":"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."}],"exploits":[{"lang":"en","value":"No known exploitation in the wild. The authentication bypass requires the target to use RSA keys with weak exponents (e=3), which have been disallowed by most cryptographic libraries for at least a decade. The denial-of-service attack is exploitable against any IKEv2 configuration using default authby= settings that permit RSA PKCS#1 v1.5 fallback."}],"impacts":[{"capecId":"CAPEC-463","descriptions":[{"lang":"en","value":"Denial of Service via assertion failure in pluto daemon when processing malformed RSA PKCS#1 v1.5 AUTH payloads"}]},{"capecId":"CAPEC-473","descriptions":[{"lang":"en","value":"Authentication bypass via Bleichenbacher-style signature forgery when weak RSA exponents (e.g., e=3) are in use"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]},{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"Weak RSA exponent (e=3) in use, enabling Bleichenbacher signature forgery"}]},{"other":{"content":{"description":"Vendor-assessed severity: Medium. Authentication bypass requires weak RSA exponents (e=3) which have been disallowed by most cryptographic libraries for over a decade. DoS is mitigated by automatic daemon restart.","value":"MEDIUM"},"type":"vendorSeverity"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-347","description":"CWE-347: Improper Verification of Cryptographic Signature","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-617","description":"CWE-617: Reachable Assertion","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-07-02T21:34:41.413Z","orgId":"d42dc95b-23f1-4e06-9076-20753a0fb0df","shortName":"libreswan"},"references":[{"name":"Libreswan Security Advisory CVE-2026-50722","tags":["vendor-advisory"],"url":"https://libreswan.org/security/CVE-2026-50722/CVE-2026-50722.txt"},{"name":"Libreswan CVE-2026-50722 Patches","tags":["patch"],"url":"https://libreswan.org/security/CVE-2026-50722/"},{"name":"Related: CVE-2026-50721 (IKEv1 variant)","tags":["related"],"url":"https://libreswan.org/security/CVE-2026-50721/CVE-2026-50721.txt"},{"name":"RFC 8017 - PKCS #1: RSA Cryptography Specifications Version 2.2","tags":["technical-description"],"url":"https://www.rfc-editor.org/rfc/rfc8017"}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Upgrade to libreswan 5.3.1 or later. Patches for libreswan 4.15 and 5.3 are available at <a href=\"https://libreswan.org/security/CVE-2026-50722/\">https://libreswan.org/security/CVE-2026-50722/</a></p>"}],"value":"Upgrade to libreswan 5.3.1 or later. Patches for libreswan 4.15 and 5.3 are available at https://libreswan.org/security/CVE-2026-50722/"}],"source":{"defects":["CVE-2026-50722"],"discovery":"EXTERNAL"},"taxonomyMappings":[{"taxonomyName":"ATT&CK","taxonomyRelations":[{"relationshipName":"maps to","relationshipValue":"Application or System Exploitation (DoS)","taxonomyId":"T1499.004"}],"taxonomyVersion":"15.1"}],"timeline":[{"lang":"en","time":"2026-03-24T00:00:00.000Z","value":"Libreswan notified of the issue via security@libreswan.org"},{"lang":"en","time":"2026-06-16T00:00:00.000Z","value":"Advanced notice given to supported customers and distributions"},{"lang":"en","time":"2026-06-24T00:00:00.000Z","value":"Public announcement and release of libreswan 5.3.1"}],"title":"IKEv2 Denial of Service via RSA-SHA1 (PKCS#1 RSASSA-PKCS1-v1_5) authentication payload","workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>If Windows support is not needed, configure <code>authby=ecdsa</code> or <code>authby=rsa-sha2</code> (or both via <code>authby=ecdsa,rsa-sha2</code>) to disallow the fallback of RSA PKCS#1 1.5. The <code>leftauth=</code> and <code>rightauth=</code> settings can be updated similarly if those are in use instead of <code>authby</code>.</p>"}],"value":"If Windows support is not needed, configure authby=ecdsa or authby=rsa-sha2 (or both via authby=ecdsa,rsa-sha2) to disallow the fallback of RSA PKCS#1 1.5. The leftauth= and rightauth= settings can be updated similarly if those are in use instead of authby."}],"x_generator":{"engine":"cvelib 1.8.0"}}},"cveMetadata":{"assignerOrgId":"d42dc95b-23f1-4e06-9076-20753a0fb0df","assignerShortName":"libreswan","cveId":"CVE-2026-50722","datePublished":"2026-07-02T21:34:41.413Z","dateReserved":"2026-06-05T16:10:05.751Z","dateUpdated":"2026-07-07T17:02:06.722Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-07-02 22:16:43","lastModifiedDate":"2026-07-09 15:47:00","problem_types":["CWE-347","CWE-617","CWE-347 CWE-347: Improper Verification of Cryptographic Signature","CWE-617 CWE-617: Reachable Assertion"],"metrics":{"cvssMetricV31":[{"source":"d42dc95b-23f1-4e06-9076-20753a0fb0df","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.1,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.2,"impactScore":5.9},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":5.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":2.2,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-07-06T18:12:19.317302Z","id":"CVE-2026-50722","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:libreswan:libreswan:*:*:*:*:*:*:*:*","versionEndExcluding":"5.3.1","matchCriteriaId":"0D5C4D8F-3003-4ACA-A065-E03AEE680115"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"50722","Ordinal":"1","Title":"IKEv2 Denial of Service via RSA-SHA1 (PKCS#1 RSASSA-PKCS1-v1_5) ","CVE":"CVE-2026-50722","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"50722","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"IKEv2 Denial of Service via RSA-SHA1 (PKCS#1 RSASSA-PKCS1-v1_5) "}]}}}