CVE-2026-77207Null Pointer Dereference in PKCS#7 bundle with no certificates
Updated under an hour ago ()
Does this affect you?
It affects The Libreswan Project libreswan. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 0.34%, higher than 26% of scored CVEs.
Do this next
Free account, 1 product
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.
- CVSS
- 7.5 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weakness (CWE)
- CWE-476, CWE-252
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 0.34% (percentile 26)
- Assigned by
- libreswan
- NVD analysis
- Awaiting Analysis
- Record last updated
- Oct 16, 2026
- First seen by InfoSec Signals
- Oct 13, 2026
Affected products
The Libreswan Project libreswan libreswan_project:libreswan (from the name) | from 4.7 through 5.3.2; from 5.4 through 5.4; 5.3.3 not affected; 5.4.1 not affected | CNA record |
References
- https://libreswan.org/security/CVE-2026-77207/CVE-2026-77207.txtvendor-advisory
- https://libreswan.org/security/CVE-2026-77207/patch
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.