x509 NULL pointer dereference on empty PKCS#7 payload

Summary

CVECVE-2026-110339
StatePUBLISHED
Assignerlibreswan
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-16 22:18:13 UTC
Updated2026-11-16 22:18:13 UTC
DescriptionThe 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


VersionSourceTypeScoreSeverityVector
3.1d42dc95b-23f1-4e06-9076-20753a0fb0dfSecondary7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
3.1CNACVSS7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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

SourceTimeEvent
CNA2026-10-06T00:00:00.000ZLibreswan notified of the issue via [email protected]
CNA2026-11-10T00:00:00.000ZAdvanced notice given to supported customers and distributions
CNA2026-11-16T00:00:00.000ZPublic 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.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report