{"id":"CVE-2026-77207","published":"2026-10-13T21:28:19Z","modified":"2026-10-16T15:31:53Z","title":"Null Pointer Dereference in PKCS#7 bundle with no certificates","vendor":"The Libreswan Project","product":"libreswan","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00463,"percentile":0.40991,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"},{"id":"CWE-252","name":"Unchecked Return Value"}],"references":[{"url":"https://libreswan.org/security/CVE-2026-77207/CVE-2026-77207.txt","tags":["vendor-advisory"]},{"url":"https://libreswan.org/security/CVE-2026-77207/","tags":["patch"]}],"priority":{"score":13.4,"factors":[{"name":"EPSS percentile","points":8.2},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"the-libreswan-project","affectedVersions":[{"vendor":"The Libreswan Project","product":"libreswan","versions":[">= 4.7, <= 5.3.2",">= 5.4, <= 5.4"]}],"fixedVersions":[{"vendor":"The Libreswan Project","product":"libreswan","versions":["5.3.3","5.4.1"]}],"solutions":{"items":["Upgrade to libreswan 5.3.3 or 5.4.1 or later. Patches are available at https://libreswan.org/security/CVE-2026-77207/"],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["Apply the available patch or upgrade to a supported version. No configuration-based workaround is available."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-16T15:14:50.209248Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-100749","exploited":false,"provenance":"source"}}