
CVE catalog
CVE-2026-77207
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 P
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.46% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libreswan | sid | 5.2-2.5 | vulnerable |
| Debian | libreswan | forky | 5.2-2.5 | vulnerable |
| Debian | libreswan | trixie | 5.2-2.2 | vulnerable |
| Debian | libreswan | bookworm | 4.10-2+deb12u1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libreswan | source | sid | (unfixed) | not yet assigned | Not reported | [1150899] |
| Debian | libreswan | source | forky | (unfixed) | not yet assigned | Not reported | [1150899] |
| Debian | libreswan | source | trixie | (unfixed) | not yet assigned | Not reported | [1150899] |
| Debian | libreswan | source | bookworm | (unfixed) | not yet assigned | Not reported | [1150899] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libreswan]Affected
Details (2)
4.10-2+deb12u1· amd64 · bookwormAffected
nvd · libreswan · debian · bookworm; nvd · libreswan · debian · 12
4.10-2+deb12u1· arm64 · bookwormAffected
nvd · libreswan · debian · bookworm; nvd · libreswan · debian · 12
[Debian 13 (Trixie)]
- [libreswan]Affected
Details (2)
5.2-2.2· amd64 · trixieAffected
nvd · libreswan · debian · 13
5.2-2.2· arm64 · trixieAffected
nvd · libreswan · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-77207]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-77207]
- [https://security-tracker.debian.org/tracker/CVE-2026-77207]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-77207.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]