High severity · published Sep 2, 2026
CVE-2026-14957
FIPS mode assertion failure via malicious CERT payload
7.5
CVSS
0.5%
EPSS
No
On KEV
Description
In FIPS mode, Libreswan's add_decoded_cert() function calls CERT_ExtractPublicKey() and asserts that the result is not NULL. However, CERT_ExtractPublicKey() returns NULL when public key extraction fails, for example if the RSA exponent is set to 0. A remote attacker can send a malformed X.509 certificate in a CERT payload to trigger the assertion, causing the pluto daemon to abort and restart. Continued exploitation causes a denial of service. No remote code execution is possible. Both IKEv1 and IKEv2 are affected. The vulnerability is only exploitable when both the OS and libreswan are running in FIPS mode and at least one CA certificate is loaded. The CERT payload is processed before peer authentication, so no credentials are needed to exploit this. Configurations using only PreSharedKey (PSK) authentication with no CA certificates loaded in the NSS database are not vulnerable.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 40% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LI
libreswan · The Libreswan Project
3.0 through 5.3.1 · source: vendor
Affected product
LI
libreswan
The Libreswan Project
More from libreswan
7.5
CVE-2026-77207
Null Pointer Dereference in PKCS#7 bundle with no certificates
7.5
CVE-2026-77206
IKEv2 pre-authentication Null Pointer Dereference in EAP code
7.5
CVE-2026-94453
IKEv2 Use-After-Free bug when using IKE-over-TCP
7.5
CVE-2026-12413
IKEv2 Denial of Service via malformed fragmentation
5.9
CVE-2026-50721
IKEv1 Denial of Service via RSA-SHA1 (PKCS#1 Version 1.5 Encrypted) authentication payload