CVE-2026-77207
Null Pointer Dereference in PKCS#7 bundle with no certificates
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.5
Null Pointer Dereference in PKCS#7 bundle with no certificates
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.
- Record
CVE-2026-77207- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-476, CWE-252
- Updated
- 2026-11-02
EUVDEUVD-2026-100749
7.5
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.
- Record
EUVD-2026-100749- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-jf6r-wr9w-j67c
7.5
Libreswan has a null pointer dereference bug in the PKCS#7 handling code for IKE certificate...
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.
- Record
GHSA-jf6r-wr9w-j67c- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-252
- Updated
- 2026-11-02
NVD
7.5
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.
- Record
CVE-2026-77207- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-252, CWE-476
- Updated
- 2026-11-02
OSVALPINE-CVE-2026-77207
7.5
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.
- Record
ALPINE-CVE-2026-77207- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSVDEBIAN-CVE-2026-77207
7.5
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.
- Record
DEBIAN-CVE-2026-77207- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 8 moreShow less
OSVRLSA-2026:89748
7.5
Important: libreswan security update
Libreswan is an implementation of IPsec and IKE for Linux. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks such as virtual private network (VPN).
Security Fix(es):
-
libreswan: IKEv2 Use-After-Free bug when using IKE-over-TCP (CVE-2026-94453)
-
libreswan: IKEv2 pre-authentication Null Pointer deref in EAP code (CVE-2026-77206)
-
libreswan: Null Pointer Dereference in PKCS#7 bundle with no CERTS (CVE-2026-77207)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
RLSA-2026:89748- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRLSA-2026:89923
7.5
Important: libreswan security update
Libreswan is an implementation of IPsec and IKE for Linux. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks such as virtual private network (VPN).
Security Fix(es):
-
libreswan: IKEv2 Use-After-Free bug when using IKE-over-TCP (CVE-2026-94453)
-
libreswan: Denial of Service via sending bogus X.509 certificates (CVE-2026-77205)
-
libreswan: Null Pointer Dereference in PKCS#7 bundle with no CERTS (CVE-2026-77207)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
RLSA-2026:89923- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRLSA-2026:90492
7.5
Important: libreswan security update
Libreswan is an implementation of IPsec and IKE for Linux. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks such as virtual private network (VPN).
Security Fix(es):
-
libreswan: IKEv2 Use-After-Free bug when using IKE-over-TCP (CVE-2026-94453)
-
libreswan: IKEv2 pre-authentication Null Pointer deref in EAP code (CVE-2026-77206)
-
libreswan: Null Pointer Dereference in PKCS#7 bundle with no CERTS (CVE-2026-77207)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
RLSA-2026:90492- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVALSA-2026:89748 No score
Important: libreswan security update
Libreswan is an implementation of IPsec and IKE for Linux. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks such as virtual private network (VPN).
Security Fix(es):
- libreswan: IKEv2 Use-After-Free bug when using IKE-over-TCP (CVE-2026-94453)
- libreswan: IKEv2 pre-authentication Null Pointer deref in EAP code (CVE-2026-77206)
- libreswan: Null Pointer Dereference in PKCS#7 bundle with no CERTS (CVE-2026-77207)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
ALSA-2026:89748- Updated
- 2026-11-02
OSVALSA-2026:89923 No score
Important: libreswan security update
Libreswan is an implementation of IPsec and IKE for Linux. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks such as virtual private network (VPN).
Security Fix(es):
- libreswan: IKEv2 Use-After-Free bug when using IKE-over-TCP (CVE-2026-94453)
- libreswan: Denial of Service via sending bogus X.509 certificates (CVE-2026-77205)
- libreswan: Null Pointer Dereference in PKCS#7 bundle with no CERTS (CVE-2026-77207)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
ALSA-2026:89923- Updated
- 2026-11-02
OSVALSA-2026:90492 No score
Important: libreswan security update
Libreswan is an implementation of IPsec and IKE for Linux. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks such as virtual private network (VPN).
Security Fix(es):
- libreswan: IKEv2 Use-After-Free bug when using IKE-over-TCP (CVE-2026-94453)
- libreswan: IKEv2 pre-authentication Null Pointer deref in EAP code (CVE-2026-77206)
- libreswan: Null Pointer Dereference in PKCS#7 bundle with no CERTS (CVE-2026-77207)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
ALSA-2026:90492- Updated
- 2026-11-02
OSVAZL-108033 No score
CVE-2026-77207 affecting package libreswan for versions less than 4.15-4
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.
- Record
AZL-108033- Updated
- 2026-11-02
OSVCLSA-2026-1792158739 No score
libreswan: Fix of CVE-2026-77207
- CVE-2026-77207: fix a pre-auth NULL pointer dereference in decode_cert_payloads() when a PKCS#7 wrapped CERT payload carries no certificate list (CRL-only or non-SignedData content)
- Record
CLSA-2026-1792158739- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libreswanAlpine:v3.23 |
before 5.3.3-r0 | 5.3.3-r0 |
libreswanAlpine:v3.24 |
before 5.3.3-r0 | 5.3.3-r0 |
libreswanAlmaLinux:9 |
before 4.15-11.el9_8 | 4.15-11.el9_8 |
libreswanAlmaLinux:10 |
before 5.3.3-1.el10_2 | 5.3.3-1.el10_2 |
libreswan-minimalAlmaLinux:10 |
before 5.3.3-1.el10_2 | 5.3.3-1.el10_2 |
libreswanAlmaLinux:8 |
before 4.12-2.el8_10.7 | 4.12-2.el8_10.7 |
libreswanAzure Linux:3 |
before 4.15-4 | 4.15-4 |
libreswanTuxCare:AlmaLinux:9.2 |
before 4.12-2.el9_2.tuxcare.els6 | 4.12-2.el9_2.tuxcare.els6 |
libreswanDebian:12 |
All versions, plus listed versions 4.10-24.10-2+deb12u14.11-14.12-14.12-2 Show 13 moreShow less4.12-34.14-14.14-1.14.15-15.0~rc2-15.0~rc2-25.2-15.2-25.2-2.15.2-2.25.2-2.35.2-2.45.2-2.5 |
None known |
libreswanDebian:13 |
All versions, plus listed versions 5.2-2.25.2-2.35.2-2.45.2-2.5 |
None known |
Show 4 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libreswanDebian:14 |
All versions, plus listed versions 5.2-2.25.2-2.35.2-2.45.2-2.5 |
None known |
libreswanRocky Linux:9 |
before 0:4.15-11.el9_8 | 0:4.15-11.el9_8 |
libreswanRocky Linux:10 |
before 0:5.3.3-1.el10_2 | 0:5.3.3-1.el10_2 |
libreswanRocky Linux:8 |
before 0:4.12-2.el8_10.7 | 0:4.12-2.el8_10.7 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-77207 is a high vulnerability (CVSS 7.5) in The Libreswan Project Libreswan, published October 13, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.46%, the 40th percentile. Fixed in libreswan 5.3.3-r0.
References
libreswan.org/security/CVE-2026-77207/CVE-2026-77207.txt
libreswan.org/security/CVE-2026-77207
nvd.nist.gov/vuln/detail/CVE-2026-77207
github.com/advisories/GHSA-jf6r-wr9w-j67c
security.alpinelinux.org/vuln/CVE-2026-77207
access.redhat.com/errata/RHSA-2026:89748
Show 22 moreShow less
access.redhat.com/security/cve/CVE-2026-77206
access.redhat.com/security/cve/CVE-2026-77207
access.redhat.com/security/cve/CVE-2026-94453
bugzilla.redhat.com/2550254
bugzilla.redhat.com/2550256
bugzilla.redhat.com/2550258
errata.almalinux.org/9/ALSA-2026-89748.html
access.redhat.com/errata/RHSA-2026:89923
access.redhat.com/security/cve/CVE-2026-77205
bugzilla.redhat.com/2550255
errata.almalinux.org/10/ALSA-2026-89923.html
access.redhat.com/errata/RHSA-2026:90492
errata.almalinux.org/8/ALSA-2026-90492.html
errata.tuxcare.com/els_os/almalinux9.2esu/CLSA-2026-1792158739.html
security-tracker.debian.org/tracker/CVE-2026-77207
errata.rockylinux.org/RLSA-2026:89748
bugzilla.redhat.com/show_bug.cgi?id=2550254
bugzilla.redhat.com/show_bug.cgi?id=2550256
bugzilla.redhat.com/show_bug.cgi?id=2550258
errata.rockylinux.org/RLSA-2026:89923
bugzilla.redhat.com/show_bug.cgi?id=2550255
errata.rockylinux.org/RLSA-2026:90492