{"id":"UBUNTU-CVE-2017-17935","details":"The File_read_line function in epan/wslua/wslua_file.c in Wireshark through 2.2.11 does not properly strip '\\n' characters, which allows remote attackers to cause a denial of service (buffer underflow and application crash) via a crafted packet that triggers the attempted processing of an empty line.","modified":"2026-04-22T11:21:15.701239Z","published":"2017-12-27T17:08:00Z","upstream":["CVE-2017-17935"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-17935"},{"type":"REPORT","url":"https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=14295"},{"type":"REPORT","url":"https://code.wireshark.org/review/#/c/24997/"},{"type":"REPORT","url":"https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=137ab7d5681486c6d6cc8faac4300b7cd4ec0cf1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-17935"}],"affected":[{"package":{"name":"wireshark","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/wireshark@2.6.3-1~ubuntu14.04.1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.3-1~ubuntu14.04.1"}]}],"versions":["1.10.2-1","1.10.3-1","1.10.5-1ubuntu1","1.10.5-2","1.10.6-1","1.12.1+g01b65bf-4+deb8u11ubuntu0.14.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.6.3-1~ubuntu14.04.1","binary_name":"libwireshark-data"},{"binary_version":"2.6.3-1~ubuntu14.04.1","binary_name":"libwireshark11"},{"binary_version":"2.6.3-1~ubuntu14.04.1","binary_name":"libwiretap8"},{"binary_version":"2.6.3-1~ubuntu14.04.1","binary_name":"libwscodecs2"},{"binary_version":"2.6.3-1~ubuntu14.04.1","binary_name":"libwsutil9"},{"binary_version":"2.6.3-1~ubuntu14.04.1","binary_name":"tshark"},{"binary_version":"2.6.3-1~ubuntu14.04.1","binary_name":"wireshark"},{"binary_version":"2.6.3-1~ubuntu14.04.1","binary_name":"wireshark-common"},{"binary_version":"2.6.3-1~ubuntu14.04.1","binary_name":"wireshark-gtk"},{"binary_version":"2.6.3-1~ubuntu14.04.1","binary_name":"wireshark-qt"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-17935.json"}},{"package":{"name":"wireshark","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/wireshark@2.6.3-1~ubuntu16.04.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.3-1~ubuntu16.04.1"}]}],"versions":["1.12.7+g7fc8978-1","1.12.8+g5b6e543-2","2.0.1+g59ea380-3build1","2.0.2+ga16e22e-1","2.2.6+g32dac6a-2ubuntu0.16.04"],"ecosystem_specific":{"binaries":[{"binary_version":"2.6.3-1~ubuntu16.04.1","binary_name":"libwireshark-data"},{"binary_version":"2.6.3-1~ubuntu16.04.1","binary_name":"libwireshark11"},{"binary_version":"2.6.3-1~ubuntu16.04.1","binary_name":"libwiretap8"},{"binary_version":"2.6.3-1~ubuntu16.04.1","binary_name":"libwscodecs2"},{"binary_version":"2.6.3-1~ubuntu16.04.1","binary_name":"libwsutil9"},{"binary_version":"2.6.3-1~ubuntu16.04.1","binary_name":"tshark"},{"binary_version":"2.6.3-1~ubuntu16.04.1","binary_name":"wireshark"},{"binary_version":"2.6.3-1~ubuntu16.04.1","binary_name":"wireshark-common"},{"binary_version":"2.6.3-1~ubuntu16.04.1","binary_name":"wireshark-gtk"},{"binary_version":"2.6.3-1~ubuntu16.04.1","binary_name":"wireshark-qt"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-17935.json"}},{"package":{"name":"wireshark","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/wireshark@2.6.3-1~ubuntu18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.3-1~ubuntu18.04.1"}]}],"versions":["2.4.2-1","2.4.3-1","2.4.4-1","2.4.5-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.6.3-1~ubuntu18.04.1","binary_name":"libwireshark-data"},{"binary_version":"2.6.3-1~ubuntu18.04.1","binary_name":"libwireshark11"},{"binary_version":"2.6.3-1~ubuntu18.04.1","binary_name":"libwiretap8"},{"binary_version":"2.6.3-1~ubuntu18.04.1","binary_name":"libwscodecs2"},{"binary_version":"2.6.3-1~ubuntu18.04.1","binary_name":"libwsutil9"},{"binary_version":"2.6.3-1~ubuntu18.04.1","binary_name":"tshark"},{"binary_version":"2.6.3-1~ubuntu18.04.1","binary_name":"wireshark"},{"binary_version":"2.6.3-1~ubuntu18.04.1","binary_name":"wireshark-common"},{"binary_version":"2.6.3-1~ubuntu18.04.1","binary_name":"wireshark-gtk"},{"binary_version":"2.6.3-1~ubuntu18.04.1","binary_name":"wireshark-qt"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-17935.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}