Skip to content
OpenAdvisories
High · 7.5 CVE-2026-110339 EUVD-2026-126734GHSA-hg4w-c3jc-ch4p

x509 NULL pointer dereference on empty PKCS#7 payload

Published Nov 16, 2026 · Updated Nov 17, 2026 · Assigned by libreswan

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.

Affected products

VendorProductAffectedFixed
The Libreswan Project libreswan 3.24 – ≤ 5.4.1 5.4.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 13 libreswan No fix yet —
Debian 12 libreswan No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libreswan No fix yet —
Ubuntu 26.04 LTS libreswan No fix yet —
Ubuntu 24.04 LTS libreswan No fix yet —
Ubuntu 22.04 LTS libreswan No fix yet —
Ubuntu 20.04 LTS libreswan No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libreswan No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 libreswan No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 libreswan +1 5.4.2-1.0.1.el10_3 ELSA-2026-104955

Advisories 2

References