Skip to content
OpenAdvisories
High · 7.5 CVE-2026-77206 EUVD-2026-100748GHSA-37xg-hvw9-pr82

IKEv2 pre-authentication Null Pointer Dereference in EAP code

Published Oct 13, 2026 · Updated Oct 16, 2026 · Assigned by libreswan

Description

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.

Affected products

VendorProductAffectedFixed
The Libreswan Project libreswan 4.7 – ≤ 5.3.2, 5.4 – ≤ 5.4 5.3.3

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 13 libreswan No fix yet —
Debian 12 libreswan No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libreswan No fix yet —
Ubuntu 26.04 LTS libreswan No fix yet —
Ubuntu 24.04 LTS libreswan No fix yet —
Ubuntu 22.04 LTS libreswan No fix yet —
Ubuntu 20.04 LTS libreswan No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libreswan No fix yet —

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 libreswan 4.15-11.el9_8 ALSA-2026:89748
AlmaLinux 8 libreswan 4.12-2.el8_10.7 ALSA-2026:90492

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 libreswan +1 5.4.1-1.el10_3 RLSA-2026:98088
Rocky Linux 9 libreswan 4.15-11.el9_8 RLSA-2026:97878, RLSA-2026:89748
Rocky Linux 8 libreswan 4.12-2.el8_10.7 RLSA-2026:90492
ReleasePackageFixed inAdvisory
Alpine v3.24 libreswan 5.3.3-r0 —
Alpine v3.23 libreswan 5.3.3-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 libreswan No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 libreswan 4.15-11.0.1.el9_8 ELSA-2026-89748
Oracle Linux 8 libreswan 4.12-2.0.1.el8_10.7 ELSA-2026-90492

Advisories 9

References