7.5

CVE-2026-14957: the libreswan project libreswan Unchecked Return Value

CVSS: 7.5v3.1HighDeferred
AliasesMGASA-2026-0456UBUNTU-CVE-2026-14957DEBIAN-CVE-2026-14957
Published 02-09-2026Last modified 02-09-2026

Vulnerability summary

CVE-2026-14957 is a high (CVSS 7.5) Unchecked Return Value vulnerability in the libreswan project libreswan. EPSS estimates a 0.47% chance of exploitation in the next 30 days, higher than 39.2% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.47%
0%100%
Low · -0.09 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 11

Timeline

  1. 02-09-2026
    PublishedVulnerability first disclosed.
  2. 02-09-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.47%

Chance of exploitation in the next 30 days

Percentile

39%

Versus all other CVEs

30-day change

-0.09 pp

From 0.56% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.47%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • libreswanAll versions (No fix recorded) | < 5.2-2.5
Mageia1 product
  • libreswan< 5.3-1.1.mga10
The libreswan project1 product
Ubuntu1 product
  • libreswanAll versions (No fix recorded)

4 vendors · 4 products

References

10 links