x509 NULL pointer dereference on empty PKCS#7 payload
Summary
| CVE | CVE-2026-110339 |
|---|---|
| State | PUBLISHED |
| Assigner | libreswan |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-16 22:18:13 UTC |
| Updated | 2026-11-16 22:18:13 UTC |
| Description | The Libreswan pluto daemon dereferences a NULL pointer when a CERT payload is received with an empty PKCS#7 payload, causing the daemon to crash and restart. The NSS function SEC_PKCS7GetCertificateList() was used to check whether the content was empty, but this check did not trigger if the non-empty content of the PKCS#7 wrapped payload was an empty list. Continued triggering of this vulnerability can lead to a denial of service. Remote code execution is not possible. Authentication is not required to trigger this vulnerability. |
Risk And Classification
Primary CVSS: v3.1 7.5 HIGH from d42dc95b-23f1-4e06-9076-20753a0fb0df
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-476 | CWE-476 CWE-476: NULL Pointer Dereference
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | d42dc95b-23f1-4e06-9076-20753a0fb0df | Secondary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | CNA | CVSS | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | The Libreswan Project | Libreswan | affected 3.24 5.4.1 semver | Not specified |
| CNA | The Libreswan Project | Libreswan | unaffected 5.4.2 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| libreswan.org/security/CVE-2026-110339/CVE-2026-110339.txt | d42dc95b-23f1-4e06-9076-20753a0fb0df | libreswan.org | |
| libreswan.org/security/CVE-2026-110339 | d42dc95b-23f1-4e06-9076-20753a0fb0df | libreswan.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Anh Lưu Đức (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-10-06T00:00:00.000Z | Libreswan notified of the issue via [email protected] |
| CNA | 2026-11-10T00:00:00.000Z | Advanced notice given to supported customers and distributions |
| CNA | 2026-11-16T00:00:00.000Z | Public announcement and release of libreswan 5.4.2 |
Solutions
CNA: Upgrade to libreswan 5.4.2 or later. Patches are available at https://libreswan.org/security/CVE-2026-110339/
Workarounds
CNA: There is no workaround. Apply the patch or upgrade to version 5.4.2 or later.
There are currently no legacy QID mappings associated with this CVE.