1. Accueil
  2. Vulnérabilités
  3. CVE-2026-77207

CVE-2026-77207

Null Pointer Dereference in PKCS#7 bundle with no certificates

Publiée le 13 oct. 2026 · modifiée le 16 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 43/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

The Libreswan Project (2 ligne(s))
The Libreswan Project
ProduitVersionsCorrigé dansSource
libreswan de 4.7 (inclus) à 5.3.2 (inclus) — CNA (éditeur ou attributeur)
libreswan jusqu’à 5.4 (inclus) — CNA (éditeur ou attributeur)

Correctif

Correctifsource officielle

Upgrade to libreswan 5.3.3 or 5.4.1 or later. Patches are available at https://libreswan.org/security/CVE-2026-77207/

Source : CNA (éditeur ou attributeur)

Contournement

Contournementsource officielle

Apply the available patch or upgrade to a supported version. No configuration-based workaround is available.

Source : CNA (éditeur ou attributeur)

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)
  2. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1536)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, CNA:libreswan)
Faiblesse
CWE-476 · Corruption mémoire

Comment sont obtenues et calculées ces données