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-10
Briefs
1
1 distinct
Sources cited
3
3 hosts
Sections touched
1
trending_vulns
Co-occurring entities
0
no co-occurrence

Story timeline

  1. 2026-06-10CTI Daily Brief — 2026-06-10
    trending_vulnsFirst coverage. All versions >=4.3.3; BSI WID-SEC-2026-1832; no public PoC/ITW.

Where this entity is cited

  • trending_vulns1

Source distribution

  • strongswan.org1 (33%)
  • wid.cert-bund.de1 (33%)
  • security-hub.ncsc.admin.ch1 (33%)

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

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

From CTI Daily Brief — 2026-06-10 · published 2026-06-10 · view item permalink →

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.