strongSwan 5.2.1 vulnerabilities

28 published vulnerabilities affect strongSwan 5.2.1.

28CVEs
1critical (CVSS 9+)
14high (CVSS 7–8.9)
0exploited in the wild

What to upgrade to

The newest release on the 5.2 line is 5.2.3, with 28 known CVEs. The newest strongSwan release we know of is 6.1.0, with no known CVEs.

Upgrade toFixesStill openNew in that release
5.2.3newest 5.2 releasenone28CVE-2021-45079, CVE-2025-62291, CVE-2021-41991 and 25 morenone
6.1.0newest releaseall 281 criticalnonenone

"Fixes": CVEs on this page that don't affect that release. "New in that release": CVEs that affect it and not this one.

CVEs affecting strongSwan 5.2.1

Worst first: ranked by Dawnsentry's score for a device that faces the internet (CVSS, plus known exploitation and EPSS). "Fixed in" is the first release that carries the fix, where the source names one.

CVECVSSExploitationEPSSFixed in
CVE-2021-45079In strongSwan before 5.9.5, a malicious responder can send an EAP-Success message too early without actually authenticating the client and (in the case of EAP…9.1None known3%5.9.5NVD
CVE-2025-62291In the eap-mschapv2 plugin (client-side) in strongSwan before 6.0.3, a malicious EAP-MSCHAPv2 server can send a crafted message of size 6 through 8, and cause…8.1None known1%6.0.3CVE record
CVE-2021-41991The in-memory certificate cache in strongSwan before 5.9.4 has a remote integer overflow upon receiving many requests with different certificates to fill the…7.5None known5%5.9.4NVD
CVE-2018-10811strongSwan 5.6.0 and older allows Remote Denial of Service because of Missing Initialization of a Variable7.5None known6%5.6.3NVD
CVE-2026-78132strongSwan 5.1.3 through 6.0.7 has an infinite loop in the x509 plugin's attribute certificate parser for ietfAttrSyntax7.5None knownunder 1%6.1.0CVE record
CVE-2026-78130strongSwan 4.2.0 through 6.0.7 has a NULL pointer dereference in the x509 plugin's attribute certificate parser7.5None knownunder 1%6.1.0CVE record
CVE-2026-47895In strongSwan before 6.0.7, identity parsing/cloning is mishandled7.5None knownunder 1%6.0.7CVE record
CVE-2026-25075strongSwan 4.5.0 < 6.0.5 EAP-TTLS AVP Parsing Integer Underflow7.5None known1%6.0.5CVE record
CVE-2022-40617strongSwan before 5.9.8 allows remote attackers to cause a denial of service in the revocation plugin by sending a crafted end-entity (and intermediate CA)…7.5None known2%5.9.8NVD
CVE-2018-16152In verify_emsa_pkcs1_signature() in gmp_rsa_public_key.c in the gmp plugin in strongSwan 4.x and 5.x before 5.7.0, the RSA implementation based on GMP does not…7.5None known2%5.7.0NVD
CVE-2018-16151In verify_emsa_pkcs1_signature() in gmp_rsa_public_key.c in the gmp plugin in strongSwan 4.x and 5.x before 5.7.0, the RSA implementation based on GMP does not…7.5None known2%5.7.0NVD
CVE-2017-11185The gmp plugin in strongSwan before 5.6.0 allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via a crafted RSA…7.5None known3%–NVD
CVE-2017-9023The ASN.1 parser in strongSwan before 5.5.3 improperly handles CHOICE types when the x509 plugin is enabled, which allows remote attackers to cause a denial of…7.5None known2%–NVD
CVE-2017-9022The gmp plugin in strongSwan before 5.5.3 does not properly validate RSA public keys before calling mpz_powm_sec, which allows remote peers to cause a denial…7.5None known2%5.5.3vendor advisory
CVE-2026-78134strongSwan 4.5.0 through 6.0.7 has Incorrect Access Control in the eap-ttls and eap-peap plugins because there can be a missing or mismatched inner EAP identity7.1None knownunder 1%6.1.0CVE record
CVE-2018-5388In stroke_socket.c in strongSwan before 5.6.3, a missing packet length check could allow a buffer underflow, which may lead to resource exhaustion and denial…6.5None known4%5.6.3NVD
CVE-2026-78129strongSwan 4.6.2 through 6.0.7 has an infinite loop in PKCS#5 decryption5.9None knownunder 1%6.1.0CVE record
CVE-2026-78126strongSwan 4.1.10 through 6.0.7 allows a NULL pointer dereference in the eap-aka plugin5.9None knownunder 1%6.1.0CVE record
CVE-2026-78123strongSwan 5.0.2 through 6.0.7 has an Expired Pointer Dereference in PKCS#7 parsing in the openssl plugin5.9None knownunder 1%6.1.0CVE record
CVE-2026-35334strongSwan: CVE-2026-35334 (gmp plugin, RSA decryption)–None known–6.0.6vendor advisory
CVE-2026-35333strongSwan: CVE-2026-35333 (libradius, RADIUS attributes)–None known–6.0.6vendor advisory
CVE-2026-35330strongSwan: CVE-2026-35330 (libsimaka, EAP-SIM/AKA attributes)–None known–6.0.6vendor advisory
CVE-2015-8023The server implementation of the EAP-MSCHAPv2 protocol in the eap-mschapv2 plugin in strongSwan 4.2.12 through 5.x before 5.3.4 does not properly validate…5.0None known3%–NVD
CVE-2026-78131strongSwan 4.2.0 through 6.0.7 has a missing release of memory after its effective lifetime in the x509 plugin's attribute certificate parser3.7None knownunder 1%6.1.0CVE record
CVE-2026-78127libcharon in strongSwan 4.1.2 through 6.0.7 has a missing release of memory after its effective lifetime in the IKE message parser3.7None knownunder 1%6.1.0CVE record
CVE-2026-78124strongSwan 5.0.2 through 6.0.7 allows PKCS#7 certificate enumeration in the openssl plugin that leads to a lack of release of memory after its effective…3.7None knownunder 1%6.1.0CVE record
CVE-2025-9615Networkmanager: networkmanager file access3.3None knownunder 1%6.0.4vendor advisory
CVE-2015-4171strongSwan 4.3.0 through 5.x before 5.3.2 and strongSwan VPN Client before 1.4.6, when using EAP or pre-shared keys for authenticating an IKEv2 connection…2.6None known2%–NVD

Fixed since 5.2.0

1 CVE that affects 5.2.0, the release before it, does not affect 5.2.1:

  • CVE-2014-9221 strongSwan 4.5.x through 5.2.x before 5.2.1 allows remote attackers to cause a denial of service (invalid pointer dereference) via a crafted IKEv2 Key Exchange… CVSS 5.0

Other strongSwan 5.2 releases

5.2.328 5.2.229 5.2.029

All strongSwan versions

How this list is made

These are the CVEs Dawnsentry matches to each strongSwan version, with the same engine its customers use. Where the vendor publishes its own advisory, that decides whether a version is affected, down to hotfix level; otherwise the CVE record and NVD's version data decide. CVSS comes from NVD or the reporting organisation, exploitation from CISA's Known Exploited Vulnerabilities catalogue, CISA's ratings, Metasploit and Nuclei, and EPSS (the probability of exploitation in the next 30 days) from FIRST. The list is rebuilt every day. Always confirm against the vendor's advisory before you act on it.

Updated 2 December 2026.