Bug 2501766 - CVE-2026-14957 libreswan: badly formatted X.509 certificate can cause an assertion failure that crashes the daemon process [fedora-all]
Summary: CVE-2026-14957 libreswan: badly formatted X.509 certificate can cause an asse...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libreswan
Version: 45
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Paul Wouters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["058e4f6f-23bd-41db-bf21-f...
Depends On:
Blocks: CVE-2026-14957
TreeView+ depends on / blocked
 
Reported: 2026-07-17 15:13 UTC by TEJ RATHI
Modified: 2026-08-25 19:49 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-08-25 19:49:33 UTC
Type: ---
Embargoed:
fedora-admin-xmlrpc: mirror+


Attachments (Terms of Use)

Description TEJ RATHI 2026-07-17 15:13:03 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Libreswan contains a reachable assertion in the X.509 certificate processing path when operating in FIPS mode. After calling CERT_ExtractPublicKey(), the returned public key is asserted to be non-NULL, although the function may legitimately return NULL if public key extraction fails (for example, when processing a certificate with an RSA exponent of zero). An unauthenticated remote attacker can send a specially crafted CERT payload during an IKEv1 or IKEv2 exchange to trigger the assertion and terminate the daemon, resulting in a denial of service. The issue is only reachable when Libreswan is running in FIPS mode and certificate-based authentication is in use with at least one CA certificate loaded in the Libreswan NSS database; deployments using only Pre-Shared Key (PSK) authentication without loaded CA certificates are not affected.

Comment 1 Aoife Moloney 2026-08-17 15:22:24 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.


Note You need to log in before you can comment on or make changes to this bug.