What’s Vulnerable › Vulnerabilities
CVE-2026-77207: Null Pointer Dereference in PKCS#7 bundle with no certificates
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-13 · updated 2026-10-16
- Weakness: CWE-252
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.
Affected products
- The Libreswan Project libreswan: from 4.7 through 5.3.2; from 5.4 through 5.4
References
- https://libreswan.org/security/CVE-2026-77207/
- https://libreswan.org/security/CVE-2026-77207/CVE-2026-77207.txt
Get alerted when CVE-2026-77207 or the next vulnerability affects your stack