---
id: "CVE-2026-110339"
page: "https://infrastack.ai/live/CVE-2026-110339"
kind: "vulnerability"
aliases: ["CVE-2026-110339"]
title: "Libreswan pluto daemon crashes on malformed CERT payload, causing denial of service"
severity: "high"
cvss: 7.5
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "libreswan", "fixed": ["5.4.2"], "affected": ">= 3.24, <= 5.4.1", "ecosystem": "vendor"}]
ecosystems: []
tags: ["ipsec", "libreswan", "package", "self-hosted", "vpn-gateway"]
not_affected_if: ["no-ipsec-vpn", "no-libreswan"]
published_at: "2026-11-16T22:18:13+00:00"
first_seen_at: "2026-11-16T22:39:12+00:00"
updated_at: "2026-11-16T22:42:31+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-110339", "first_seen_at": "2026-11-16T22:39:12+00:00"}, {"source": "analyst", "url": "https://libreswan.org/security/CVE-2026-110339/CVE-2026-110339.txt", "first_seen_at": "2026-11-16T22:42:31+00:00", "cites": ["https://libreswan.org/security/CVE-2026-110339/CVE-2026-110339.txt"]}]
exploit_sources: []
---

# Libreswan pluto daemon crashes on malformed CERT payload, causing denial of service

Link for people: https://infrastack.ai/live/CVE-2026-110339 (this .md is for agents)

Libreswan's pluto IPsec daemon dereferences a NULL pointer when it receives a CERT payload wrapping an empty PKCS#7 list. The daemon crashes and restarts, and repeated triggering can keep it down.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- vendor:libreswan affected >= 3.24, <= 5.4.1 fixed 5.4.2

## How to check

Run 'ipsec --version' on IPsec gateways. Libreswan 3.24 up to and including 5.4.1 is vulnerable; 3.0-3.23 and 5.4.2+ are not. Distribution builds (RHEL, Rocky, Debian, Ubuntu) can carry the fix under an older number, so check your distro's libreswan security update. Also confirm pluto accepts IKE (UDP 500/4500) from untrusted networks, since no authentication is needed.

## Fix

Upgrade Libreswan to 5.4.2 or later (released 2026-11-16). The vendor says there is no workaround. If you cannot upgrade, apply the vendor patch at https://libreswan.org/security/CVE-2026-110339/CVE-2026-110339.patch. Distribution packages may backport the fix under an older version number.

## Timeline

- 2026-11-16T22:39:12+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-110339
- 2026-11-16T22:42:31+00:00 analyst https://libreswan.org/security/CVE-2026-110339/CVE-2026-110339.txt — Libreswan's own advisory gives vulnerable 3.24-5.4.1, fixed 5.4.2, no workaround, vendor rates Medium (NVD CVSS 7.5, left unchanged). No exploitation or PoC found. Sibling CVE-2026-77207 is a different PKCS#7 bug (no CERTS).

## Documents

- [advisory] Libreswan CVE-2026-110339 advisory https://libreswan.org/security/CVE-2026-110339/CVE-2026-110339.txt

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
