strongSwan up to 5.6.2 stroke_socket.c Packet memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.

A vulnerability was found in strongSwan up to 5.6.2 (Network Encryption Software) and classified as problematic. This issue affects some unknown processing of the file stroke_socket.c. The manipulation as part of a Packet leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. Impacted is availability.

The bug was discovered 05/23/2018. The weakness was released 05/31/2018 by Kevin Backhouse as confirmed advisory ( The advisory is shared at The identification of this vulnerability is CVE-2018-5388 since 01/12/2018. The exploitation is known to be easy. The attack may be initiated remotely. Required for exploitation is a simple authentication. Technical details are known, but no exploit is available.

The vulnerability was handled as a non-public zero-day exploit for at least 8 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 110274 (FreeBSD : strongswan -- Fix Denial-of-Service Vulnerability strongSwan (CVE-2018-10811, CVE-2018-5388) (7fc3e827-64a5-11e8-aedb-00224d821998)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks and running in the context local. The commercial vulnerability scanner Qualys is able to test this issue with plugin 176412 (Debian Security Update for strongswan (DSA 4229-1)).

Upgrading to version 5.6.3 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at The best possible mitigation is suggested to be patching the affected component. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at SecurityFocus (BID 104263) and Tenable (110274). Entries connected to this vulnerability are available at 119689, 124484 and 124485.




CPE 2.3infoedit

CPE 2.2infoedit


VulDB Meta Base Score: 5.4
VulDB Meta Temp Score: 5.1

VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 6.5
NVD Vector: 🔍



VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍


Class: Memory corruption
CWE: CWE-119
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

Price Prediction: 🔍
Current Price Estimation: 🔍


Nessus ID: 110274
Nessus Name: FreeBSD : strongswan -- Fix Denial-of-Service Vulnerability strongSwan (CVE-2018-10811, CVE-2018-5388) (7fc3e827-64a5-11e8-aedb-00224d821998)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 861410
OpenVAS Name: Fedora Update for strongswan FEDORA-2018-3731a89e20
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfoedit

Threat: 🔍
Adversaries: 🔍
Geopolitics: 🔍
Economy: 🔍
Predictions: 🔍
Remediation: 🔍


Recommended: Patch
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: strongSwan 5.6.3


01/12/2018 🔍
05/23/2018 +131 days 🔍
05/23/2018 +0 days 🔍
05/31/2018 +7 days 🔍
05/31/2018 +0 days 🔍
05/31/2018 +0 days 🔍
06/01/2018 +1 days 🔍
06/01/2018 +0 days 🔍
02/10/2020 +619 days 🔍


Researcher: Kevin Backhouse
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2018-5388 (🔍)

SecurityFocus: 104263 - strongSwan CVE-2018-5388 Buffer Underflow Vulnerability

See also: 🔍


Created: 06/01/2018 10:40 AM
Updated: 02/10/2020 05:13 PM
Changes: (5) vulnerability_discoverydate advisory_person_name countermeasure_date source_securityfocus_date source_securityfocus_class
Complete: 🔍


No comments yet. Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!