CVE-2026-78131: 
strongSwan vulnerability analysis and mitigation

Overview

CVE-2026-78131 is a memory leak vulnerability in strongSwan's x509 plugin, specifically in the attribute certificate parser's handling of identities in X.509 attribute certificates. It affects strongSwan versions 4.2.0 through 6.0.7 (fixed in 6.1.0). An unauthenticated remote attacker can trigger memory exhaustion, potentially causing a denial of service. The vulnerability is classified as CWE-401 (Missing Release of Memory after Effective Lifetime) and carries a CVSS v3.1 base score of 3.7 (Low) (GitHub Advisory, strongSwan Release).

Technical details

The root cause is a missing memory deallocation (CWE-401) in the x509 plugin's parser for identities within X.509 attribute certificates. When strongSwan processes a crafted attribute certificate containing malicious identity fields, the allocated memory is not released after its effective lifetime, resulting in a memory leak. The attack vector is network-based, requires no authentication or user interaction, but has high attack complexity, meaning exploitation is not trivially repeatable under all conditions. The fix was introduced in strongSwan 6.1.0, as documented in the release notes (strongSwan Release).

Impact

Successful exploitation causes memory exhaustion in the strongSwan IKE daemon, leading to degraded performance or a complete denial of service as the process becomes unavailable. There is no impact on confidentiality or integrity — only availability is affected. The scope is limited to the strongSwan service itself; lateral movement or data exfiltration are not direct consequences of this vulnerability (GitHub Advisory).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of publication (GitHub Advisory). The EPSS score is approximately 0.0023 (0.23%), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in CISA's Known Exploited Vulnerabilities (KEV) catalog. NVD's SSVC assessment classifies exploitation as "none" and the vulnerability as not automatable.

Indicators of compromise

  • System Metrics: Steadily increasing memory consumption by the charon (strongSwan IKE daemon) process without a corresponding increase in active IKE SAs.
  • Logs: Unusual volume of IKE negotiation attempts involving attribute certificates in /var/log/charon.log or syslog; repeated connections from the same source IP presenting attribute certificates.
  • Process: The charon process approaching system memory limits or being killed by the OOM killer (dmesg or /var/log/kern.log showing OOM kill events for charon).

Mitigation and workarounds

The primary remediation is to upgrade strongSwan to version 6.1.0 or later, which contains the fix for CVE-2026-78131 (strongSwan Release). Patches are also available via major Linux distribution security channels including Debian (DSA-6487-1), SUSE (SUSE-SU-2026:4115-1, SUSE-SU-2026:4143-1, SUSE-SU-2026:4147-1), openSUSE, Ubuntu (USN-8789-1), and FreeBSD ports. As a temporary workaround where immediate patching is not feasible, implement network-level controls to restrict which peers can initiate IKE connections and present attribute certificates to the strongSwan instance.

Community reactions

The strongSwan project disclosed the vulnerability on September 7, 2026, alongside ten other CVEs fixed in the 6.1.0 release, indicating a coordinated batch security release (strongSwan Release). Major Linux distributions including Debian, SUSE, openSUSE, Ubuntu, and FreeBSD responded promptly with security advisories and updated packages within days of the disclosure. Coverage was largely routine, with security news aggregators and Linux security sites reporting the patch without significant alarm given the low CVSS score.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

strongswan

Affected

sid

strongswan: 6.1.0-1

Fixed

trixie

strongswan: 6.0.1-6+deb13u7

Fixed

Ubuntu

Fixed

bionic (esm-infra)

strongswan

Unknown

bionic (fips-updates)

strongswan

Unknown

bionic (fips)

strongswan

Unknown

devel

strongswan

Not Affected

focal (esm-infra)

strongswan

Unknown

focal (fips-updates)

strongswan

Unknown

focal (fips)

strongswan

Unknown

jammy

strongswan: 5.9.5-2ubuntu2.8

Fixed

Alpine

Fixed

edge

strongswan: 6.1.0-r0

Fixed

Source: This report was generated using AI

Related strongSwan vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-78133HIGH7.5
  • strongSwan logostrongSwan
  • strongswan
NoYesSep 11, 2026
CVE-2026-78132HIGH7.5
  • strongSwan logostrongSwan
  • strongswan
NoYesSep 11, 2026
CVE-2026-78135HIGH7.3
  • strongSwan logostrongSwan
  • strongswan-libs0
NoYesSep 11, 2026
CVE-2026-78134HIGH7.1
  • strongSwan logostrongSwan
  • cpe:2.3:a:strongswan:strongswan
NoYesSep 11, 2026
CVE-2026-78131LOW3.7
  • strongSwan logostrongSwan
  • strongswan-ipsec
NoYesSep 11, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management