CVE-2026-77207 (GCVE-0-2026-77207)
Vulnerability from cvelistv5 – Published: 2026-10-13 21:28 – Updated: 2026-10-16 15:31
VLAI
EPSS
VEX
Title
Null Pointer Dereference in PKCS#7 bundle with no certificates
Summary
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.
Severity
7.5 (High)
SSVC
Exploitation: none
Automatable: yes
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-10-16 15:14 UTC
Assigner
References
2 references
| URL | Tags |
|---|---|
| https://libreswan.org/security/CVE-2026-77207/CVE… | vendor-advisory |
| https://libreswan.org/security/CVE-2026-77207/ | patch |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| The Libreswan Project | libreswan |
Affected:
4.7 , ≤ 5.3.2
(semver)
Affected: 5.4 , ≤ 5.4 (semver) Unaffected: 5.3.3 (semver) Unaffected: 5.4.1 (semver) |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-77207",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-10-16T15:14:50.209248Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-10-16T15:31:53.986Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://github.com/libreswan/libreswan",
"defaultStatus": "unaffected",
"packageName": "libreswan",
"product": "libreswan",
"programRoutines": [
{
"name": "decode_cert_payloads"
}
],
"repo": "https://github.com/libreswan/libreswan",
"vendor": "The Libreswan Project",
"versions": [
{
"lessThanOrEqual": "5.3.2",
"status": "affected",
"version": "4.7",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.4",
"status": "affected",
"version": "5.4",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.3.3",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.4.1",
"versionType": "semver"
}
]
}
],
"configurations": [
{
"lang": "en",
"value": "Any server or client that accepts IKEv2 connections with certificate-based authentication is vulnerable."
}
],
"credits": [
{
"lang": "en",
"type": "tool",
"value": "Claude (Anthropic)"
},
{
"lang": "en",
"type": "reporter",
"value": "David Korczynski (ADA Logics Ltd)"
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"exploits": [
{
"lang": "en",
"value": "No known exploitation in the wild. Exploitation requires sending a malicious IKE CERT payload with a PKCS#7 SignedData containing a CRL but no certificates, and does not require peer authentication."
}
],
"impacts": [
{
"descriptions": [
{
"lang": "en",
"value": "Denial of service via null pointer dereference in PKCS#7 certificate handling when processing malicious IKE_AUTH packets"
}
]
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
},
{
"other": {
"content": {
"description": "Vendor-assessed severity: Medium. Exploitation does not require authentication, but the daemon automatically restarts after the crash, requiring continued exploitation for sustained denial of service.",
"value": "MEDIUM"
},
"type": "vendorSeverity"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-476",
"description": "CWE-476: Null Pointer Dereference",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-252",
"description": "CWE-252: Unchecked Return Value",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-13T21:28:19.219Z",
"orgId": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
"shortName": "libreswan"
},
"references": [
{
"name": "Libreswan Security Advisory CVE-2026-77207",
"tags": [
"vendor-advisory"
],
"url": "https://libreswan.org/security/CVE-2026-77207/CVE-2026-77207.txt"
},
{
"name": "Libreswan CVE-2026-77207 Patches",
"tags": [
"patch"
],
"url": "https://libreswan.org/security/CVE-2026-77207/"
}
],
"solutions": [
{
"lang": "en",
"value": "Upgrade to libreswan 5.3.3 or 5.4.1 or later. Patches are available at https://libreswan.org/security/CVE-2026-77207/"
}
],
"source": {
"defects": [
"CVE-2026-77207"
],
"discovery": "EXTERNAL"
},
"taxonomyMappings": [
{
"taxonomyName": "ATT\u0026CK",
"taxonomyRelations": [
{
"relationshipName": "maps to",
"relationshipValue": "Application or System Exploitation (DoS)",
"taxonomyId": "T1499.004"
}
],
"taxonomyVersion": "15.1"
}
],
"timeline": [
{
"lang": "en",
"time": "2026-08-05T00:00:00.000Z",
"value": "Libreswan was notified of the issue via security@libreswan.org"
},
{
"lang": "en",
"time": "2026-09-24T00:00:00.000Z",
"value": "Advanced notice given to supported customers and distributions"
},
{
"lang": "en",
"time": "2026-10-05T00:00:00.000Z",
"value": "Public announcement and release of libreswan 5.3.3 and 5.4.1"
}
],
"title": "Null Pointer Dereference in PKCS#7 bundle with no certificates",
"workarounds": [
{
"lang": "en",
"value": "Apply the available patch or upgrade to a supported version. No configuration-based workaround is available."
}
],
"x_generator": {
"engine": "cvelib 1.8.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
"assignerShortName": "libreswan",
"cveId": "CVE-2026-77207",
"datePublished": "2026-10-13T21:28:19.219Z",
"dateReserved": "2026-08-20T18:13:09.377Z",
"dateUpdated": "2026-10-16T15:31:53.986Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-77207",
"date": "2026-11-16",
"epss": "0.00463",
"percentile": "0.40638"
},
"microsoft_vex": {
"current_release_date": "2026-10-30T01:44:01.000Z",
"cve": "CVE-2026-77207",
"id": "msrc_CVE-2026-77207",
"initial_release_date": "2026-10-15T01:08:58.000Z",
"product_status:fixed": "1",
"product_status:known_affected": "1",
"source": "Microsoft CSAF VEX",
"status": "final",
"title": "Null Pointer Dereference in PKCS#7 bundle with no certificates",
"url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-77207.json",
"version": "3"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"collectionURL": "https://github.com/libreswan/libreswan",
"defaultStatus": "unaffected",
"packageName": "libreswan",
"product": "libreswan",
"programRoutines": [
{
"name": "decode_cert_payloads"
}
],
"repo": "https://github.com/libreswan/libreswan",
"vendor": "The Libreswan Project",
"versions": [
{
"lessThanOrEqual": "5.3.2",
"status": "affected",
"version": "4.7",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.4",
"status": "affected",
"version": "5.4",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.3.3",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.4.1",
"versionType": "semver"
}
]
}
],
"source": "d42dc95b-23f1-4e06-9076-20753a0fb0df"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"id": "CVE-2026-77207",
"lastModified": "2026-10-16T19:55:59.740",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 3.6,
"source": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
"type": "Secondary"
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-77207",
"options": [
{
"exploitation": "none"
},
{
"automatable": "yes"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-10-16T15:14:50.209248Z",
"version": "2.0.3"
}
}
]
},
"published": "2026-10-13T22:18:26.040",
"references": [
{
"source": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
"url": "https://libreswan.org/security/CVE-2026-77207/"
},
{
"source": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
"url": "https://libreswan.org/security/CVE-2026-77207/CVE-2026-77207.txt"
}
],
"sourceIdentifier": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
"vulnStatus": "Awaiting Analysis",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-252"
},
{
"lang": "en",
"value": "CWE-476"
}
],
"source": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
"type": "Secondary"
}
]
}
},
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2026-11-11T08:27:24+00:00",
"cve": "CVE-2026-77207",
"id": "CVE-2026-77207",
"initial_release_date": "2026-10-05T00:00:00+00:00",
"product_status:fixed": "98",
"product_status:known_affected": "2",
"product_status:known_not_affected": "3",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "libreswan: Null Pointer Dereference in PKCS#7 bundle with no CERTS",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-77207.json",
"version": "3"
},
"suse_vex": {
"aggregate_severity": "important",
"current_release_date": "2026-10-27T01:07:36Z",
"cve": "CVE-2026-77207",
"id": "CVE-2026-77207",
"initial_release_date": "2026-10-27T01:07:36Z",
"product_status:recommended": "1",
"source": "SUSE CSAF VEX",
"status": "interim",
"title": "SUSE CVE CVE-2026-77207",
"url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-77207.json",
"version": "2"
},
"vulnrichment": {
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-77207",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-10-16T15:14:50.209248Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-10-16T15:30:01.226Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://github.com/libreswan/libreswan",
"defaultStatus": "unaffected",
"packageName": "libreswan",
"product": "libreswan",
"programRoutines": [
{
"name": "decode_cert_payloads"
}
],
"repo": "https://github.com/libreswan/libreswan",
"vendor": "The Libreswan Project",
"versions": [
{
"lessThanOrEqual": "5.3.2",
"status": "affected",
"version": "4.7",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.4",
"status": "affected",
"version": "5.4",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.3.3",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.4.1",
"versionType": "semver"
}
]
}
],
"configurations": [
{
"lang": "en",
"value": "Any server or client that accepts IKEv2 connections with certificate-based authentication is vulnerable."
}
],
"credits": [
{
"lang": "en",
"type": "tool",
"value": "Claude (Anthropic)"
},
{
"lang": "en",
"type": "reporter",
"value": "David Korczynski (ADA Logics Ltd)"
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"exploits": [
{
"lang": "en",
"value": "No known exploitation in the wild. Exploitation requires sending a malicious IKE CERT payload with a PKCS#7 SignedData containing a CRL but no certificates, and does not require peer authentication."
}
],
"impacts": [
{
"descriptions": [
{
"lang": "en",
"value": "Denial of service via null pointer dereference in PKCS#7 certificate handling when processing malicious IKE_AUTH packets"
}
]
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.5,
"baseSeverity": "HIGH",
"confidentialityImpact": "NONE",
"integrityImpact": "NONE",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
},
{
"other": {
"content": {
"description": "Vendor-assessed severity: Medium. Exploitation does not require authentication, but the daemon automatically restarts after the crash, requiring continued exploitation for sustained denial of service.",
"value": "MEDIUM"
},
"type": "vendorSeverity"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-476",
"description": "CWE-476: Null Pointer Dereference",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-252",
"description": "CWE-252: Unchecked Return Value",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-13T21:28:19.219Z",
"orgId": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
"shortName": "libreswan"
},
"references": [
{
"name": "Libreswan Security Advisory CVE-2026-77207",
"tags": [
"vendor-advisory"
],
"url": "https://libreswan.org/security/CVE-2026-77207/CVE-2026-77207.txt"
},
{
"name": "Libreswan CVE-2026-77207 Patches",
"tags": [
"patch"
],
"url": "https://libreswan.org/security/CVE-2026-77207/"
}
],
"solutions": [
{
"lang": "en",
"value": "Upgrade to libreswan 5.3.3 or 5.4.1 or later. Patches are available at https://libreswan.org/security/CVE-2026-77207/"
}
],
"source": {
"defects": [
"CVE-2026-77207"
],
"discovery": "EXTERNAL"
},
"taxonomyMappings": [
{
"taxonomyName": "ATT\u0026CK",
"taxonomyRelations": [
{
"relationshipName": "maps to",
"relationshipValue": "Application or System Exploitation (DoS)",
"taxonomyId": "T1499.004"
}
],
"taxonomyVersion": "15.1"
}
],
"timeline": [
{
"lang": "en",
"time": "2026-08-05T00:00:00.000Z",
"value": "Libreswan was notified of the issue via security@libreswan.org"
},
{
"lang": "en",
"time": "2026-09-24T00:00:00.000Z",
"value": "Advanced notice given to supported customers and distributions"
},
{
"lang": "en",
"time": "2026-10-05T00:00:00.000Z",
"value": "Public announcement and release of libreswan 5.3.3 and 5.4.1"
}
],
"title": "Null Pointer Dereference in PKCS#7 bundle with no certificates",
"workarounds": [
{
"lang": "en",
"value": "Apply the available patch or upgrade to a supported version. No configuration-based workaround is available."
}
],
"x_generator": {
"engine": "cvelib 1.8.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "d42dc95b-23f1-4e06-9076-20753a0fb0df",
"assignerShortName": "libreswan",
"cveId": "CVE-2026-77207",
"datePublished": "2026-10-13T21:28:19.219Z",
"dateReserved": "2026-08-20T18:13:09.377Z",
"dateUpdated": "2026-10-16T15:31:53.986Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…