CVE-2026-77206IKEv2 pre-authentication Null Pointer Dereference in EAP code
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libreswan | Fix pending | UBUNTU-CVE-2026-77206 | |
| Ubuntu 26.04 | libreswan | Under investigation | UBUNTU-CVE-2026-77206 | |
| Ubuntu 24.04 | libreswan | Under investigation | UBUNTU-CVE-2026-77206 | |
| Ubuntu 22.04 | libreswan | Under investigation | UBUNTU-CVE-2026-77206 | |
| Ubuntu 20.04 | libreswan | Fix pending | UBUNTU-CVE-2026-77206 | |
| Ubuntu 18.04 | libreswan | Fix pending | UBUNTU-CVE-2026-77206 | |
| Debian 13 | libreswan | Fix pending | DEBIAN-CVE-2026-77206 | |
| Debian 12 | libreswan | Fix pending | DEBIAN-CVE-2026-77206 | |
| Red Hat Enterprise Linux 10 | libreswan | Fixed Affected | 0:5.4.1-1.el10_3 | RHSA-2026:98088 |
| Red Hat Enterprise Linux 10 | libreswan-minimal | Fixed | 0:5.4.1-1.el10_3 | RHSA-2026:98088 |
| Red Hat Enterprise Linux 9 | libreswan | Fixed | 0:5.3.3-3.el9fdp | RHSA-2026:89748 |
| Red Hat Enterprise Linux 8 | libreswan | Fixed | 0:4.12-2.el8_10.7 | RHSA-2026:90492 |
| Red Hat Enterprise Linux 7 | libreswan | Not affected | ||
| Red Hat Enterprise Linux 6 | libreswan | Not affected | ||
| AlmaLinux 10 | libreswan | Fixed | 5.4.1-1.el10_3 | ALSA-2026:98088 |
| AlmaLinux 10 | libreswan-minimal | Fixed | 5.4.1-1.el10_3 | ALSA-2026:98088 |
| AlmaLinux 9 | libreswan | Fixed | 4.15-11.el9_8 | ALSA-2026:97878 |
| AlmaLinux 8 | libreswan | Fixed | 4.12-2.el8_10.7 | ALSA-2026:90492 |
| Rocky Linux 10 | libreswan | Fixed | 0:5.4.1-1.el10_3 | RLSA-2026:98088 |
| Rocky Linux 10 | libreswan-minimal | Fixed | 0:5.4.1-1.el10_3 | RLSA-2026:98088 |
| Rocky Linux 9 | libreswan | Fixed | 0:4.15-11.el9_8 | RLSA-2026:97878 |
| Rocky Linux 8 | libreswan | Fixed | 0:4.12-2.el8_10.7 | RLSA-2026:90492 |
| Alpine Linux 3.24 | libreswan | Fixed | 5.3.3-r0 | ALPINE-CVE-2026-77206 |
| Alpine Linux 3.23 | libreswan | Fixed | 5.3.3-r0 | ALPINE-CVE-2026-77206 |
What the vendor says
As published in the CVE record by libreswan, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- The Libreswan Project libreswan: affected: 4.7 to 5.3.2, 5.4 to 5.4, 5.3.3 not affected, 5.4.1 not affected
Solution: Upgrade to libreswan 5.3.3 or 5.4.1 or later. Note that EAP was not functional in libreswan 5.3. If you need EAP support, use 5.4.1 or later. Patches are available at https://libreswan.org/security/CVE-2026-77206/
Workaround: Apply the available patch or upgrade to a supported version. No configuration-based workaround is available.
Vendor advisories:
- https://libreswan.org/security/CVE-2026-77206/CVE-2026-77206.txt (vendor-advisory)
- https://libreswan.org/security/CVE-2026-77206/ (patch)
References
- https://libreswan.org/security/CVE-2026-77206/CVE-2026-77206.txt
- https://libreswan.org/security/CVE-2026-77206/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.