---
id: CVE-2026-77206
title: >-
  Libreswan's IKEv2 state machine has a null pointer dereference bug in the EAP
  handling code for authentication
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 …
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-476
published: '2026-10-13'
updated: '2026-10-13'
sourceUpdated: '2026-10-13T22:18:24.727'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-77206'
references:
  - url: 'https://libreswan.org/security/CVE-2026-77206/'
    label: d42dc95b-23f1-4e06-9076-20753a0fb0df
  - url: 'https://libreswan.org/security/CVE-2026-77206/CVE-2026-77206.txt'
    label: d42dc95b-23f1-4e06-9076-20753a0fb0df
tags:
  - nvd
ingestedAt: '2026-10-13T23:03:54.749Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
