Skip to content
Fencer Intel
high 7.5

CVE-2018-17540 json

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

published 2018-10-03 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-9293

cvss
7.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.5%
EPSS 3.5% chance of exploitation in 30 days, percentile 89%
public exploits
0
none known

Summary

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

Patch / fix

  • strongswan strongswan 5.7.1
  • strongswan Debian 14, Debian 13, Debian 12 5.7.1-1

debian advisories DEBIAN-CVE-2018-17540

  • strongswan Ubuntu 14.04 LTS 5.1.2-0ubuntu2.11
  • strongswan Ubuntu 16.04 LTS 5.3.5-1ubuntu3.8
  • strongswan Ubuntu 18.04 LTS 5.6.2-1ubuntu2.3

ubuntu advisories UBUNTU-CVE-2018-17540

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • strongswan SLES 11 SP4-LTSS, SLE Point of Sale 11 SP3 4.4.0-6.36.12.1
  • strongswan SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +13 more 5.1.3-26.13.1
  • strongswan SLE Module for Package Hub 15, SLE Module for Basesystem 15 SP1, SLE Module for Basesystem 15 5.6.0-4.3.2

suse advisories SUSE-SU-2022:14887-1SUSE-SU-2019:3266-1SUSE-SU-2019:3056-1

  • strongswan openSUSE Tumbleweed 5.9.0-1.9
  • strongswan openSUSE Leap 15.1 5.6.0-lp151.4.3.1
  • strongswan openSUSE Leap 15.0 5.6.0-lp150.3.3.1

opensuse advisories openSUSE-SU-2024:11411-1openSUSE-SU-2019:2598-1openSUSE-SU-2019:2594-1

  • strongswan Alpine 3.24, Alpine 3.23, Alpine 3.22 +13 more 5.7.1-r0
  • strongswan Alpine 3.6, Alpine 3.5 5.5.3-r3
  • strongswan Alpine 3.7 5.6.3-r2
  • strongswan Alpine 3.8 5.6.3-r3

alpine advisories ALPINE-CVE-2018-17540

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-17540 updated cvss 3.1

strongswan: heap buffer overflow using crafted certificates

  • Red Hat Enterprise Linux 7 strongimcv
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.51% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.