{"id":"CVE-2026-14957","title":"In FIPS mode, Libreswan's add_decoded_cert() function calls CERT_ExtractPublicKey() and asserts that the result is not NULL","summary":"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 …","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-252","CWE-617"],"vendor":"The Libreswan Project","product":"libreswan","affected":["libreswan >= 3.0 <= 5.3.1"],"published":"2026-09-02","updated":"2026-09-09","sourceUpdated":"2026-09-09T15:44:20.970","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-14957","references":[{"url":"https://libreswan.org/security/CVE-2026-14957/","label":"d42dc95b-23f1-4e06-9076-20753a0fb0df"},{"url":"https://libreswan.org/security/CVE-2026-14957/CVE-2026-14957.txt","label":"d42dc95b-23f1-4e06-9076-20753a0fb0df"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-14957.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-14957"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2501764"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-14957"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-14957"},{"url":"https://access.redhat.com/errata/RHSA-2026:46986"},{"url":"https://access.redhat.com/errata/RHSA-2026:63044"},{"url":"https://access.redhat.com/errata/RHSA-2026:63100"},{"url":"https://access.redhat.com/errata/RHSA-2026:63041"},{"url":"https://access.redhat.com/errata/RHSA-2026:55449"},{"url":"https://access.redhat.com/errata/RHSA-2026:46398"},{"url":"https://access.redhat.com/errata/RHSA-2026:46396"},{"url":"https://access.redhat.com/errata/RHSA-2026:72287"},{"url":"https://access.redhat.com/errata/RHSA-2026:61779"},{"url":"https://access.redhat.com/errata/RHSA-2026:61258"},{"url":"https://access.redhat.com/errata/RHSA-2026:57741"},{"url":"https://access.redhat.com/errata/RHSA-2026:46397"}],"tags":["nvd","cve.org","csaf","vex","red-hat"],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-02T13:00:08.993590Z"},"ingestedAt":"2026-09-12T16:29:42.611Z","epss":0.00468,"epssPercentile":0.4035,"patched":["fast_datapath_for_red_hat_enterprise_linux 9","openshift_container_platform 4.19","openshift_container_platform 4.20","openshift_container_platform 4.21","enterprise_linux_appstream_eus_v_10_0","enterprise_linux_appstream_v_10","enterprise_linux_appstream_v_8","enterprise_linux_appstream_e4s_v_8_8","enterprise_linux_appstream_tus_v_8_8","enterprise_linux_appstream_e4s_v_9_2","enterprise_linux_appstream_e4s_v_9_4","enterprise_linux_appstream_eus_v_9_6","enterprise_linux_appstream_v_9"],"slug":"CVE-2026-14957","body":"## Overview\n\nIn 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **RHSA-2026:46986** · Red Hat · fixed in: Fast Datapath for Red Hat Enterprise Linux 9 · released 2026-07-27 · [advisory](https://access.redhat.com/errata/RHSA-2026:46986)\n- **RHSA-2026:63044** · Red Hat · fixed in: Red Hat OpenShift Container Platform 4.19 · released 2026-09-09 · [advisory](https://access.redhat.com/errata/RHSA-2026:63044)\n- **RHSA-2026:63100** · Red Hat · fixed in: Red Hat OpenShift Container Platform 4.20 · released 2026-09-08 · [advisory](https://access.redhat.com/errata/RHSA-2026:63100)\n- **RHSA-2026:63041** · Red Hat · fixed in: Red Hat OpenShift Container Platform 4.21 · released 2026-09-08 · [advisory](https://access.redhat.com/errata/RHSA-2026:63041)\n- **RHSA-2026:55449** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream EUS (v. 10.0) · released 2026-08-17 · [advisory](https://access.redhat.com/errata/RHSA-2026:55449)\n- **RHSA-2026:46398** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 10) · released 2026-07-27 · [advisory](https://access.redhat.com/errata/RHSA-2026:46398)\n- **RHSA-2026:46396** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 8) · released 2026-07-27 · [advisory](https://access.redhat.com/errata/RHSA-2026:46396)\n- **RHSA-2026:72287** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream E4S (v.8.8), Red Hat Enterprise Linux AppStream TUS (v.8.8) · released 2026-09-28 · [advisory](https://access.redhat.com/errata/RHSA-2026:72287)\n- **RHSA-2026:61779** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream E4S (v.9.2) · released 2026-08-31 · [advisory](https://access.redhat.com/errata/RHSA-2026:61779)\n- **RHSA-2026:61258** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream E4S (v.9.4) · released 2026-08-31 · [advisory](https://access.redhat.com/errata/RHSA-2026:61258)\n- **RHSA-2026:57741** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream EUS (v.9.6) · released 2026-08-20 · [advisory](https://access.redhat.com/errata/RHSA-2026:57741)\n- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat OpenShift Container Platform 4 · updated 2026-09-28 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-14957.json)","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":41.3,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}