CVE-2026-110339 PUBLISHED

x509 NULL pointer dereference on empty PKCS#7 payload

Assigner: libreswan
Reserved: 13.10.2026 Published: 16.11.2026 Updated: 16.11.2026

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.

Metrics

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

Product Status

Vendor The Libreswan Project
Product libreswan
Versions Default: unaffected
  • affected from 3.24 to 5.4.1 (incl.)
  • Version 5.4.2 is unaffected

Workarounds

There is no workaround. Apply the patch or upgrade to version 5.4.2 or later.

Solutions

Upgrade to libreswan 5.4.2 or later. Patches are available at https://libreswan.org/security/CVE-2026-110339/

Credits

  • Anh Lưu Đức finder

References

Problem Types

  • CWE-476: NULL Pointer Dereference CWE

Impacts

  • Denial of Service via NULL pointer dereference in pluto daemon when processing a CERT payload containing an empty PKCS#7 certificate list