CVE-2026-77207

EUVD-2026-100749
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Awaiting analysis
This vulnerability is currently awaiting analysis.
Base Score
CVSS 3.x
EPSS Score
Percentile: 32.15%
Debian logo
Debian Releases
Debian Product
Codename
libreswan
bookworm
vulnerable
sid
vulnerable
trixie
vulnerable
Red Hat logo
Red Hat Enterprise Linux Releases
Red Hat Product
Release
libreswan
RHEL 8
0:4.12-2.el8_10.7
fixed
RHEL 9
0:4.15-11.el9_9
fixed
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
libreswan
Amazon Linux 2
0:3.25-4.8.amzn2.0.4
fixed
Amazon Linux 2023
0:4.12-3.amzn2023.0.4
fixed
libreswan-debuginfo
Amazon Linux 2
0:3.25-4.8.amzn2.0.4
fixed
Amazon Linux 2023
0:4.12-3.amzn2023.0.4
fixed
libreswan-debugsource
Amazon Linux 2023
0:4.12-3.amzn2023.0.4
fixed
Azure Linux logo
Azure Linux Releases
Azure Package
Release
libreswan
Azure Linux 3.0
0:4.15-4.azl3
fixed