# CVE-2018-5388

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-05-31 · Modified: 2024-08-05
- Aliases: ALPINE-CVE-2018-5388, UBUNTU-CVE-2018-5388, DEBIAN-CVE-2018-5388
- Record: https://cvemate.com/vulnerability/CVE-2018-5388 · JSON: https://cvemate.com/vulnerability/CVE-2018-5388/json

## Description

```text
In 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 of service while reading from the socket.
```

## Signals

- CVSS: 6.5 medium (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 3.917%, percentile 90.629%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine strongswan (Alpine Linux): \< 5.6.3-r0
- canonical ubuntu\_linux: 14.04 \| 16.04 \| 18.04
- debian strongswan (Debian): \< 5.6.3-1
- ubuntu strongswan (Ubuntu): \< 5.1.2-0ubuntu2.10 \| \< 5.3.5-1ubuntu3.7 \| \< 5.6.2-1ubuntu2.2
- debian debian\_linux: 8.0 \| 9.0
- strongswan strongswan: ≥ 5.6.3, \< 5.6.3 \| \< 5.6.3

## References

- <http://www.kb.cert.org/vuls/id/338343>
- <https://security.gentoo.org/glsa/201811-16>
- <https://git.strongswan.org/?p=strongswan.git%3Ba=commitdiff%3Bh=0acd1ab4>
- <http://www.securityfocus.com/bid/104263>
- <https://usn.ubuntu.com/3771-1/>
- <https://www.debian.org/security/2018/dsa-4229>
- <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>
- <http://packetstormsecurity.com/files/172833/strongSwan-VPN-Charon-Server-Buffer-Overflow.html>
- <https://security.alpinelinux.org/vuln/CVE-2018-5388>
- <https://ubuntu.com/security/CVE-2018-5388>
- <https://www.kb.cert.org/vuls/id/338343>
- <https://www.strongswan.org/blog/2018/05/28/strongswan-vulnerability-(cve-2018-5388).html>
- <https://ubuntu.com/security/notices/USN-3771-1>
- <https://www.cve.org/CVERecord?id=CVE-2018-5388>
- <https://security-tracker.debian.org/tracker/CVE-2018-5388>

---

Data as of 2026-12-05T05:21:11.846Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
