Skip to content
Threat Brief

← All advisories

CVE-2026-77207

High 7.5No known exploitationFix available

Null Pointer Dereference in PKCS#7 bundle with no certificates

Record last updated

CVSS score

7.5

High on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.5%

Higher than 41% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

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.

Weakness: CWE-476, CWE-252

Patching and mitigation

Patch status
Fix available (source: Microsoft MSRC)
Fix documented (source date)
Mitigation
Apply the available patch or upgrade to a supported version. No configuration-based workaround is available. Source (opens in a new tab)
Vendor guidance
libreswan.org (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
Microsoftazl3 libreswan 4.15-3 on Azure Linux 3.0Not documented4.15-4Microsoft MSRC
Microsoftazl4 libreswan 5.4-6.azl4 on Azure Linux 4.0Not documented0:5.4.1-4.azl4Microsoft MSRC
The Libreswan Projectlibreswanfrom 4.7 up to and including 5.3.2Not documentedCVE Program
The Libreswan Projectlibreswanfrom 5.4 up to and including 5.4Not documentedCVE Program
The Libreswan Projectlibreswan (unaffected)5.3.3Not documentedCVE Program
The Libreswan Projectlibreswan (unaffected)5.4.1Not documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by libreswan

    Source: CVE Program (opens in a new tab)

  2. Advisory

    Microsoft advisory published

    Source: Microsoft MSRC (opens in a new tab)

  3. Advisory change

    Microsoft advisory revised (2.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  4. Advisory change

    Microsoft advisory revised (3.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  5. Advisory change

    Microsoft advisory revised (4.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  6. Patch

    Fix documented by Microsoft MSRC

    Source: Microsoft MSRC (opens in a new tab)

Vendor guidance and references