CVE Catalog

CVE-2026-77206

HighCVSS 7.5
Published: Translated: NVD NIST

Summary

Libreswan's IKEv2 state machine has a null pointer dereference bug in the EAP handling code for authentication. As a result of inconsistency within the IKEv2 state machine code, this bug can be triggered by any IKEv2 connection, even if EAP is not configured at all. The error is caused by a fall-through where it incorrectly dereferences ike->sa.st_eap which is NULL. A malicious IKE_AUTH packet can trigger this bug, meaning the peer does not need to be authenticated. The bug results in a crash and restart of the pluto daemon. No remote code execution is possible. Continued exploitation can cause a denial of service.

Risk Assessment

An attacker can cause the pluto daemon to crash and restart, resulting in denial of service. The risk does not include remote code execution, but continued exploitation can lead to service unavailability.

Recommendation

Update Libreswan to a version with a fix for the null pointer dereference in EAP handling in the IKEv2 state machine.

Other vulnerabilities in Libreswan

See all
Original NVD description (English source)

Libreswan's IKEv2 state machine has a null pointer dereference bug in the EAP handling code for authentication. As a result of inconsistency within the IKEv2 state machine code, this bug can be triggered by any IKEv2 connection, even if EAP is not configured at all. The error is caused by a fall-through where it incorrectly dereferences ike->sa.st_eap which is NULL. A malicious IKE_AUTH packet can trigger this bug, meaning the peer does not need to be authenticated. The bug results in a crash and restart of the pluto daemon. No remote code execution is possible. Continued exploitation can cause a denial of service.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS