Skip to content

CVE-2026-77205 Denial of Service via sending bogus X.509 certificates

LowCVSS 3.7 EPSS 0.18%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
The Libreswan Project libreswan >= 5.3, <= 5.3.2 No fix listed
redhat/libreswan(Red Hat:enterprise_linux:9::fastdatapath) < 5.3.3-3.el9fdp 5.3.3-3.el9fdp
redhat/libreswan(Red Hat:enterprise_linux:10.2) < 5.3.3-1.el10_2 5.3.3-1.el10_2
redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:4) All versions No fix listed
redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:5) All versions No fix listed
debian/libreswan(Debian:14) All versions No fix listed
debian/libreswan(Debian:14) = 5.2-2.2 No fix listed
debian/libreswan(Debian:14) = 5.2-2.3 No fix listed
debian/libreswan(Debian:14) = 5.2-2.4 No fix listed
debian/libreswan(Debian:14) = 5.2-2.5 No fix listed
ubuntu/libreswan(Ubuntu:22.04) All versions No fix listed
alpine/libreswan(Alpine:v3.23) < 5.3.3-r0 5.3.3-r0
alpine/libreswan(Alpine:v3.24) < 5.3.3-r0 5.3.3-r0
ubuntu/libreswan(Ubuntu:24.04) All versions No fix listed
ubuntu/libreswan(Ubuntu:26.04) All versions No fix listed
ubuntu/libreswan(Ubuntu:26.10) All versions No fix listed

References