========================================================================== CVE-2026-110339: x509 NULL pointer dereference on empty PKCS#7 payload ========================================================================== Release date: Monday, Nov 16, 2026 Contact: security@libreswan.org PGP key: 907E790F25C1E8E561CD73B585FF4B43B30FC6F9 This alert (and any updates) are available at the following URLs: https://libreswan.org/security/CVE-2026-110339 The Libreswan Project was notified of NULL pointer dereference issue when a CERT payload is received with an empty PKCS#7 payload. This causes the libreswan IKE daemon pluto to crash and restart. Severity: Medium Vulnerable versions : 3.24 up to and including 5.4.1 Not vulnerable : 5.4.2 and later, 3.0 - 3.23 Vulnerability details ===================== The NSS function SEC_PKCS7GetCertificateList() was used to check if 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. Such a payload causes a NULL pointer dereference. Exploitation ============ 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. Workaround ========== There is no workaround. Apply the patch or upgrade to version 5.4.2 or later. History ======= * 06-10-2026 Libreswan was notified of the issue via security@libreswan.org. * 10-11-2026 Advanced notice given to supported customers and distributions. * 16-11-2026 Public announcement and release of libreswan 5.4.2 Credits ======= Anh Lưu Đức Upgrading ========= To address this vulnerability, upgrade to libreswan 5.4.2 or later. Patches ======= For those who cannot upgrade, patches are available at: https://libreswan.org/security/CVE-2026-110339/ About libreswan (https://libreswan.org/) ======================================== Libreswan is a free implementation of the Internet Key Exchange (IKE) protocols IKEv1 and IKEv2. It is a descendant (continuation fork) of openswan 2.6.38. IKE is used to establish IPsec VPN connections. IPsec uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks. Everything passing through the untrusted network is encrypted by the IPsec gateway machine, and decrypted by the gateway at the other end of the tunnel. The resulting tunnel is a virtual private network (VPN).