🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #564

Bug#1150899: libreswan: CVE-2026-94453 CVE-2026-77205 CVE-2026-77206 CVE-2026-77207

#564
From: Moritz Mühlenhoff
Date: Wed, 14 Oct 2026 14:30
89 lines
5857 bytes
Source: libreswan
X-Debbugs-CC: team@security.debian.org
Severity: grave
Tags: security

Hi,

The following vulnerabilities were published for libreswan.

CVE-2026-94453[0]:
| Libreswan's pluto daemon has a use-after-free vulnerability when a
| client connecting using IKE over TCP closes the connection and
| another packet (retransmit or malicious) is received for the same
| tuple. IKE state is retained in memory after the client closes the
| connection, storing a pointer to iface_endpoint inside
| ike_sa.sa->st_iface_endpoint. Once this invalid pointer is used, the
| daemon crashes and restarts. This vulnerability can be triggered
| before the remote peer has authenticated itself. Continued
| exploitation can lead to a denial of service. Remote code execution
| could be possible. The IKE over TCP option is not enabled by
| default; only configurations that contain listen-tcp=yes are
| affected.

https://libreswan.org/security/CVE-2026-94453/CVE-2026-94453.txt
https://libreswan.org/security/CVE-2026-94453/

CVE-2026-77205[1]:
| Libreswan in FIPS mode has a vulnerability where badly formed
| received certificates are rejected, but not deleted from the NSS
| cache. As a result, any real certificates with the same serial
| number are rejected as well. This can be abused to lock out
| legitimate peers from connecting. The add_decoded_cert() function
| missed a call to CERT_DestroyCertificate() due to an incorrect fix
| for CVE-2026-14957. Sending bogus certificates with new serial
| numbers could prevent the real certificates with those serial
| numbers from connecting until the service has restarted.

https://libreswan.org/security/CVE-2026-77205/CVE-2026-77205.txt
https://libreswan.org/security/CVE-2026-77205/

CVE-2026-77206[2]:
| Libreswan's IKEv2 state machine has a null pointer dereference bug
| in the EAP handling code for authentication. As a result of
| inconsistency within the IKEv2 state machine code, this bug can be
| triggered by any IKEv2 connection, even if EAP is not configured at
| all. The error is caused by a fall-through where it incorrectly
| dereferences ike->sa.st_eap which is NULL. A malicious IKE_AUTH
| packet can trigger this bug, meaning the peer does not need to be
| authenticated. The bug results in a crash and restart of the pluto
| daemon. No remote code execution is possible. Continued exploitation
| can cause a denial of service.

https://libreswan.org/security/CVE-2026-77206/CVE-2026-77206.txt
https://libreswan.org/security/CVE-2026-77206/

CVE-2026-77207[3]:
| Libreswan has a null pointer dereference bug in the PKCS#7 handling
| code for IKE certificate authentication. When libreswan decodes an
| IKE CERT payload of type CERT_PKCS7_WRAPPED_X509, it guards the
| PKCS#7 blob with SEC_PKCS7ContainsCertsOrCrls() and then iterates
| the certificate list with SEC_PKCS7GetCertificateList(). The two NSS
| APIs disagree on a SignedData that carries a CRL but no
| certificates: ContainsCertsOrCrls() returns PR_TRUE (there is a
| CRL), so the guard passes, but GetCertificateList() returns NULL
| (there are no certificates). This causes libreswan to dereference a
| null pointer leading to a crash and restart. A malicious IKE_AUTH
| packet can trigger this bug, meaning the peer does not need to be
| authenticated. No remote code execution is possible. Continued
| exploitation can cause a denial of service.

https://libreswan.org/security/CVE-2026-77207/CVE-2026-77207.txt
https://libreswan.org/security/CVE-2026-77207/


If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-94453
    https://www.cve.org/CVERecord?id=CVE-2026-94453
[1] https://security-tracker.debian.org/tracker/CVE-2026-77205
    https://www.cve.org/CVERecord?id=CVE-2026-77205
[2] https://security-tracker.debian.org/tracker/CVE-2026-77206
    https://www.cve.org/CVERecord?id=CVE-2026-77206
[3] https://security-tracker.debian.org/tracker/CVE-2026-77207
    https://www.cve.org/CVERecord?id=CVE-2026-77207

Please adjust the affected versions in the BTS as needed.
Technical Details
Message-ID: <NO89s-5tnk-25@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Moritz Mühlenhoff <jmm@inutil.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1150899: libreswan: CVE-2026-94453 CVE-2026-77205 CVE-2026-77206 CVE-2026-77207
Date: Wed, 14 Oct 2026 16:30:02 +0200
Message-ID: <NO89s-5tnk-25@gated-at.bofh.it>
X-Original-To: submit@bugs.debian.org
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Wed Oct 14 14:25:13 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.651
Reply-To: Moritz Mühlenhoff <jmm@inutil.org>, 1150899@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team@security.debian.org, dkg@fifthhorseman.net
X-Debian-Pr-Message: report 1150899
X-Debian-Pr-Package: src:libreswan
X-Debian-Pr-Keywords: security
X-Debian-Pr-Source: libreswan
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/834495
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 89
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Wed, 14 Oct 2026 16:23:31 +0200
X-Original-Message-ID: <as-QY4rVH1aDLM3M@pisco.westfalen.local>