{"id":"CVE-2026-77207","revision":"783015242b664b5c8df120489a599018","records":[{"revision":"783015242b664b5c8df120489a599018","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-77207","aliases":[],"title":"Null Pointer Dereference in PKCS#7 bundle with no certificates","description":"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.","state":0,"publishedAt":"2026-10-13T21:28:19.219+00:00","modifiedAt":"2026-10-16T15:31:53.986+00:00","affected":[{"ecosystem":"https://github.com/libreswan/libreswan","name":"libreswan","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"The Libreswan Project\",\n                    \"product\": \"libreswan\",\n                    \"packageName\": \"libreswan\",\n                    \"collectionURL\": \"https://github.com/libreswan/libreswan\",\n                    \"repo\": \"https://github.com/libreswan/libreswan\",\n                    \"versions\": [\n                        {\n                            \"version\": \"4.7\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"5.3.2\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.4\",\n                            \"status\": \"affected\",\n                            \"lessThanOrEqual\": \"5.4\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.3.3\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.4.1\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\",\n                    \"programRoutines\": [\n                        {\n                            \"name\": \"decode_cert_payloads\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"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,"severity":"HIGH"}],"references":["https://libreswan.org/security/CVE-2026-77207/CVE-2026-77207.txt","https://libreswan.org/security/CVE-2026-77207/"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-77207","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-77207","identifiers":["CVE-2026-77207"]},"retained":false,"historicalAffected":[]}],"coverage":[]}