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

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-09-02 · Modified: 2026-09-02
- Aliases: MGASA-2026-0456, UBUNTU-CVE-2026-14957, DEBIAN-CVE-2026-14957, ALPINE-CVE-2026-14957
- Record: https://cvemate.com/vulnerability/CVE-2026-14957 · JSON: https://cvemate.com/vulnerability/CVE-2026-14957/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.468%, percentile 42.195%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine libreswan (Alpine Linux): \< 5.3.3-r0 \| \< 5.3.2-r0
- debian libreswan (Debian): \< 5.2-2.5 \| All versions (No fix recorded)
- ubuntu libreswan (Ubuntu): All versions (No fix recorded)
- mageia libreswan (Mageia): \< 5.3-1.1.mga10
- the libreswan project libreswan: ≥ 3.0, ≤ 5.3.1

## References

- <https://libreswan.org/security/CVE-2026-14957/CVE-2026-14957.txt>
- <https://libreswan.org/security/CVE-2026-14957/>
- <https://advisories.mageia.org/MGASA-2026-0456.html>
- <https://bugs.mageia.org/show_bug.cgi?id=35984>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RHUMDPM6XZNYWMXOYIEUCSCNYXBDKSP2/>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2501764>
- <https://ubuntu.com/security/CVE-2026-14957>
- <https://www.cve.org/CVERecord?id=CVE-2026-14957>
- <https://security-tracker.debian.org/tracker/CVE-2026-14957>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-14957>
- <https://security.alpinelinux.org/vuln/CVE-2026-14957>

---

Data as of 2026-12-05T10:24:39.531Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
