CVE-2026-110339: x509 NULL pointer dereference on empty PKCS#7 payload
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 SECPKCS7GetCertificateList() 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
libreswanto a version that resolves this vulnerability.Fixed in 5.4.2
Event History
Frequently Asked Questions
What does an attacker need to exploit this issue?
An attacker does not need authentication or user interaction. They need to be able to send a CERT payload containing a PKCS#7 wrapped payload whose content is an empty list to the Libreswan pluto daemon.
What is the practical impact of repeated exploitation?
Each successful trigger crashes and restarts the pluto daemon. Repeated triggering can cause a denial of service; remote code execution is not possible.