CVE-2026-77207
CVE-2026-77207 · Null Pointer Dereference in PKCS#7 bundle with no certificates
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
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.
CVSS 7.5 · Alta · EPSS 0,5% · Corrección disponible
- Publicación
- Actualización
Pila tecnológica: system
Productos y versiones afectados
libreswan
- Versiones
- ≥ 4.7, ≤ 5.3.2: Afectada (semver)
- ≥ 5.4, ≤ 5.4: Afectada (semver)
- 5.3.3: No afectada (semver)
- 5.4.1: No afectada (semver)
Actualiza a 5.3.3; Actualiza a 5.4.1
libreswan Debian:12
- Versiones
- 4.10-2
- 4.10-2+deb12u1
- 4.11-1
- 4.12-1
- 4.12-2
- 4.12-3
- 4.14-1
- 4.14-1.1
- 4.15-1
- 5.0~rc2-1
- 5.0~rc2-2
- 5.2-1
- 5.2-2
- 5.2-2.1
- 5.2-2.2
- 5.2-2.3
- 5.2-2.4
- 5.2-2.5
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
libreswan Debian:13
- Versiones
- 5.2-2.2
- 5.2-2.3
- 5.2-2.4
- 5.2-2.5
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada
libreswan Debian:14
- Versiones
- 5.2-2.2
- 5.2-2.3
- 5.2-2.4
- 5.2-2.5
- Intervalos de versiones afectados
- ECOSYSTEM: (−∞, +∞)
Sin corrección publicada