Bug 2550633 - CVE-2026-77207 libreswan: Null Pointer Dereference in PKCS#7 bundle with no CERTS [fedora-all]
Summary: CVE-2026-77207 libreswan: Null Pointer Dereference in PKCS#7 bundle with no C...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libreswan
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Paul Wouters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["b724f81d-ef88-4220-9693-7...
Depends On:
Blocks: CVE-2026-77207
TreeView+ depends on / blocked
 
Reported: 2026-10-13 15:41 UTC by TEJ RATHI
Modified: 2026-11-01 03:35 UTC (History)
3 users (show)

Fixed In Version: libreswan-5.4.1-1.fc43 libreswan-5.4.1-1.fc44 libreswan-5.4.1-4.fc45
Clone Of:
Environment:
Last Closed: 2026-10-28 02:47:48 UTC
Type: ---
Embargoed:
fedora-admin-xmlrpc: mirror+


Attachments (Terms of Use)

Description TEJ RATHI 2026-10-13 15:41:51 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.

The Libreswan Project was informed of a Null Pointer Dereference bug in the PKCS#7 handling code for authentication that can result in a denial of service against the libreswan pluto daemon. 

When libreswan decodes an IKE CERT payload of type CERT_PKCS7_WRAPPED_X509, it guards the PKCS#7 blob with SEC_PKCS7ContainsCertsOrCrls() and then iterates the certificate list with SEC_PKCS7GetCertificateList(). The two NSS APIs disagree on a SignedData that carries a CRL but no
certificates: ContainsCertsOrCrls() returns PR_TRUE (there is a CRL), so the guard passes, but GetCertificateList() returns NULL (there are no certificates). This causes libreswan to dereference a null pointer leading to a crash and restart.

An malicious IKE_AUTH packet can trigger this bug, meaning the peer need not be authenticated. Continued attempts to use IKEv2 with such malicious payloads can cause a denial of service. No remote code execution is possible.

Vulnerable versions : 4.7 - 5.4
Not vulnerable      : 5.3.3, 5.4.1

Comment 1 Fedora Update System 2026-10-23 14:54:59 UTC
FEDORA-2026-66a7ca796b (libreswan-5.4.1-2.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-66a7ca796b

Comment 2 Fedora Update System 2026-10-23 15:23:21 UTC
FEDORA-2026-fe33d29b75 (libreswan-5.4.1-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-fe33d29b75

Comment 3 Fedora Update System 2026-10-23 15:45:27 UTC
FEDORA-2026-92b72db5d7 (libreswan-5.4.1-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-92b72db5d7

Comment 4 Fedora Update System 2026-10-24 17:25:58 UTC
FEDORA-2026-fe33d29b75 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-fe33d29b75`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-fe33d29b75

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-10-24 17:48:24 UTC
FEDORA-2026-92b72db5d7 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-92b72db5d7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-92b72db5d7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2026-10-24 18:16:02 UTC
FEDORA-2026-66a7ca796b has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-66a7ca796b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-66a7ca796b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2026-10-28 02:47:48 UTC
FEDORA-2026-92b72db5d7 (libreswan-5.4.1-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2026-10-29 01:28:15 UTC
FEDORA-2026-fe33d29b75 (libreswan-5.4.1-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2026-10-29 02:02:22 UTC
FEDORA-2026-d06ae7ecc2 has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-d06ae7ecc2`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-d06ae7ecc2

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2026-11-01 03:35:46 UTC
FEDORA-2026-d06ae7ecc2 (libreswan-5.4.1-4.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.


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