CVE-2018-5388: Medium severity strongSwan Strongswan vulnerability

Published May 31, 2018
·
Updated

In strokesocket.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.

Affected Software

7 affected componentsFixes available
strongSwan Strongswan<5.6.3
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
debian/strongswan
5.9.1-1+deb11u45.9.1-1+deb11u55.9.8-5+deb12u26.0.1-6+deb13u26.0.4-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/strongswan to a version that resolves this vulnerability.

    Fixed in 5.9.1-1+deb11u4Fixed in 5.9.1-1+deb11u5Fixed in 5.9.8-5+deb12u2Fixed in 6.0.1-6+deb13u2Fixed in 6.0.4-1
  2. Upgrade

    Upgrade strongSwan to a version that resolves this vulnerability.

    Fixed in 5.6.3

Event History

May 31, 2018
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·01:29 PM
DescriptionSeverityWeaknessAffected Software
Dec 10, 2025
Data Sourced
via Ubuntu·08:38 PM
RemedyDescriptionSeverityAffected Software
Feb 20, 2026
Data Sourced
via Debian·03:57 PM
DescriptionAffected Software
Data Sourced
via Launchpad·03:58 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID of this issue?

The vulnerability ID is CVE-2018-5388.

2

What is the severity of CVE-2018-5388?

The severity of CVE-2018-5388 is medium (6.5).

3

How does CVE-2018-5388 affect strongSwan?

CVE-2018-5388 in strongSwan before 5.6.3 could lead to resource exhaustion and denial of service.

4

Which software versions are affected by CVE-2018-5388?

strongSwan versions 5.6.2-1ubuntu2.2, 5.1.2-0ubuntu2.10, 5.6.3, 5.3.5-1ubuntu3.7, 5.7.2-1+deb10u2, 5.7.2-1+deb10u3, 5.9.1-1+deb11u3, 5.9.8-5, 5.9.11-1 are affected.

5

How can I fix CVE-2018-5388?

To fix CVE-2018-5388, you should update strongSwan to version 5.6.3 or apply the provided remedies for your specific version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203