Finding and attribution
In FIPS mode, Libreswan asserts that `CERT_ExtractPublicKey()` returned a key. A malformed X.509 certificate with an invalid public key can make the function return NULL and crash the daemon. An unauthenticated peer can send the CERT payload before authentication and repeatedly cause denial of service. The vendor explicitly says no remote code execution is possible. Exposure requires both the OS and Libreswan to run in FIPS mode and at least one CA certificate to be loaded.
Product: Libreswan IKEv1/IKEv2 certificate processing in FIPS mode. AI system: Claude (model/version not identified). Team / organization: Libreswan Project; Claude/Anthropic; Guillaume Winter.
CVE identifiers: CVE-2026-14957.
AI and human contribution (source account): The primary Libreswan alert states the project used Claude to audit its codebase and that Claude found this vulnerability; it credits Claude as finder and Guillaume Winter as reporter.
Human involvement is only described where the source account establishes it; unknown involvement does not mean none. Vendor confirmation of a flaw does not confirm every claim about AI contribution.
Discovery context: Vendor states no RCE and gives exact FIPS/CA-certificate preconditions. No exploitation-in-the-wild claim.
Remediation status: fix documented. Upgrade to Libreswan 5.3.2 or later, or apply the vendor patch. The only workaround described is disabling FIPS mode, which may violate deployment requirements. Scope requires FIPS mode at both OS and Libreswan and a loaded CA certificate; repeated unauthenticated CERT payloads can crash the daemon.
A source-documented fix does not establish installed patches or current safety. Source checking does not independently reproduce the finding or establish observed exploitation.
Disclosed 15 Jul 2026. AI attribution dated 15 Jul 2026. Sources checked 14 Nov 2026; these are separate dates, not a live installation check.
Recorded CVSS: High · highest recorded score 7.5. Documented technical effects: denial of service.
Severity, consequences and exploitation evidence
Case grouping uses the highest recorded CVSS score, with its version-specific severity band. It is descriptive, not a combined or editorial risk index. All recorded assessments remain below; scores from different versions and sources may disagree. CVSS specifications define version-specific scoring and severity bands.
- CVE-2026-14957: CVSS 3.1 · 7.5 (High) ·
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H· Assessment scenarios: GENERAL. libreswan (CNA; CVE Program record) · checked 16 Nov 2026.
CVE-2026-14957: denial of service.
Prerequisites / affected scope: 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-617: Reachable Assertion CWE-252: Unchecked Return Value.
Exploitation evidence: The cited source does not state whether this issue was exploited in the wild.. Impact source · checked 16 Nov 2026.
Documented fix: Upgrade to Libreswan 5.3.2 or later, or apply the vendor patch. The only workaround described is disabling FIPS mode, which may violate deployment requirements. Scope requires FIPS mode at both OS and Libreswan and a loaded CA certificate; repeated unauthenticated CERT payloads can crash the daemon.