Every CVE Search/ Get API key

CVE-2018-17540

The gmp plugin in strongSwan before 5.7.1 has a Buffer Overflow via a crafted certificate.

7.5 HighFix available

The gmp plugin in strongSwan before 5.7.1 has a Buffer Overflow via a crafted certificate.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

3.51%Up 1.4 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

The gmp plugin in strongSwan before 5.7.1 has a Buffer Overflow via a crafted certificate.

Record
CVE-2018-17540
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-119
Updated
2026-11-02
CVE List No score

The gmp plugin in strongSwan before 5.7.1 has a Buffer Overflow via a crafted certificate.

Record
CVE-2018-17540
Updated
2026-11-02
EUVDEUVD-2018-9293 No score

The gmp plugin in strongSwan before 5.7.1 has a Buffer Overflow via a crafted certificate.

Record
EUVD-2018-9293
Updated
2026-11-03
GitHub AdvisoriesGHSA-7wxf-w2jw-5jhr 7.5

The gmp plugin in strongSwan before 5.7.1 has a Buffer Overflow via a crafted certificate.

The gmp plugin in strongSwan before 5.7.1 has a Buffer Overflow via a crafted certificate.

Record
GHSA-7wxf-w2jw-5jhr
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-119
Updated
2026-11-02
OSVALPINE-CVE-2018-17540 7.5

The gmp plugin in strongSwan before 5.7.1 has a Buffer Overflow via a crafted certificate.

Record
ALPINE-CVE-2018-17540
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSV 7.5

The gmp plugin in strongSwan before 5.7.1 has a Buffer Overflow via a crafted certificate.

Record
CVE-2018-17540
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 9 moreShow less
OSVDEBIAN-CVE-2018-17540 7.5

The gmp plugin in strongSwan before 5.7.1 has a Buffer Overflow via a crafted certificate.

Record
DEBIAN-CVE-2018-17540
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2018-17540 7.5

The gmp plugin in strongSwan before 5.7.1 has a Buffer Overflow via a crafted certificate.

Record
UBUNTU-CVE-2018-17540
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVopenSUSE-SU-2019:2594-1 No score

Security update for strongswan

This update for strongswan fixes the following issues:

Security issues fixed:

  • CVE-2018-5388: Fixed a buffer underflow which may allow to a remote attacker with local user credentials to resource exhaustion and denial of service while reading from the socket (bsc#1094462).
  • CVE-2018-10811: Fixed a denial of service during the IKEv2 key derivation if the openssl plugin is used in FIPS mode and HMAC-MD5 is negotiated as PRF (bsc#1093536).
  • CVE-2018-16151,CVE-2018-16152: Fixed multiple flaws in the gmp plugin which might lead to authorization bypass (bsc#1107874).
  • CVE-2018-17540: Fixed an improper input validation in gmp plugin (bsc#1109845).

This update was imported from the SUSE:SLE-15:Update update project.

Record
openSUSE-SU-2019:2594-1
Updated
2026-11-02
OSVopenSUSE-SU-2019:2598-1 No score

Security update for strongswan

This update for strongswan fixes the following issues:

Security issues fixed:

  • CVE-2018-5388: Fixed a buffer underflow which may allow to a remote attacker with local user credentials to resource exhaustion and denial of service while reading from the socket (bsc#1094462).
  • CVE-2018-10811: Fixed a denial of service during the IKEv2 key derivation if the openssl plugin is used in FIPS mode and HMAC-MD5 is negotiated as PRF (bsc#1093536).
  • CVE-2018-16151,CVE-2018-16152: Fixed multiple flaws in the gmp plugin which might lead to authorization bypass (bsc#1107874).
  • CVE-2018-17540: Fixed an improper input validation in gmp plugin (bsc#1109845).

This update was imported from the SUSE:SLE-15:Update update project.

Record
openSUSE-SU-2019:2598-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:11411-1 No score

strongswan-5.9.0-1.9 on GA media

These are all security issues fixed in the strongswan-5.9.0-1.9 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11411-1
Updated
2026-11-02
OSVSUSE-SU-2019:3056-1 No score

Security update for strongswan

This update for strongswan fixes the following issues:

Security issues fixed:

  • CVE-2018-5388: Fixed a buffer underflow which may allow to a remote attacker with local user credentials to resource exhaustion and denial of service while reading from the socket (bsc#1094462).
  • CVE-2018-10811: Fixed a denial of service during the IKEv2 key derivation if the openssl plugin is used in FIPS mode and HMAC-MD5 is negotiated as PRF (bsc#1093536).
  • CVE-2018-16151,CVE-2018-16152: Fixed multiple flaws in the gmp plugin which might lead to authorization bypass (bsc#1107874).
  • CVE-2018-17540: Fixed an improper input validation in gmp plugin (bsc#1109845).
Record
SUSE-SU-2019:3056-1
Updated
2026-11-02
OSVSUSE-SU-2019:3266-1 No score

Security update for strongswan

This update for strongswan provides the following fixes:

Security issues fixed:

  • CVE-2018-5388: Fixed a buffer underflow which may allow to a remote attacker with local user credentials to resource exhaustion and denial of service while reading from the socket (bsc#1094462).
  • CVE-2018-10811: Fixed a denial of service during the IKEv2 key derivation if the openssl plugin is used in FIPS mode and HMAC-MD5 is negotiated as PRF (bsc#1093536).
  • CVE-2018-16151,CVE-2018-16152: Fixed multiple flaws in the gmp plugin which might lead to authorization bypass (bsc#1107874).
  • CVE-2018-17540: Fixed an improper input validation in gmp plugin (bsc#1109845).

Other issues addressed:

  • Fixed some client fails when the scep server URL is used with HTTPS protocol (bsc#1071853).
  • Reject Diffie-Hellman key exchanges using primes smaller than 1024 bit.
  • Handle unexpected informational message from SonicWall. (bsc#1009254)
Record
SUSE-SU-2019:3266-1
Updated
2026-11-02
OSVSUSE-SU-2022:14887-1 No score

Security update for strongswan

This update for strongswan fixes the following issues:

  • CVE-2018-16151: Fixed flaws in gmp plugin that could lead to authorization bypass. (bsc#1107874)
  • CVE-2018-16152: Fixed flaws in gmp plugin that could lead to authorization bypass. (bsc#1107874)
  • CVE-2018-17540: Fixed insufficient input validation in gmp plugin. (bsc#1109845)
  • CVE-2021-45079: Fixed authentication bypass in EAP authentication. (bsc#1194471)
Record
SUSE-SU-2022:14887-1
Updated
2026-11-02
OSVUSN-3774-1 No score

strongswan vulnerability

It was discovered that strongSwan incorrectly handled signature validation in the gmp plugin. A remote attacker could use this issue to cause strongSwan to crash, resulting in a denial of service, or possibly execute arbitrary code.

Record
USN-3774-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
strongswan
Alpine:v3.10
before 5.7.1-r0
5.7.1-r0
strongswan
Alpine:v3.11
before 5.7.1-r0
5.7.1-r0
strongswan
Alpine:v3.12
before 5.7.1-r0
5.7.1-r0
strongswan
Alpine:v3.13
before 5.7.1-r0
5.7.1-r0
strongswan
Alpine:v3.14
before 5.7.1-r0
5.7.1-r0
strongswan
Alpine:v3.15
before 5.7.1-r0
5.7.1-r0
strongswan
Alpine:v3.16
before 5.7.1-r0
5.7.1-r0
strongswan
Alpine:v3.17
before 5.7.1-r0
5.7.1-r0
strongswan
Alpine:v3.18
before 5.7.1-r0
5.7.1-r0
strongswan
Alpine:v3.19
before 5.7.1-r0
5.7.1-r0
Show 42 moreShow less
Affected packages
PackageAffectedFixed
strongswan
Alpine:v3.20
before 5.7.1-r0
5.7.1-r0
strongswan
Alpine:v3.21
before 5.7.1-r0
5.7.1-r0
strongswan
Alpine:v3.22
before 5.7.1-r0
5.7.1-r0
strongswan
Alpine:v3.23
before 5.7.1-r0
5.7.1-r0
strongswan
Alpine:v3.24
before 5.7.1-r0
5.7.1-r0
strongswan
Alpine:v3.5
before 5.5.3-r3
5.5.3-r3
strongswan
Alpine:v3.6
before 5.5.3-r3
5.5.3-r3
strongswan
Alpine:v3.7
before 5.6.3-r2
5.6.3-r2
strongswan
Alpine:v3.8
before 5.6.3-r3
5.6.3-r3
strongswan
Alpine:v3.9
before 5.7.1-r0
5.7.1-r0
strongswan
Debian:12
before 5.7.1-1
5.7.1-1
strongswan
Debian:13
before 5.7.1-1
5.7.1-1
strongswan
Debian:14
before 5.7.1-1
5.7.1-1
strongswan
Debian:8
before 5.2.1-6+deb8u8, plus listed versions
5.2.1-65.2.1-6+deb8u15.2.1-6+deb8u1~bpo70+15.2.1-6+deb8u25.2.1-6+deb8u2~bpo70+1
Show 5 moreShow less
5.2.1-6+deb8u35.2.1-6+deb8u45.2.1-6+deb8u55.2.1-6+deb8u65.2.1-6+deb8u7
5.2.1-6+deb8u8
strongswan
Debian:9
before 5.5.1-4+deb9u4, plus listed versions
5.5.1-45.5.1-4+deb9u15.5.1-4+deb9u25.5.1-4+deb9u3
5.5.1-4+deb9u4
strongswan
SUSE:Linux Enterprise Module for Basesystem 15
From an advisory covering 5 CVEs
before 5.6.0-4.3.2
5.6.0-4.3.2
strongswan
SUSE:Linux Enterprise Module for Basesystem 15 SP1
From an advisory covering 5 CVEs
before 5.6.0-4.3.2
5.6.0-4.3.2
strongswan
SUSE:Linux Enterprise Module for Package Hub 15
From an advisory covering 5 CVEs
before 5.6.0-4.3.2
5.6.0-4.3.2
strongswan
SUSE:OpenStack Cloud 7
From an advisory covering 5 CVEs
before 5.1.3-26.13.1
5.1.3-26.13.1
strongswan
SUSE:OpenStack Cloud 8
From an advisory covering 5 CVEs
before 5.1.3-26.13.1
5.1.3-26.13.1
strongswan
SUSE:Linux Enterprise Desktop 12 SP4
From an advisory covering 5 CVEs
before 5.1.3-26.13.1
5.1.3-26.13.1
strongswan
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
From an advisory covering 5 CVEs
before 5.1.3-26.13.1
5.1.3-26.13.1
strongswan
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
From an advisory covering 5 CVEs
before 5.1.3-26.13.1
5.1.3-26.13.1
strongswan
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
From an advisory covering 5 CVEs
before 5.1.3-26.13.1
5.1.3-26.13.1
strongswan
SUSE:Linux Enterprise Server 12 SP1-LTSS
From an advisory covering 5 CVEs
before 5.1.3-26.13.1
5.1.3-26.13.1
strongswan
SUSE:Linux Enterprise Server 12 SP2-LTSS
From an advisory covering 5 CVEs
before 5.1.3-26.13.1
5.1.3-26.13.1
strongswan
SUSE:Linux Enterprise Server 12 SP2-BCL
From an advisory covering 5 CVEs
before 5.1.3-26.13.1
5.1.3-26.13.1
strongswan
SUSE:Linux Enterprise Server 12 SP3-LTSS
From an advisory covering 5 CVEs
before 5.1.3-26.13.1
5.1.3-26.13.1
strongswan
SUSE:Linux Enterprise Server 12 SP3-BCL
From an advisory covering 5 CVEs
before 5.1.3-26.13.1
5.1.3-26.13.1
strongswan
SUSE:Linux Enterprise Server 12 SP4
From an advisory covering 5 CVEs
before 5.1.3-26.13.1
5.1.3-26.13.1
strongswan
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
From an advisory covering 5 CVEs
before 5.1.3-26.13.1
5.1.3-26.13.1
strongswan
SUSE:Linux Enterprise Server 12 SP5
From an advisory covering 5 CVEs
before 5.1.3-26.13.1
5.1.3-26.13.1
strongswan
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
From an advisory covering 5 CVEs
before 5.1.3-26.13.1
5.1.3-26.13.1
strongswan
SUSE:Enterprise Storage 5
From an advisory covering 5 CVEs
before 5.1.3-26.13.1
5.1.3-26.13.1
strongswan
SUSE:Linux Enterprise Point of Sale 11 SP3
From an advisory covering 4 CVEs
before 4.4.0-6.36.12.1
4.4.0-6.36.12.1
strongswan
SUSE:Linux Enterprise Server 11 SP4-LTSS
From an advisory covering 4 CVEs
before 4.4.0-6.36.12.1
4.4.0-6.36.12.1
strongswan
Ubuntu:14.04:LTS
before 5.1.2-0ubuntu2.11, plus listed versions
4.6.4-95.1.0-25.1.0-35.1.1-0ubuntu15.1.1-0ubuntu2
Show 21 moreShow less
5.1.1-0ubuntu35.1.1-0ubuntu45.1.1-0ubuntu55.1.1-0ubuntu75.1.1-0ubuntu145.1.1-0ubuntu175.1.2~dr3+git20130120-0ubuntu25.1.2~dr3+git20130120-0ubuntu35.1.2~rc1-0ubuntu35.1.2~rc1-0ubuntu45.1.2~rc2-0ubuntu25.1.2-0ubuntu15.1.2-0ubuntu25.1.2-0ubuntu2.25.1.2-0ubuntu2.35.1.2-0ubuntu2.45.1.2-0ubuntu2.55.1.2-0ubuntu2.65.1.2-0ubuntu2.75.1.2-0ubuntu2.85.1.2-0ubuntu2.10
5.1.2-0ubuntu2.11
strongswan
Ubuntu:16.04:LTS
before 5.3.5-1ubuntu3.8, plus listed versions
5.1.2-0ubuntu65.1.2-0ubuntu75.1.2-0ubuntu85.3.5-1ubuntu15.3.5-1ubuntu2
Show 7 moreShow less
5.3.5-1ubuntu35.3.5-1ubuntu3.15.3.5-1ubuntu3.25.3.5-1ubuntu3.35.3.5-1ubuntu3.45.3.5-1ubuntu3.55.3.5-1ubuntu3.7
5.3.5-1ubuntu3.8
strongswan
Ubuntu:18.04:LTS
before 5.6.2-1ubuntu2.3, plus listed versions
5.5.1-4ubuntu25.5.1-4ubuntu35.6.1-2ubuntu15.6.1-2ubuntu25.6.1-2ubuntu35.6.1-2ubuntu45.6.2-1ubuntu25.6.2-1ubuntu2.2
5.6.2-1ubuntu2.3
strongswan
openSUSE:Leap 15.0
From an advisory covering 5 CVEs
before 5.6.0-lp150.3.3.1
5.6.0-lp150.3.3.1
strongswan
openSUSE:Leap 15.1
From an advisory covering 5 CVEs
before 5.6.0-lp151.4.3.1
5.6.0-lp151.4.3.1
strongswan
openSUSE:Tumbleweed
From an advisory covering 7 CVEs
before 5.9.0-1.9
5.9.0-1.9

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-17540 is a high vulnerability (CVSS 7.5) in Strongswan, published October 1, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.51%, the 89th percentile. Fixed in strongswan 5.7.1-r0.

References

Show 33 moreShow less
MoveEnter Open