strongSwan 4.0.1 vulnerabilities
12 published vulnerabilities affect strongSwan 4.0.1.
What to upgrade to
The newest release on the 4.0 line is 4.0.7, with 13 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.0.7newest 4.0 release | none | 12CVE-2022-40617, CVE-2018-16152, CVE-2018-16151 and 9 more | 1CVE-2014-2338 |
| 6.1.0newest release | all 12 | 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.0.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.
| CVE | CVSS | Exploitation | EPSS | Fixed in |
|---|---|---|---|---|
| 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-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-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-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-2008-4551strongSwan 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… | 5.0 | None known | 3% | –NVD |
| 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 |
Other strongSwan 4.0 releases
4.0.713 4.0.612 4.0.512 4.0.412 4.0.312 4.0.212 4.0.012
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.