CVE-2026-14957 FIPS mode assertion failure via malicious CERT payload
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
30 packages: 21 fixed, 9 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/libreswan(Debian 12) | = 4.10-2; = 4.10-2+deb12u1; = 4.11-1; = 4.12-1 +15 more | No fix listed | No fix yet |
| debian/libreswan(Debian 13) | = 5.2-2.2; = 5.2-2.3; = 5.2-2.4; = 5.2-2.5 +1 more | No fix listed | No fix yet |
| redhat/libreswan(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/libreswan(Red Hat rhel_els 7) | All versions | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 5) | All versions | No fix listed | No fix yet |
| ubuntu/libreswan(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/libreswan(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/libreswan(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/libreswan(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| alpine/libreswan(Alpine v3.23) | < 5.3.3-r0 | 5.3.3-r0 | Fixed |
| alpine/libreswan(Alpine v3.24) | < 5.3.2-r0 | 5.3.2-r0 | Fixed |
| azure linux libreswan(Azure Linux 3.0) | < 4.15-3 | 4.15-3 | Fixed |
| redhat/libreswan(Red Hat enterprise_linux 10.2) | < 5.3.2-1.el10_2 | 5.3.2-1.el10_2 | Fixed |
| redhat/libreswan(Red Hat enterprise_linux 8) | < 4.12-2.el8_10.6 | 4.12-2.el8_10.6 | Fixed |
| redhat/libreswan(Red Hat enterprise_linux 9) | < 4.15-10.el9_8 | 4.15-10.el9_8 | Fixed |
| redhat/libreswan(Red Hat enterprise_linux 9 fastdatapath) | < 5.3.2-1.el9fdp | 5.3.2-1.el9fdp | Fixed |
| redhat/libreswan(Red Hat enterprise_linux_eus 10.0) | < 5.2-1.el10_0.5 | 5.2-1.el10_0.5 | Fixed |
| redhat/libreswan(Red Hat rhel_aus 8.4) | < 4.3-6.el8_4.2 | 4.3-6.el8_4.2 | Fixed |
| redhat/libreswan(Red Hat rhel_aus 8.6) | < 4.5-1.el8_6.6 | 4.5-1.el8_6.6 | Fixed |
| redhat/libreswan(Red Hat rhel_e4s 8.8) | < 4.9-3.el8_8.3 | 4.9-3.el8_8.3 | Fixed |
| redhat/libreswan(Red Hat rhel_e4s 9.2) | < 4.9-5.el9_2.5 | 4.9-5.el9_2.5 | Fixed |
| redhat/libreswan(Red Hat rhel_e4s 9.4) | < 4.12-3.el9_4.2 | 4.12-3.el9_4.2 | Fixed |
| redhat/libreswan(Red Hat rhel_eus 9.6) | < 4.15-8.el9_6.1 | 4.15-8.el9_6.1 | Fixed |
| redhat/libreswan(Red Hat rhel_eus_long_life 8.4) | < 4.3-6.el8_4.2 | 4.3-6.el8_4.2 | Fixed |
| redhat/libreswan(Red Hat rhel_eus_long_life 8.6) | < 4.5-1.el8_6.6 | 4.5-1.el8_6.6 | Fixed |
| redhat/libreswan(Red Hat rhel_tus 8.8) | < 4.9-3.el8_8.3 | 4.9-3.el8_8.3 | Fixed |
| redhat/openshift/ose-rhel-coreos(Red Hat openshift 4.19 el9) | < 9:4.19.9.6.202609021231-0 | 9:4.19.9.6.202609021231-0 | Fixed |
| redhat/openshift/ose-rhel-coreos(Red Hat openshift 4.20 el9) | < 9:4.20.9.6.202609021029-0 | 9:4.20.9.6.202609021029-0 | Fixed |
| redhat/openshift/ose-rhel-coreos(Red Hat openshift 4.21 el9) | < 9:4.21.9.6.202609021100-0 | 9:4.21.9.6.202609021100-0 | Fixed |
| The Libreswan Project libreswan | >= 3.0, <= 5.3.1 | after 5.3.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| The Libreswan Project libreswan | >= 3.0, <= 5.3.1 | No fix listed |
| redhat/libreswan(Red Hat:enterprise_linux:9::fastdatapath) | < 5.3.2-1.el9fdp | 5.3.2-1.el9fdp |
| redhat/libreswan(Red Hat:enterprise_linux:10.2) | < 5.3.2-1.el10_2 | 5.3.2-1.el10_2 |
| redhat/libreswan(Red Hat:enterprise_linux_eus:10.0) | < 5.2-1.el10_0.5 | 5.2-1.el10_0.5 |
| redhat/libreswan(Red Hat:enterprise_linux:8) | < 4.12-2.el8_10.6 | 4.12-2.el8_10.6 |
| redhat/libreswan(Red Hat:rhel_aus:8.4) | < 4.3-6.el8_4.2 | 4.3-6.el8_4.2 |
| redhat/libreswan(Red Hat:rhel_eus_long_life:8.4) | < 4.3-6.el8_4.2 | 4.3-6.el8_4.2 |
| redhat/libreswan(Red Hat:rhel_aus:8.6) | < 4.5-1.el8_6.6 | 4.5-1.el8_6.6 |
| redhat/libreswan(Red Hat:rhel_eus_long_life:8.6) | < 4.5-1.el8_6.6 | 4.5-1.el8_6.6 |
| redhat/libreswan(Red Hat:rhel_tus:8.8) | < 4.9-3.el8_8.3 | 4.9-3.el8_8.3 |
| redhat/libreswan(Red Hat:rhel_e4s:8.8) | < 4.9-3.el8_8.3 | 4.9-3.el8_8.3 |
| redhat/libreswan(Red Hat:enterprise_linux:9) | < 4.15-10.el9_8 | 4.15-10.el9_8 |
| redhat/libreswan(Red Hat:rhel_e4s:9.2) | < 4.9-5.el9_2.5 | 4.9-5.el9_2.5 |
| redhat/libreswan(Red Hat:rhel_e4s:9.4) | < 4.12-3.el9_4.2 | 4.12-3.el9_4.2 |
| redhat/libreswan(Red Hat:rhel_eus:9.6) | < 4.15-8.el9_6.1 | 4.15-8.el9_6.1 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.19::el9) | < 9:4.19.9.6.202609021231-0 | 9:4.19.9.6.202609021231-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.20::el9) | < 9:4.20.9.6.202609021029-0 | 9:4.20.9.6.202609021029-0 |
| redhat/openshift/ose-rhel-coreos(Red Hat:openshift:4.21::el9) | < 9:4.21.9.6.202609021100-0 | 9:4.21.9.6.202609021100-0 |
| redhat/libreswan(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/libreswan(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/libreswan(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:5) | All versions | No fix listed |
| debian/libreswan(Debian:12) | All versions | No fix listed |
| debian/libreswan(Debian:12) | = 4.10-2 | No fix listed |
| debian/libreswan(Debian:12) | = 4.10-2+deb12u1 | No fix listed |
Show 28 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libreswan(Debian:12) | = 4.11-1 | No fix listed |
| debian/libreswan(Debian:12) | = 4.12-1 | No fix listed |
| debian/libreswan(Debian:12) | = 4.12-2 | No fix listed |
| debian/libreswan(Debian:12) | = 4.12-3 | No fix listed |
| debian/libreswan(Debian:12) | = 4.14-1 | No fix listed |
| debian/libreswan(Debian:12) | = 4.14-1.1 | No fix listed |
| debian/libreswan(Debian:12) | = 4.15-1 | No fix listed |
| debian/libreswan(Debian:12) | = 5.0~rc2-1 | No fix listed |
| debian/libreswan(Debian:12) | = 5.0~rc2-2 | No fix listed |
| debian/libreswan(Debian:12) | = 5.2-1 | No fix listed |
| debian/libreswan(Debian:12) | = 5.2-2 | No fix listed |
| debian/libreswan(Debian:12) | = 5.2-2.1 | No fix listed |
| debian/libreswan(Debian:12) | = 5.2-2.2 | No fix listed |
| debian/libreswan(Debian:12) | = 5.2-2.3 | No fix listed |
| debian/libreswan(Debian:12) | = 5.2-2.4 | No fix listed |
| debian/libreswan(Debian:12) | = 5.2-2.5 | No fix listed |
| debian/libreswan(Debian:13) | All versions | No fix listed |
| debian/libreswan(Debian:13) | = 5.2-2.2 | No fix listed |
| debian/libreswan(Debian:13) | = 5.2-2.3 | No fix listed |
| debian/libreswan(Debian:13) | = 5.2-2.4 | No fix listed |
| debian/libreswan(Debian:13) | = 5.2-2.5 | No fix listed |
| ubuntu/libreswan(Ubuntu:22.04) | All versions | No fix listed |
| alpine/libreswan(Alpine:v3.23) | < 5.3.3-r0 | 5.3.3-r0 |
| alpine/libreswan(Alpine:v3.24) | < 5.3.2-r0 | 5.3.2-r0 |
| ubuntu/libreswan(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libreswan(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/libreswan(Ubuntu:26.10) | All versions | No fix listed |
| azure linux libreswan(Azure Linux:3.0) | < 4.15-3 | 4.15-3 |
References
- Libreswan Security Advisory CVE-2026-14957 vendor-advisory
- Libreswan CVE-2026-14957 Patches patch
- MSRC Security Update Guide vendor-advisory
- Security Update patch
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:46986 patch vendor-advisory
- RHSA-2026:46398 patch vendor-advisory
- RHSA-2026:55449 patch vendor-advisory
- RHSA-2026:46396 patch vendor-advisory
- RHSA-2026:84887 patch vendor-advisory
- RHSA-2026:82154 patch vendor-advisory
- RHSA-2026:72287 patch vendor-advisory
- RHSA-2026:46397 patch vendor-advisory
- RHSA-2026:61779 patch vendor-advisory
- RHSA-2026:61258 patch vendor-advisory
- RHSA-2026:57741 patch vendor-advisory
- RHSA-2026:63044 patch vendor-advisory
- RHSA-2026:63100 patch vendor-advisory
- RHSA-2026:63041 patch vendor-advisory
- Red Hat Bugzilla 2501764 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-14957 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-69820 third-party-advisory