CVE-2026-77207The Libreswan Project Libreswan unchecked return value
CVSS score
7.5
High
CVSS 3.1 from d42dc95b-23f1-4e06-9076-20753a0fb0df
Exploit probability (EPSS)
0.46%
0.46% chance of exploitation in the next 30 days, higher than 40.9% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: d42dc95b-23f1-4e06-9076-20753a0fb0df
How to fix it, step by step
Check whether you're affected
Find every system running The Libreswan Project Libreswan and compare its version with the affected versions.
Watch for an official fix
No fix or advisory is listed in the official record yet. Follow the vendor's security announcements; this page updates when one is published.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
| Affected products | Versions |
|---|---|
| The Libreswan Project Libreswan | ≥ 4.7, ≤ 5.3.2 · ≥ 5.4, ≤ 5.4 |
Weakness
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-77207 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.5% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-77207?
CVE-2026-77207 has a CVSS 3.1 base score of 7.5 (high).
Which versions are affected?
The Libreswan Project Libreswan (≥ 4.7, ≤ 5.3.2; ≥ 5.4, ≤ 5.4)
Is there a patch for CVE-2026-77207?
No patch is linked in the official record yet. Watch the vendor's security advisories.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.