CVE-2018-17540
CVE-2018-17540 is a high-severity vulnerability in Strongswan with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-119.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- CVSS v2: 5.0
- EPSS exploit prediction: 4% (88th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-119
- Affected product: Strongswan
- Published:
- Last modified:
Description
The gmp plugin in strongSwan before 5.7.1 has a Buffer Overflow via a crafted certificate.
Frequently asked questions
- What is CVE-2018-17540?
- The gmp plugin in strongSwan before 5.7.1 has a Buffer Overflow via a crafted certificate.
- How severe is CVE-2018-17540?
- CVE-2018-17540 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2018-17540 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 4% (88th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2018-17540?
- CVE-2018-17540 primarily affects Strongswan. In total, 6 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2018-17540?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2018-17540 published?
- CVE-2018-17540 was published on 2018-10-03 and last updated on 2026-06-17.
References
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00077.html
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00001.html
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00047.html
- https://download.strongswan.org/security/CVE-2018-17540/
- https://lists.debian.org/debian-lts-announce/2018/10/msg00001.html
- https://security.gentoo.org/glsa/201811-16
- https://usn.ubuntu.com/3774-1/
- https://www.debian.org/security/2018/dsa-4309
- https://www.strongswan.org/blog/2018/10/01/strongswan-vulnerability-%28cve-2018-17540%29.html
Affected products (6)
- cpe:2.3:a:strongswan:strongswan:*:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
More vulnerabilities in Strongswan
- CVE-2004-0590 — Critical (CVSS 10.0): FreeS/WAN 1.x and 2.x, and other related products including superfreeswan 1.x, openswan 1.x before 1.0.6, openswan 2.x…
- CVE-2023-41913 — Critical (CVSS 9.8): strongSwan before 5.9.12 has a buffer overflow and possible unauthenticated remote code execution via a DH public value…
- CVE-2023-26463 — Critical (CVSS 9.8): strongSwan 5.9.8 and 5.9.9 potentially allows remote code execution because it uses a variable named "public" for two…
- CVE-2015-3991 — Critical (CVSS 9.8): strongSwan 5.2.2 and 5.3.0 allows remote attackers to cause a denial of service (daemon crash) or execute arbitrary…
- CVE-2021-45079 — Critical (CVSS 9.1): In strongSwan before 5.9.5, a malicious responder can send an EAP-Success message too early without actually…
- CVE-2022-4967 — High (CVSS 7.7): strongSwan versions 5.9.2 through 5.9.5 are affected by authorization bypass through improper validation of certificate…
All CVEs affecting Strongswan →
Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities
- CVE-2026-2778 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the DOM: Core & HTML component. This vulnerability was fixed in…
- CVE-2026-2776 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the Telemetry component in External Software. This vulnerability…
- CVE-2025-1866 — Critical (CVSS 10.0): Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in warmcat libwebsockets allows…
- CVE-2022-27625 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2022-27624 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2020-11896 — Critical (CVSS 10.0): The Treck TCP/IP stack before 6.0.1.66 allows Remote Code Execution, related to IPv4 tunneling.