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.
Published: 2026-10-13
Score: 3.7 Low
EPSS: < 1% Very Low
KEV: No
Impact: Denial to service of IPsec peers via certificate mismanagement
Action: Apply patch
AI Analysis

Impact

The vulnerability arises when Libreswan running in FIPS mode accepts a malformed certificate but fails to delete it from the NSS cache. The bad certificate remains cached and, because it shares a serial number, any legitimate certificate with that serial number is subsequently rejected by the server, effectively denying the peer. This manifests as a denial‑of‑service condition that prevents legitimate connections to the IPsec endpoint. The weakness is an instance of CWE‑459 (Improper Memory Management) and CWE‑772 (Improper Access Control).

Affected Systems

Affected products are the Libreswan implementation of the IPsec VPN stack. Any Libreswan version before 5.3.3 that is configured with FIPS mode enabled is vulnerable. It is not restricted to a particular release series; the vulnerability exists in all pre‑5.3.3 builds that activate FIPS mode. The official advisory states that upgrading to version 5.3.3 or later resolves the issue.

Risk and Exploitability

The CVSS score is 3.7, indicating a low severity. The EPSS score of less than 1% indicates a very low probability of exploitation. The vulnerability is not featured in CISA’s KEV catalog. An attacker could exploit this by sending crafted X.509 certificates over the IPsec control channel while FIPS mode is enabled. Successful exploitation would lock out legitimate peers until the service is restarted, causing a denial of service. Because the attack requires network access to the vulnerable endpoint, it is a remote network attack when FIPS mode is enabled.

Generated by OpenCVE AI on October 16, 2026 at 02:01 UTC.

Remediation

Vendor Solution

Upgrade to libreswan 5.3.3 or later. Patches are available at https://libreswan.org/security/CVE-2026-77205/


Vendor 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.


OpenCVE Recommended Actions

  • Upgrade to Libreswan 5.3.3 or later. Upgrade is the recommended fix.
  • Apply the librewan-5.3-CVE-2026-77205.patch file if a full upgrade cannot be performed immediately.
  • Disable FIPS mode on the Libreswan service to eliminate the attack vector; if that is not possible, remain patched to avoid denial of service.

Generated by OpenCVE AI on October 16, 2026 at 02:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 27 Oct 2026 04:30:00 +0000

Type Values Removed Values Added
First Time appeared Libreswan
Libreswan libreswan
Vendors & Products Libreswan
Libreswan libreswan

Wed, 14 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-459
References
Metrics threat_severity

None

threat_severity

Low


Tue, 13 Oct 2026 21:45:00 +0000

Type Values Removed Values Added
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.
Title Denial of Service via sending bogus X.509 certificates
Weaknesses CWE-772
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'}


Subscriptions

Libreswan Libreswan
cve-icon MITRE

Status: PUBLISHED

Assigner: libreswan

Published:

Updated: 2026-10-16T15:31:54.457Z

Reserved: 2026-08-20T18:13:09.377Z

Link: CVE-2026-77205

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-13T22:18:24.577

Modified: 2026-10-16T19:55:59.740

Link: CVE-2026-77205

cve-icon Redhat

Severity : Low

Publid Date: 2026-10-05T00:00:00Z

Links: CVE-2026-77205 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-26T22:49:43Z

Weaknesses
  • CWE-459

    Incomplete Cleanup

  • CWE-772

    Missing Release of Resource after Effective Lifetime