# CVE-2026-14957: FIPS mode assertion failure via malicious CERT payload

- Severity: High 7.5 (CVSS:3.1, scored by libreswan) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Published: 2026-09-02T02:19:00.114Z
- Modified: 2026-09-09T15:44:20.970Z
- Weaknesses: CWE-252, CWE-617
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: libreswan

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

(As written by CVE List.)

## Affected

- libreswan: from 3.0 up to 5.3.1 (not affected: 5.3.2)

## References

- <https://libreswan.org/security/CVE-2026-14957/CVE-2026-14957.txt> (vendor-advisory)
- <https://libreswan.org/security/CVE-2026-14957/> (patch)

## Sources

- CVE List: [CVE-2026-14957](https://www.cve.org/CVERecord?id=CVE-2026-14957), CVE Terms of Use, modified 2026-09-02
- NVD: [CVE-2026-14957](https://nvd.nist.gov/vuln/detail/CVE-2026-14957), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-14957 · Whole record: https://cve.day/CVE-2026-14957.json · Rebuilt by cve.day 2026-11-25T22:59:36.060Z
