Read the docs

NULL pointer dereference in Libreswan pluto on empty PKCS#7 payload

Priority MEDIUM 48CWE-476Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-476.

Summary

Libreswan from 3.24 through 5.4.1 is affected. The pluto daemon dereferences a NULL pointer when it receives a CERT payload with an empty PKCS#7 payload, because the NSS emptiness check misses a wrapped empty certificate list (CWE-476). Authentication is not required to trigger it, and repeated triggering crashes and restarts the daemon, causing denial of service. Remote code execution is not possible.

Written with Claude Haiku 5.5 from the sources below · 2026-11-17

Description from the CNA

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.

Why it matters now

Fix Fixed libreswan (The Libreswan Project): 5.4.2

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
The Libreswan Projectlibreswan3.24 – 5.4.15.4.2Patch availableCNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:libreswan:libreswan:*:*:*:*:*:*:*:*——The Libreswan Project

Remediation

Libreswan users should upgrade to version 5.4.2, which fixes this issue. The sources list no fixed version for Libreswan versions before 5.4.2 outside the affected range listed here.

Written with Claude Haiku 5.5 from the sources below · 2026-11-17

  • Fix · CNA libreswan (The Libreswan Project) Fixed in 5.4.2

Timeline

  1. 2026-11-16 Threatist record created from CVE-2026-110339
  2. 2026-11-17 Alias added: GHSA-hg4w-c3jc-ch4p

References

  • TI-2023-09114 Libreswan 4.9 allows remote attackers to cause a denial of service (assert failure and… CVSS 3.1MEDIUM 6.5
  • TI-2013-05949 Race condition in the libreswan.spec files for Red Hat Enterprise Linux (RHEL) and Fedora… CVSS 2.0HIGH 9.3
  • TI-2023-02152 Uncontrolled resource consumption in libreswan CVSS 3.1HIGH 7.5
  • TI-2026-37395 IKEv2 Denial of Service via RSA-SHA1 (PKCS#1 RSASSA-PKCS1-v1_5) authentication payload CVSS 3.1HIGH 8.1
  • TI-2026-37394 IKEv1 Denial of Service via RSA-SHA1 (PKCS#1 Version 1.5 Encrypted) authentication payload CVSS 3.1HIGH 8.1
  • TI-2023-14401 pluto in Libreswan before 4.11 allows a denial of service (responder SPI mishandling and… CVSS 3.1HIGH 7.5
See all 28 →

Sources