{"id":"CVE-2026-77207","aliases":["CVE-2026-77207"],"related":[],"kind":"vulnerability","state":"published","title":"Null Pointer Dereference in PKCS#7 bundle with no certificates","summary":"Libreswan has a null pointer dereference bug in the PKCS#7 handling code for IKE certificate authentication. When libreswan decodes an IKE CERT payload of type CERT_PKCS7_WRAPPED_X509, it guards the PKCS#7 blob with SEC_PKCS7ContainsCertsOrCrls() and then iterates the certificate list with SEC_PKCS7GetCertificateList(). The two NSS APIs disagree on a SignedData that carries a CRL but no certificates: ContainsCertsOrCrls() returns PR_TRUE (there is a CRL), so the guard passes, but GetCertificateList() returns NULL (there are no certificates). This causes libreswan to dereference a null pointer leading to a crash and restart. A malicious IKE_AUTH packet can trigger this bug, meaning the peer does not need to be authenticated. No remote code execution is possible. Continued exploitation can cause a denial of service.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Libreswan has a null pointer dereference bug in the PKCS#7 handling code for IKE certificate authentication. When libreswan decodes an IKE CERT payload of type CERT_PKCS7_WRAPPED_X509, it guards the PKCS#7 blob with SEC_PKCS7ContainsCertsOrCrls() and then iterates the certificate list with SEC_PKCS7GetCertificateList(). The two NSS APIs disagree on a SignedData that carries a CRL but no certificates: ContainsCertsOrCrls() returns PR_TRUE (there is a CRL), so the guard passes, but GetCertificateList() returns NULL (there are no certificates). This causes libreswan to dereference a null pointer leading to a crash and restart. A malicious IKE_AUTH packet can trigger this bug, meaning the peer does not need to be authenticated. No remote code execution is possible. Continued exploitation can cause a denial of service.","source":"cvelist"}],"published":"2026-10-13T21:28:19.219Z","modified":"2026-10-16T19:55:59.740Z","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"}],"cwes":["CWE-252","CWE-476"],"affected":[{"ranges":[{"type":"semver","introduced":"4.7","lastAffected":"5.3.2","status":"affected"},{"type":"semver","introduced":"5.4","lastAffected":"5.4","status":"affected"},{"type":"semver","version":"5.3.3","status":"unaffected"},{"type":"semver","version":"5.4.1","status":"unaffected"}],"vendor":"The Libreswan Project","product":"libreswan","package":"libreswan","repo":"https://github.com/libreswan/libreswan","source":"cvelist"}],"references":[{"url":"https://libreswan.org/security/CVE-2026-77207/CVE-2026-77207.txt","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://libreswan.org/security/CVE-2026-77207/","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":["Claude (Anthropic)","David Korczynski (ADA Logics Ltd)"],"assigner":"libreswan","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-16T15:14:50.209Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-77207","url":"https://www.cve.org/CVERecord?id=CVE-2026-77207","licence":"CVE Terms of Use","modified":"2026-10-16T15:31:53.986Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-77207","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77207","licence":"Public domain","modified":"2026-10-16T19:55:59.740Z"}],"updatedAt":"2026-11-25T22:59:44.572Z","epss":{"score":0.00463,"percentile":0.41788,"date":"2026-12-01T12:00:22.000Z"}}