strongSwan 4.2.7 vulnerabilities
21 published vulnerabilities affect strongSwan 4.2.7.
What to upgrade to
The newest release on the 4.2 line is 4.2.16, with 23 known CVEs. The newest strongSwan release we know of is 6.1.0, with no known CVEs.
| Upgrade to | Fixes | Still open | New in that release |
|---|---|---|---|
| 4.2.16newest 4.2 release | 3 of 21 | 18CVE-2021-45079, CVE-2026-78130, CVE-2022-40617 and 15 more | 5CVE-2025-62291, CVE-2021-41991, CVE-2026-35333 and 2 more |
| 6.1.0newest release | all 211 critical | none | none |
"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 4.2.7
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.
| CVE | CVSS | Exploitation | EPSS | Fixed 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.1 | None known | 3% | 5.9.5NVD |
| CVE-2026-78130strongSwan 4.2.0 through 6.0.7 has a NULL pointer dereference in the x509 plugin's attribute certificate parser | 7.5 | None known | under 1% | 6.1.0CVE 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.5 | None known | 2% | 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.5 | None known | 2% | –NVD |
| 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.5 | None known | 2% | –NVD |
| 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.5 | None known | 3% | –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.5 | None known | 2% | –NVD |
| CVE-2012-2388The GMP Plugin in strongSwan 4.2.0 through 4.6.3 allows remote attackers to bypass authentication via a (1) empty or (2) zeroed RSA signature, aka "RSA… | 7.5 | None known | 3% | 4.6.4vendor advisory |
| 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.5 | None known | 4% | 5.6.3NVD |
| CVE-2014-2338IKEv2 in strongSwan 4.0.7 before 5.1.3 allows remote attackers to bypass authentication by rekeying an IKE_SA during (1) initiation or (2) re-authentication… | 6.4 | None known | 2% | –NVD |
| CVE-2026-78126strongSwan 4.1.10 through 6.0.7 allows a NULL pointer dereference in the eap-aka plugin | 5.9 | None known | under 1% | 6.1.0CVE record |
| CVE-2013-2054Buffer overflow in the atodn function in strongSwan 2.0.0 through 4.3.4, when Opportunistic Encryption is enabled and an RSA key is being used, allows remote… | 5.1 | None known | 2% | –NVD |
| CVE-2014-2891strongSwan before 5.1.2 allows remote attackers to cause a denial of service (NULL pointer dereference and IKE daemon crash) via a crafted ID_DER_ASN1_DN ID… | 5.0 | None known | 3% | –NVD |
| CVE-2009-2185The ASN.1 parser (pluto/asn1.c, libstrongswan/asn1/asn1.c, libstrongswan/asn1/asn1_parser.c) in (a) strongSwan 2.8 before 2.8.10, 4.2 before 4.2.16, and 4.3… | 5.0 | None known | 2% | 4.2.16NVD |
| CVE-2009-1958charon/sa/tasks/child_create.c in the charon daemon in strongSWAN before 4.3.1 switches the NULL checks for TSi and TSr payloads, which allows remote attackers… | 5.0 | None known | 3% | –NVD |
| CVE-2009-1957charon/sa/ike_sa.c in the charon daemon in strongSWAN before 4.3.1 allows remote attackers to cause a denial of service (NULL pointer dereference and crash)… | 5.0 | None known | 3% | –NVD |
| CVE-2009-0790The pluto IKE daemon in Openswan and Strongswan IPsec 2.6 before 2.6.21 and 2.4 before 2.4.14, and Strongswan 4.2 before 4.2.14 and 2.8 before 2.8.9, allows… | 5.0 | None known | 3% | 4.2.14NVD |
| 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 parser | 3.7 | None known | under 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 parser | 3.7 | None known | under 1% | 6.1.0CVE record |
| CVE-2025-9615Networkmanager: networkmanager file access | 3.3 | None known | under 1% | 6.0.4vendor advisory |
| CVE-2019-10155The Libreswan Project has found a vulnerability in the processing of IKEv1 informational exchange packets which are encrypted and integrity protected using the… | 3.1 | None known | under 1% | 5.0.0NVD |
Fixed since 4.2.6
1 CVE that affects 4.2.6, the release before it, does not affect 4.2.7:
- CVE-2008-4551 strongSwan 4.2.6 and earlier allows remote attackers to cause a denial of service (daemon crash) via an IKE_SA_INIT message with a large number of NULL values… CVSS 5.0
1 CVE affects 4.2.7 and not 4.2.6: CVE-2025-9615.
Other strongSwan 4.2 releases
4.2.1623 4.2.1524 4.2.1424 4.2.1325 4.2.1225 4.2.1123 4.2.1023 4.2.921 4.2.821 4.2.621 4.2.521 4.2.421 4.2.322 4.2.222
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.