{"schemaVersion":3,"id":"CVE-2018-5335","aliases":["ALPINE-CVE-2018-5335","UBUNTU-CVE-2018-5335","DEBIAN-CVE-2018-5335"],"status":"published","duplicateOf":null,"title":null,"description":"In Wireshark 2.4.0 to 2.4.3 and 2.2.0 to 2.2.11, the WCP dissector could crash. This was addressed in epan/dissectors/packet-wcp.c by validating the available buffer length.","dates":{"published":"2018-01-11T21:00:00.000Z","modified":"2024-08-05T05:33:44.248Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4.3,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Alpine","score":6.5,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Debian","score":6.5,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true}]},"epss":{"probability":0.01889,"percentile":0.79239,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.007000000000000062,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01896},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02037,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01889,"percentile":0.79239}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02037,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01896,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01889,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01889,"percentile":0.79239}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer","description":"The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/119.html"}],"affected":[{"vendor":"alpine","product":"wireshark","name":"wireshark","label":"wireshark","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/wireshark","purlType":"apk","versions":[{"text":"≥ 2.2.0, < 2.2.12-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.2.0, < 2.2.12-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"wireshark","name":"wireshark","label":"wireshark","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/wireshark","purlType":"deb","versions":[{"text":"< 2.4.4-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.4.4-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"wireshark","name":"wireshark","label":"wireshark","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/wireshark","purlType":"deb","versions":[{"text":"< 2.6.3-1~ubuntu14.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.6.3-1~ubuntu16.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.6.3-1~ubuntu18.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.6.3-1~ubuntu14.04.1 | < 2.6.3-1~ubuntu16.04.1 | < 2.6.3-1~ubuntu18.04.1","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7.0","noFixRecorded":false,"fixedIn":null},{"text":"8.0","noFixRecorded":false,"fixedIn":null},{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"7.0 | 8.0 | 9.0","eol":{"isEol":true,"eolDate":"2018-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"7","label":"7 (Wheezy)","eolFrom":"2018-05-31T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"7.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"wireshark","product":"wireshark","name":"wireshark","label":"wireshark","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.2.0, ≤ 2.2.11","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.4.0, ≤ 2.4.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.2.0, ≤ 2.2.11 | ≥ 2.4.0, ≤ 2.4.3","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"wireshark","label":"Wireshark","category":"app"}},"hubHref":"/vendor/wireshark/wireshark"}],"affectedCount":5,"eol":{"hasEol":true,"count":1},"references":[{"url":"http://www.securityfocus.com/bid/102500","label":"www.securityfocus.com/bid/102500","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/01/msg00032.html","label":"lists.debian.org/debian-lts-announce/2018/01/msg00032.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://code.wireshark.org/review/gitweb?p=wireshark.git%3Ba=commit%3Bh=086b87376b988c555484349aa115d6e08ac6db07","label":"code.wireshark.org/review/…","hostname":"code.wireshark.org","tags":["X Refsource CONFIRM"]},{"url":"https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=14251","label":"bugs.wireshark.org/bugzilla/show_bug.cgi?id=14251","hostname":"bugs.wireshark.org","tags":["X Refsource CONFIRM","Issue Tracking","Vendor Advisory","REPORT"]},{"url":"https://www.debian.org/security/2018/dsa-4101","label":"www.debian.org/security/2018/dsa-4101","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"https://www.wireshark.org/security/wnpa-sec-2018-04.html","label":"www.wireshark.org/security/wnpa-sec-2018-04.html","hostname":"www.wireshark.org","tags":["X Refsource CONFIRM","Vendor Advisory","REPORT"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2018-5335","label":"security.alpinelinux.org/vuln/CVE-2018-5335","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-5335","label":"ubuntu.com/security/CVE-2018-5335","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=086b87376b988c555484349aa115d6e08ac6db07","label":"code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=086b87376b988c555484349aa115d6e08ac6db07","hostname":"code.wireshark.org","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-5335","label":"www.cve.org/CVERecord?id=CVE-2018-5335","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-5335","label":"security-tracker.debian.org/tracker/CVE-2018-5335","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-1258-1","DSA-4101-1","MGASA-2018-0071","OPENSUSE-SU-2024:11513-1","SUSE-SU-2018:0179-1","SUSE-SU-2018:0191-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:11513-1","SUSE-SU-2018:0179-1","SUSE-SU-2018:0191-1"]},"timeline":[{"kind":"published","date":"2018-01-11T21:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T05:33:44.248Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T16:13:47.056Z","stale":false,"partial":false}}