๐Ÿ” CVE Alert

CVE-2026-77207

HIGH 7.5

Null Pointer Dereference in PKCS#7 bundle with no certificates

CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-476 CWE-252
Vendor the libreswan project
Product libreswan
Published Oct 13, 2026
Stay Ahead of the Next One

Get instant alerts for the libreswan project libreswan

Be the first to know when new high vulnerabilities affecting the libreswan project libreswan are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

The Libreswan Project / libreswan
4.7 โ‰ค 5.3.2 5.4 โ‰ค 5.4

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
libreswan.org: https://libreswan.org/security/CVE-2026-77207/CVE-2026-77207.txt libreswan.org: https://libreswan.org/security/CVE-2026-77207/

Credits

Claude (Anthropic) ๐Ÿ” David Korczynski (ADA Logics Ltd)