All CVEs / The Libreswan Project
CVE-2026-14957The Libreswan Project libreswan
High 7.5 No auth needed
Follow: this CVE · The Libreswan Project · The Libreswan Project libreswan We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Sep 2, 2026
- Updated
- Sep 9, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for libreswan.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- The Libreswan Project · libreswan
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Red Hat Security Advisory: libreswan security update · Red Hat · RHSA-2026:84887 · Oct 20, 2026 Medium
- Red Hat Security Advisory: libreswan security update · Red Hat · RHSA-2026:82154 · Oct 14, 2026 Medium
- Red Hat Security Advisory: libreswan security update · Red Hat · RHSA-2026:72287 · Sep 28, 2026 High
Also: Red Hat (+8)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.