CVE-2026-14957The Libreswan Project Libreswan unchecked return value
CVSS score
7.5
High
CVSS 3.1 from d42dc95b-23f1-4e06-9076-20753a0fb0df
Exploit probability (EPSS)
0.47%
0.47% chance of exploitation in the next 30 days, higher than 41.3% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: d42dc95b-23f1-4e06-9076-20753a0fb0df
How to fix it, step by step
Check whether you're affected
Find every system running The Libreswan Project Libreswan and compare its version with the affected versions.
Watch for an official fix
No fix or advisory is listed in the official record yet. Follow the vendor's security announcements; this page updates when one is published.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
| Affected products | Versions |
|---|---|
| The Libreswan Project Libreswan | ≥ 3.0, ≤ 5.3.1 |
Frequently asked questions
Is CVE-2026-14957 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.5% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-14957?
CVE-2026-14957 has a CVSS 3.1 base score of 7.5 (high).
Which versions are affected?
The Libreswan Project Libreswan (≥ 3.0, ≤ 5.3.1)
Is there a patch for CVE-2026-14957?
No patch is linked in the official record yet. Watch the vendor's security advisories.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.