Skip to main content
VulnerabilityPublished Updated

CVE-2026-14957: In FIPS mode, Libreswan's add_decoded_cert() function calls CERT_ExtractPublicKey() and asserts that

Affects libreswanSource GCVE Database

0
Compare
Authoritative record:CVE-2026-14957· High 7.5

Not known to be exploited · CVSS 7.5 High.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 41% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10libreswanpkg:deb/ubuntu/libreswan?arch=source&distro=stonkingOther threatsAffected
  • =5.2-2.2ubuntu2
Fixed in–
Ubuntu 26.04 LTSlibreswanpkg:deb/ubuntu/libreswan?arch=source&distro=resoluteOther threatsAffected
  • =5.2-2.2ubuntu1
  • =5.2-2.2ubuntu2
Fixed in–
Ubuntu 24.04 LTSlibreswanpkg:deb/ubuntu/libreswan?arch=source&distro=nobleOther threatsAffected
  • 4.11-1ubuntu1 – 4.14-1ubuntu2
4 affected builds
Fixed in–
Ubuntu 22.04 LTSlibreswanpkg:deb/ubuntu/libreswan?arch=source&distro=jammyOther threatsAffected
  • =3.32-3ubuntu3
Fixed in–
Ubuntu 20.04 LTSlibreswanpkg:deb/ubuntu/libreswan?arch=source&distro=focalOther threatsAffected
  • =3.29-2
  • =3.29-2build1
Fixed in–
Ubuntu 18.04 LTSlibreswanpkg:deb/ubuntu/libreswan?arch=source&distro=bionicOther threatsAffected
  • 3.20-7build1 – 3.23-4
8 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…