Double Free in Strongswan

CVE-2026-47895

In strongSwan before 6.0.7, identity parsing/cloning is mishandled. Parsed EAP-Identities that result in an empty but non-NULL encoding are not correctly cloned and trigger a double-free once the duplicates are destroyed.

Vulnerability class: Double Free

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-47895?
CVE-2026-47895 is a high-severity vulnerability in Strongswan, classified under Double Free. CVSS score: 7.5/10. Published 2026-08-22.
How severe is CVE-2026-47895?
High severity. CVSS v3 base score is 7.5 out of 10.