CVE-2026-47895 Use after free in strongSwan

High 7.5 Published Updated

A double-free vulnerability in strongSwan's EAP-Identity parsing allows remote attackers to cause a denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-47895?

CVE-2026-47895 is a high-severity use after free vulnerability in strongSwan, published on 22 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.

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.

Weakness: CWE-415

Which versions are affected by CVE-2026-47895?

Linux distribution packages (6)
strongswan SUSE:Linux Enterprise Server 12 SP5-LTSSAll versions5.1.3-26.38.1
strongswan SUSE:Linux Enterprise Server 16.0All versions6.0.6-160000.2.1
strongswan SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5All versions5.1.3-26.38.1
strongswan SUSE:Linux Enterprise Server for SAP applications 16.0All versions6.0.6-160000.2.1
strongswan openSUSE:Leap 16.0All versions6.0.6-160000.2.1
strongswan openSUSE:TumbleweedAll versions6.0.7-1.1

How do I fix CVE-2026-47895?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2026-47895 being exploited?

There is no known exploitation of CVE-2026-47895 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2026-47895, AZL-97377, DEBIAN-CVE-2026-47895, GHSA-55p5-7gvc-767j, SUSE-SU-2026:22168-1, SUSE-SU-2026:2312-1 and 4 more.

Is CVE-2026-47895 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free