Vulnerability · Published Aug 22, 2026 · Assigned by mitre

CVE-2026-47895

High 7.5

In plain English

A high-severity double free in strongSwan from strongSwan. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.4%top 63.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.24strongswan6.0.7-r0ALPINE-CVE-2026-47895
Debian:12strongswan5.9.8-5+deb12u5DEBIAN-CVE-2026-47895
Debian:13strongswan6.0.1-6+deb13u6DEBIAN-CVE-2026-47895
Debian:14strongswan6.0.7-1DEBIAN-CVE-2026-47895
Ubuntu:22.04:LTSstrongswan5.9.5-2ubuntu2.7UBUNTU-CVE-2026-47895
Ubuntu:24.04:LTSstrongswan5.9.13-2ubuntu4.24.04.4UBUNTU-CVE-2026-47895
Ubuntu:25.10strongswan6.0.1-6ubuntu4.4UBUNTU-CVE-2026-47895
Ubuntu:26.04:LTSstrongswan6.0.4-1ubuntu3.1UBUNTU-CVE-2026-47895

Affected products (as reported)

VendorProductVersions
strongSwan strongSwan 4.3.3 – before 6.0.7

Weakness: CWE-415 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

References