Double free in strongSwan - CVE-2026-47895
Published: September 22, 2026
Vulnerability identifier: #VU151579
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-47895
CWE-ID: CWE-415
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to potentially execute arbitrary code.
The vulnerability exists due to a double free in the identification_t class clone() method when processing a crafted empty EAP identity. A remote attacker can send a crafted EAP identity to potentially execute arbitrary code.
Affected software
strongSwan
Debian Linux
Fedora
strongswan (Debian package)
strongswan
Debian Linux
Fedora
strongswan (Debian package)
strongswan
How to mitigate CVE-2026-47895
Install security update from vendor's website.
strongSwan - update to 6.0.7
strongswan (Debian package) - addressed in versions 5.9.8-5+deb12u5, 6.0.1-6+deb13u6
strongswan - addressed in versions 6.0.7-1.fc44, 6.0.7-2.fc43
strongswan (Debian package) - addressed in versions 5.9.8-5+deb12u5, 6.0.1-6+deb13u6
strongswan - addressed in versions 6.0.7-1.fc44, 6.0.7-2.fc43