PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-77207 The Libreswan Project CVE debrief

A null pointer dereference bug was found in Libreswan's PKCS#7 handling code for IKE certificate authentication. This issue can cause a crash and restart when a malicious IKE_AUTH packet is received. The bug is triggered when Libreswan decodes an IKE CERT payload of type CERT_PKCS7_WRAPPED_X509 and encounters a SignedData that carries a CRL but no certificates.

Vendor
The Libreswan Project
Product
libreswan
CVSS
HIGH 7.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-13
Original CVE updated
2026-10-13
Advisory published
2026-10-13
Advisory updated
2026-10-13

Who should care

Libreswan users and administrators should assess exposure and prioritize patching or mitigation to prevent potential crashes and denial of service. This includes reviewing affected versions and patch levels, and implementing compensating controls such as monitoring for suspicious IKE_AUTH packets. Operators, platform administrators, vulnerability management teams, and security teams should coordinate to verify affected deployments and plan remediation.

Why it matters

CVE-2026-77207 is a null pointer dereference bug in Libreswan's PKCS#7 handling code. Libreswan users should assess exposure and prioritize patching or mitigation to prevent potential crashes and denial of service.

  • Potential denial of service due to crashes and restarts.
  • Need to verify affected versions and patch levels.
  • Possible impact on IKE_AUTH packet processing.

Technical summary

The bug is caused by a disagreement between two NSS APIs, SEC_PKCS7ContainsCertsOrCrls() and SEC_PKCS7GetCertificateList(), when handling a SignedData that carries a CRL but no certificates. This leads to a null pointer dereference when Libreswan iterates the certificate list. The issue can cause a crash and restart when a malicious IKE_AUTH packet is received, potentially leading to a denial of service. The bug is triggered when Libreswan decodes an IKE CERT payload of type CERT_PKCS7_WRAPPED_X509 and encounters a SignedData that carries a CRL but no certificates.

Defensive priority

Libreswan users should assess exposure and prioritize patching or mitigation to prevent potential crashes and denial of service.

Recommended defensive actions

  • Assess exposure by checking if Libreswan versions 4.7, 5.3.2, or 5.4 are in use.
  • Prioritize patching to versions 5.3.3 or 5.4.1.
  • Implement compensating controls, such as monitoring for suspicious IKE_AUTH packets.
  • Review compensating controls for exposed systems while remediation is scheduled and verified.
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review.
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.

Evidence notes

The CVE record and source item provide details on the null pointer dereference bug in Libreswan's PKCS#7 handling code. The bug can be triggered by a malicious IKE_AUTH packet, leading to a crash and restart.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-77207 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-77207

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-77207 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-77207

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Null Pointer Dereference in PKCS#7 bundle with no certificates

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/77xxx/CVE-2026-77207.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://libreswan.org/security/CVE-2026-77207/CVE-2026-77207.txt

    Supplemental source - vendor-advisory

  • Source reference

    Unverified legacy reference

    URL: https://libreswan.org/security/CVE-2026-77207/

    Supplemental source - patch

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.