# CVE-2026-77207: Null Pointer Dereference in PKCS#7 bundle with no certificates

- Severity: High 7.5 (CVSS:3.1, scored by libreswan) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2026-10-13T21:28:19.219Z
- Modified: 2026-10-16T19:55:59.740Z
- Weaknesses: CWE-252, CWE-476
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: libreswan

## 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.

(As written by CVE List.)

## Affected

- libreswan: from 4.7 up to 5.3.2; from 5.4 up to 5.4 (not affected: 5.3.3; 5.4.1)

## References

- <https://libreswan.org/security/CVE-2026-77207/CVE-2026-77207.txt> (vendor-advisory)
- <https://libreswan.org/security/CVE-2026-77207/> (patch)

## Sources

- CVE List: [CVE-2026-77207](https://www.cve.org/CVERecord?id=CVE-2026-77207), CVE Terms of Use, modified 2026-10-16
- NVD: [CVE-2026-77207](https://nvd.nist.gov/vuln/detail/CVE-2026-77207), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-77207 · Whole record: https://cve.day/CVE-2026-77207.json · Rebuilt by cve.day 2026-11-25T22:59:44.572Z
