
CVE catalog
CVE-2026-14957
libreswan: CVE-2026-14957
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.47% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libreswan | sid | 5.2-2.5 | fixed |
| Debian | libreswan | forky | 5.2-2.5 | fixed |
| Debian | libreswan | trixie | 5.2-2.2 | vulnerable |
| Debian | libreswan | bookworm | 4.10-2+deb12u1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libreswan | source | sid | 5.2-2.5 | not yet assigned | Not reported | [1143067] |
| Debian | libreswan | source | forky | 5.2-2.5 | not yet assigned | Not reported | [1143067] |
| Debian | libreswan | source | trixie | (unfixed) | not yet assigned | Not reported | [1143067] |
| Debian | libreswan | source | bookworm | (unfixed) | not yet assigned | Not reported | [1143067] |
Notes
[trixie] libreswan: Minor issue; can be fixed via point release
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libreswan]Affected
Details (2)
4.10-2+deb12u1· amd64 · bookwormAffected
dsa · libreswan · debian · bookworm; dsa · libreswan · debian · 12
4.10-2+deb12u1· arm64 · bookwormAffected
dsa · libreswan · debian · bookworm; dsa · libreswan · debian · 12
[Debian 13 (Trixie)]
- [libreswan]Affected
Details (2)
5.2-2.2· amd64 · trixieAffected
dsa · libreswan · debian · 13
5.2-2.2· arm64 · trixieAffected
dsa · libreswan · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2026_46396.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-14957]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-14957]
- [https://security-tracker.debian.org/tracker/CVE-2026-14957]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-14957.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2518.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]