ctipilot.ch

strongSwan libstrongswan identity-clone double-free, unauth RCE over EAP; fixed 6.0.7

cve · CVE-2026-47895

Coverage timeline
1
first 2026-06-10 → last 2026-06-14
Peak priority
notable
1 notable
Sources cited
2
2 hosts
Sections touched
1
trending-vulnerabilities
Co-occurring entities
0
no co-occurrence
ATT&CK techniques
0
no mapped behavior yet

Hunting pivots

Story timeline

  1. 2026-06-10CVE-2026-47895 — strongSwan: pre-auth double-free in libstrongswan identity cloning, unauthenticated RCE over EAP (patched 6.0.7)
    trending-vulnerabilities

Where this entity is cited

  • trending-vulnerabilities1

Source distribution

  • strongswan.org1 (50%)
  • wid.cert-bund.de1 (50%)

explore in graph

Entries about strongSwan libstrongswan identity-clone double-free, unauth RCE over EAP; fixed 6.0.7 (1)

2026-06-10 · view entry permalink →

CVE-2026-47895 — strongSwan: pre-auth double-free in libstrongswan identity cloning, unauthenticated RCE over EAP (patched 6.0.7)

The strongSwan project disclosed CVE-2026-47895 on 8 June (fixed in 6.0.7): a double-free in the clone() method of identification_t in libstrongswan, caused by checking encoded.len but not encoded.ptr (strongSwan, 2026-06-08.html)). An identity with empty-but-non-NULL binary encoding (e.g. chunk_from_hex() on empty input) makes the original and clone point to the same heap allocation; on glibc — which always returns a unique non-NULL pointer for zero-length malloc() — the double-free fires reliably. The exploitable path is the EAP-Identity exchange: the server clones and stores the supplied identity, and when authentication fails the IKE SA teardown triggers the free, making this reachable pre-authentication against any strongSwan IKEv2 server with EAP enabled (EAP-Identity, EAP-TTLS sub-identity, XAuth xauth-eap). All versions since 4.3.3 are affected; BSI published WID-SEC-2026-1832 (BSI CERT-Bund, 2026-06-09). strongSwan is the canonical Linux IPsec/IKEv2 stack (ETH Zurich lineage) across CH/EU VPN infrastructure. No public PoC or ITW exploitation reported; upgrade to 6.0.7, or temporarily require certificate-only auth.

vulnerability10 Jun 05:00Zmulti-sourceOpen finding ↗