CVE-2026-77207
High 7.5No known exploitationFix availableNull Pointer Dereference in PKCS#7 bundle with no certificates
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 41% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-476, CWE-252
Patching and mitigation
- Patch status
- Fix available (source: Microsoft MSRC)
- Fix documented (source date)
- Mitigation
- Apply the available patch or upgrade to a supported version. No configuration-based workaround is available. Source (opens in a new tab)
- Vendor guidance
- libreswan.org (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Microsoft | azl3 libreswan 4.15-3 on Azure Linux 3.0 | Not documented | 4.15-4 | Microsoft MSRC |
| Microsoft | azl4 libreswan 5.4-6.azl4 on Azure Linux 4.0 | Not documented | 0:5.4.1-4.azl4 | Microsoft MSRC |
| The Libreswan Project | libreswan | from 4.7 up to and including 5.3.2 | Not documented | CVE Program |
| The Libreswan Project | libreswan | from 5.4 up to and including 5.4 | Not documented | CVE Program |
| The Libreswan Project | libreswan (unaffected) | 5.3.3 | Not documented | CVE Program |
| The Libreswan Project | libreswan (unaffected) | 5.4.1 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by libreswan
Source: CVE Program (opens in a new tab)
Advisory
Microsoft advisory published
Advisory change
Microsoft advisory revised (2.0): Information published.
Advisory change
Microsoft advisory revised (3.0): Information published.
Advisory change
Microsoft advisory revised (4.0): Information published.
Patch
Fix documented by Microsoft MSRC