Denial of Service Vulnerability in Libreswan FIPS Mode
CVE-2026-14957

7.5HIGH

Key Information:

Status
Vendor
CVE Published:
2 September 2026

Badges

👾 Exploit Exists

What is CVE-2026-14957?

In FIPS mode, the add_decoded_cert() function in Libreswan can be exploited via a malformed X.509 certificate sent by a remote attacker. The function calls CERT_ExtractPublicKey(), which may return NULL if public key extraction fails, such as when the RSA exponent is set to 0. This can cause an assertion failure that leads the pluto daemon to abort and restart, leading to a denial of service. The vulnerability impacts both IKEv1 and IKEv2, and is only exploitable when the OS and Libreswan are configured in FIPS mode with at least one CA certificate loaded, allowing for exploitation without peer authentication credentials. Configurations relying solely on PreSharedKey (PSK) authentication without CA certificates in the NSS database remain unaffected.

Affected Version(s)

libreswan 3.0 <= 5.3.1

libreswan 5.3.2

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

Claude (Anthropic)
Guillaume Winter
.