๐Ÿ” CVE Alert

CVE-2026-14957

HIGH 7.5

FIPS mode assertion failure via malicious CERT payload

CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-617 CWE-252
Vendor the libreswan project
Product libreswan
Published Sep 2, 2026
Stay Ahead of the Next One

Get instant alerts for the libreswan project libreswan

Be the first to know when new high vulnerabilities affecting the libreswan project libreswan are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

The Libreswan Project / libreswan
3.0 โ‰ค 5.3.1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
libreswan.org: https://libreswan.org/security/CVE-2026-14957/CVE-2026-14957.txt libreswan.org: https://libreswan.org/security/CVE-2026-14957/

Credits

Claude (Anthropic) ๐Ÿ” Guillaume Winter