CVE-2026-77205Denial of Service via sending bogus X.509 certificates
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libreswan | Fix pending | UBUNTU-CVE-2026-77205 | |
| Ubuntu 26.04 | libreswan | Under investigation | UBUNTU-CVE-2026-77205 | |
| Ubuntu 24.04 | libreswan | Under investigation | UBUNTU-CVE-2026-77205 | |
| Ubuntu 22.04 | libreswan | Under investigation | UBUNTU-CVE-2026-77205 | |
| Ubuntu 20.04 | libreswan | Fix pending | UBUNTU-CVE-2026-77205 | |
| Ubuntu 18.04 | libreswan | Fix pending | UBUNTU-CVE-2026-77205 | |
| Red Hat Enterprise Linux 10 | libreswan | Fixed | 0:5.3.3-1.el10_2 | RHSA-2026:89923 |
| Red Hat Enterprise Linux 10 | libreswan-minimal | Fixed | 0:5.3.3-1.el10_2 | RHSA-2026:89923 |
| Red Hat Enterprise Linux 9 | libreswan | Fixed | 0:5.3.3-3.el9fdp | RHSA-2026:98046 |
| Red Hat Enterprise Linux 8 | libreswan | Not affected | ||
| Red Hat Enterprise Linux 7 | libreswan | Not affected | ||
| Red Hat Enterprise Linux 6 | libreswan | Not affected | ||
| AlmaLinux 10 | libreswan | Fixed | 5.3.3-1.el10_2 | ALSA-2026:89923 |
| AlmaLinux 10 | libreswan-minimal | Fixed | 5.3.3-1.el10_2 | ALSA-2026:89923 |
| Rocky Linux 10 | libreswan | Fixed | 0:5.3.3-1.el10_2 | RLSA-2026:89923 |
| Alpine Linux 3.24 | libreswan | Fixed | 5.3.3-r0 | ALPINE-CVE-2026-77205 |
| Alpine Linux 3.23 | libreswan | Fixed | 5.3.3-r0 | ALPINE-CVE-2026-77205 |
What the vendor says
As published in the CVE record by libreswan, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- The Libreswan Project libreswan: affected: 5.3 to 5.3.2, 5.3.3 not affected
Solution: Upgrade to libreswan 5.3.3 or later. Patches are available at https://libreswan.org/security/CVE-2026-77205/
Workaround: Disabling FIPS mode will prevent this attack vector. If this is not possible, upgrade to a later libreswan version or apply the available patch.
Vendor advisories:
- https://libreswan.org/security/CVE-2026-77205/CVE-2026-77205.txt (vendor-advisory)
- https://libreswan.org/security/CVE-2026-77205/ (patch)
References
- https://libreswan.org/security/CVE-2026-77205/CVE-2026-77205.txt
- https://libreswan.org/security/CVE-2026-77205/
- https://libreswan.org/security/CVE-2026-14957/CVE-2026-14957.txt
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.