{
  "id": "cve-2026-14957",
  "title": "Libreswan FIPS certificate parsing assertion permits pre-authentication daemon DoS",
  "product": "Libreswan IKEv1/IKEv2 certificate processing in FIPS mode",
  "ai_system": "Claude (model/version not identified)",
  "organization": "Libreswan Project; Claude/Anthropic; Guillaume Winter",
  "summary": "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.",
  "ai_role": "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.",
  "disclosure_date": "2026-07-15",
  "ai_attribution_date": "2026-07-15",
  "classification": "disclosure",
  "classification_note": "Vendor states no RCE and gives exact FIPS/CA-certificate preconditions. No exploitation-in-the-wild claim.",
  "cves": [
    "CVE-2026-14957"
  ],
  "source_url": "https://libreswan.org/security/CVE-2026-14957/CVE-2026-14957.txt",
  "ai_source_url": "https://libreswan.org/security/CVE-2026-14957/CVE-2026-14957.txt",
  "remediation": "fix documented",
  "remediation_note": "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.",
  "advisory_url": "https://libreswan.org/security/CVE-2026-14957/CVE-2026-14957.txt",
  "checked_date": "2026-11-14",
  "cvss": [
    {
      "cve": "CVE-2026-14957",
      "version": "3.1",
      "score": 7.5,
      "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/14xxx/CVE-2026-14957.json",
      "source_name": "libreswan (CNA; CVE Program record)",
      "checked_date": "2026-11-16",
      "scenarios": [
        "GENERAL"
      ]
    }
  ],
  "impacts": [
    {
      "cves": [
        "CVE-2026-14957"
      ],
      "consequences": [
        "denial of service"
      ],
      "conditions": "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": "The cited source does not state whether this issue was exploited in the wild.",
      "source_url": "https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/14xxx/CVE-2026-14957.json",
      "checked_date": "2026-11-16"
    }
  ]
}
