{"api_version":"1","generated_at":"2026-04-23T02:35:33+00:00","cve":"CVE-2018-5388","urls":{"html":"https://cve.report/CVE-2018-5388","api":"https://cve.report/api/cve/CVE-2018-5388.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-5388","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-5388"},"summary":{"title":"CVE-2018-5388","description":"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.","state":"PUBLIC","assigner":"cert@cert.org","published_at":"2018-05-31 13:29:00","updated_at":"2023-11-07 02:58:00"},"problem_types":["CWE-787"],"metrics":[],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00001.html","name":"openSUSE-SU-2019:2598","refsource":"SUSE","tags":[],"title":"[security-announce] openSUSE-SU-2019:2598-1: important: Security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://git.strongswan.org/?p=strongswan.git%3Ba=commitdiff%3Bh=0acd1ab4","name":"https://git.strongswan.org/?p=strongswan.git%3Ba=commitdiff%3Bh=0acd1ab4","refsource":"","tags":[],"title":"git.strongswan.org Git - strongswan.git/commitdiff","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"https://git.strongswan.org/?p=strongswan.git;a=commitdiff;h=0acd1ab4","name":"https://git.strongswan.org/?p=strongswan.git;a=commitdiff;h=0acd1ab4","refsource":"CONFIRM","tags":["Vendor Advisory"],"title":"git.strongswan.org Git - strongswan.git/commitdiff","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"https://www.debian.org/security/2018/dsa-4229","name":"DSA-4229","refsource":"DEBIAN","tags":["Third Party Advisory"],"title":"Debian -- Security Information -- DSA-4229-1 strongswan","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00077.html","name":"openSUSE-SU-2019:2594","refsource":"SUSE","tags":[],"title":"[security-announce] openSUSE-SU-2019:2594-1: important: Security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/201811-16","name":"GLSA-201811-16","refsource":"GENTOO","tags":["Third Party Advisory"],"title":"strongSwan: Multiple vulnerabilities (GLSA 201811-16) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://packetstormsecurity.com/files/172833/strongSwan-VPN-Charon-Server-Buffer-Overflow.html","name":"http://packetstormsecurity.com/files/172833/strongSwan-VPN-Charon-Server-Buffer-Overflow.html","refsource":"MISC","tags":[],"title":"strongSwan VPN Charon Server Buffer Overflow ≈ Packet Storm","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://usn.ubuntu.com/3771-1/","name":"USN-3771-1","refsource":"UBUNTU","tags":["Third Party Advisory"],"title":"USN-3771-1: strongSwan vulnerabilities | Ubuntu security notices | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/104263","name":"104263","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"strongSwan CVE-2018-5388 Buffer Underflow Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00047.html","name":"openSUSE-SU-2020:0403","refsource":"SUSE","tags":[],"title":"[security-announce] openSUSE-SU-2020:0403-1: moderate: Security update f","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.kb.cert.org/vuls/id/338343","name":"VU#338343","refsource":"CERT-VN","tags":["Third Party Advisory","US Government Resource"],"title":"CERT Vulnerability Notes Database","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-5388","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-5388","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Thanks to Kevin Backhouse for reporting this vulnerability.","lang":""}],"nvd_cpes":[{"cve_year":"2018","cve_id":"5388","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"14.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"5388","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"16.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"5388","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"18.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"5388","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"14.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"5388","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"16.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"5388","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"canonical","cpe5":"ubuntu_linux","cpe6":"18.04","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"lts","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"5388","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"5388","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"5388","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"5388","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"5388","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"strongswan","cpe5":"strongswan","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"5388","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"strongswan","cpe5":"strongswan","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2018-5388","qid":"500666","title":"Alpine Linux Security Update for strongswan"},{"cve":"CVE-2018-5388","qid":"504436","title":"Alpine Linux Security Update for strongswan"},{"cve":"CVE-2018-5388","qid":"690655","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for strongswan (7fc3e827-64a5-11e8-aedb-00224d821998)"},{"cve":"CVE-2018-5388","qid":"710305","title":"Gentoo Linux strongSwan Multiple Vulnerabilities (GLSA 201811-16)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cert@cert.org","ID":"CVE-2018-5388","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"strongSwan","version":{"version_data":[{"affected":"<","version_name":"5.6.3","version_value":"5.6.3"}]}}]},"vendor_name":"strongSwan"}]}},"credit":[{"lang":"eng","value":"Thanks to Kevin Backhouse for reporting this vulnerability."}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-124"}]}]},"references":{"reference_data":[{"name":"VU#338343","refsource":"CERT-VN","url":"http://www.kb.cert.org/vuls/id/338343"},{"name":"GLSA-201811-16","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201811-16"},{"name":"https://git.strongswan.org/?p=strongswan.git;a=commitdiff;h=0acd1ab4","refsource":"CONFIRM","url":"https://git.strongswan.org/?p=strongswan.git;a=commitdiff;h=0acd1ab4"},{"name":"104263","refsource":"BID","url":"http://www.securityfocus.com/bid/104263"},{"name":"USN-3771-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3771-1/"},{"name":"DSA-4229","refsource":"DEBIAN","url":"https://www.debian.org/security/2018/dsa-4229"},{"refsource":"SUSE","name":"openSUSE-SU-2019:2594","url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00077.html"},{"refsource":"SUSE","name":"openSUSE-SU-2019:2598","url":"http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00001.html"},{"refsource":"SUSE","name":"openSUSE-SU-2020:0403","url":"http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00047.html"},{"refsource":"MISC","name":"http://packetstormsecurity.com/files/172833/strongSwan-VPN-Charon-Server-Buffer-Overflow.html","url":"http://packetstormsecurity.com/files/172833/strongSwan-VPN-Charon-Server-Buffer-Overflow.html"}]},"source":{"discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2018-05-31 13:29:00","lastModifiedDate":"2023-11-07 02:58:00","problem_types":["CWE-787"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:N/I:N/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":4},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:strongswan:strongswan:*:*:*:*:*:*:*:*","versionEndExcluding":"5.6.3","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2018","CveId":"5388","Ordinal":"121358","Title":"CVE-2018-5388","CVE":"CVE-2018-5388","Year":"2018"},"notes":[{"CveYear":"2018","CveId":"5388","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2018","CveId":"5388","Ordinal":"2","NoteData":"2018-05-31","Type":"Other","Title":"Published"},{"CveYear":"2018","CveId":"5388","Ordinal":"3","NoteData":"2020-03-29","Type":"Other","Title":"Modified"}]}}}