CVE-2026-110339x509 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 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.
What to do
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libreswan | Fix pending | UBUNTU-CVE-2026-110339 | |
| Ubuntu 26.04 | libreswan | Under investigation | UBUNTU-CVE-2026-110339 | |
| Ubuntu 24.04 | libreswan | Under investigation | UBUNTU-CVE-2026-110339 | |
| Ubuntu 22.04 | libreswan | Under investigation | UBUNTU-CVE-2026-110339 | |
| Ubuntu 20.04 | libreswan | Fix pending | UBUNTU-CVE-2026-110339 | |
| Ubuntu 18.04 | libreswan | Fix pending | UBUNTU-CVE-2026-110339 | |
| Debian 13 | libreswan | Fix pending | DEBIAN-CVE-2026-110339 | |
| Debian 12 | libreswan | Fix pending | DEBIAN-CVE-2026-110339 | |
| Red Hat Enterprise Linux 10 | libreswan | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | libreswan | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | libreswan | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | libreswan | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | libreswan | Not affected |
What the vendor says
As published in the CVE record by libreswan, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- The Libreswan Project libreswan: affected: 3.24 to 5.4.1, 5.4.2 not affected
Solution: Upgrade to libreswan 5.4.2 or later. Patches are available at https://libreswan.org/security/CVE-2026-110339/
Workaround: There is no workaround. Apply the patch or upgrade to version 5.4.2 or later.
Vendor advisories:
- https://libreswan.org/security/CVE-2026-110339/CVE-2026-110339.txt (vendor-advisory)
- https://libreswan.org/security/CVE-2026-110339/ (patch)
References
- https://libreswan.org/security/CVE-2026-110339/CVE-2026-110339.txt
- https://libreswan.org/security/CVE-2026-110339/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.