{
  "id": "CVE-2026-77207",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-77207",
  "published_at": "2026-10-13T21:28:19.219Z",
  "title": "Null Pointer Dereference in PKCS#7 bundle with no certificates",
  "vendor": "The Libreswan Project",
  "product": "libreswan",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "The Libreswan Project",
        "product": "libreswan",
        "ranges": [
          "\u003e= 4.7, \u003c= 5.3.2",
          "\u003e= 5.4, \u003c= 5.4"
        ],
        "fixed_in": [
          "5.3.3",
          "5.4.1"
        ]
      }
    ],
    "solutions": [
      "Upgrade to libreswan 5.3.3 or 5.4.1 or later. Patches are available at https://libreswan.org/security/CVE-2026-77207/"
    ],
    "upgrade": [
      "Upgrade libreswan to 5.3.3 or 5.4.1 or later."
    ],
    "workarounds": [
      "Apply the available patch or upgrade to a supported version. No configuration-based workaround is available."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://libreswan.org/security/CVE-2026-77207/CVE-2026-77207.txt"
      },
      {
        "kind": "Patch",
        "url": "https://libreswan.org/security/CVE-2026-77207/"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
