Every CVE Search/ Get API key

CVE-2017-17935

The File_read_line function in epan/wslua/wslua_file.c in Wireshark through 2.2.11 does not...

7.5 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

2.96%Up 1.0 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

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.

Record
CVE-2017-17935
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-125
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2017-17935
Updated
2026-11-02
EUVDEUVD-2017-9078 No score

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.

Record
EUVD-2017-9078
Updated
2026-11-03
GitHub AdvisoriesGHSA-jq68-gwvh-r58q 7.5

The File_read_line function in epan/wslua/wslua_file.c in Wireshark through 2.2.11 does not...

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.

Record
GHSA-jq68-gwvh-r58q
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-125
Updated
2026-11-02
OSV 7.5

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.

Record
CVE-2017-17935
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2017-17935 7.5

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.

Record
DEBIAN-CVE-2017-17935
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2017-17935 7.5

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.

Record
UBUNTU-CVE-2017-17935
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVSUSE-SU-2018:0179-1 No score

Security update for wireshark

This update for wireshark to version 2.2.12 fixes the following issues:

  • CVE-2018-5334: IxVeriWave file could crash (bsc#1075737)
  • CVE-2018-5335: WCP dissector could crash (bsc#1075738)
  • CVE-2018-5336: Multiple dissector crashes (bsc#1075739)
  • CVE-2017-17935: Incorrect handling of '\n' in file_read_line function could have lead to denial of service (bsc#1074171)

This release no longer enables the Linux kernel BPF JIT compiler via the net.core.bpf_jit_enable sysctl, as this would make systems more vulnerable to Spectre variant 1 CVE-2017-5753 - (bsc#1075748)

Further bug fixes and updated protocol support as listed in: https://www.wireshark.org/docs/relnotes/wireshark-2.2.12.html

Record
SUSE-SU-2018:0179-1
Updated
2026-11-02
OSVSUSE-SU-2018:0191-1 No score

Security update for wireshark

This update for wireshark to version 2.2.12 fixes the following issues:

  • CVE-2018-5334: IxVeriWave file could crash (bsc#1075737)
  • CVE-2018-5335: WCP dissector could crash (bsc#1075738)
  • CVE-2018-5336: Multiple dissector crashes (bsc#1075739)
  • CVE-2017-17935: Incorrect handling of '\n' in file_read_line function could have lead to denial of service (bsc#1074171)

This release no longer enables the Linux kernel BPF JIT compiler via the net.core.bpf_jit_enable sysctl, as this would make systems more vulnerable to Spectre variant 1 CVE-2017-5753 - (bsc#1075748)

Further bug fixes and updated protocol support as listed in: https://www.wireshark.org/docs/relnotes/wireshark-2.2.12.html

Record
SUSE-SU-2018:0191-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
wireshark
Debian:12
before 2.4.4-1
2.4.4-1
wireshark
Debian:13
before 2.4.4-1
2.4.4-1
wireshark
Debian:14
before 2.4.4-1
2.4.4-1
wireshark
Debian:8
From an advisory covering 41 CVEs
before 1.12.1+g01b65bf-4+deb8u16, plus listed versions
1.12.1+g01b65bf-41.12.1+g01b65bf-4+deb8u11.12.1+g01b65bf-4+deb8u101.12.1+g01b65bf-4+deb8u111.12.1+g01b65bf-4+deb8u12
Show 22 moreShow less
1.12.1+g01b65bf-4+deb8u131.12.1+g01b65bf-4+deb8u141.12.1+g01b65bf-4+deb8u151.12.1+g01b65bf-4+deb8u21.12.1+g01b65bf-4+deb8u31.12.1+g01b65bf-4+deb8u41.12.1+g01b65bf-4+deb8u51.12.1+g01b65bf-4+deb8u61.12.1+g01b65bf-4+deb8u6~deb7u11.12.1+g01b65bf-4+deb8u6~deb7u101.12.1+g01b65bf-4+deb8u6~deb7u111.12.1+g01b65bf-4+deb8u6~deb7u21.12.1+g01b65bf-4+deb8u6~deb7u31.12.1+g01b65bf-4+deb8u6~deb7u41.12.1+g01b65bf-4+deb8u6~deb7u51.12.1+g01b65bf-4+deb8u6~deb7u61.12.1+g01b65bf-4+deb8u6~deb7u71.12.1+g01b65bf-4+deb8u6~deb7u81.12.1+g01b65bf-4+deb8u6~deb7u91.12.1+g01b65bf-4+deb8u71.12.1+g01b65bf-4+deb8u81.12.1+g01b65bf-4+deb8u9
1.12.1+g01b65bf-4+deb8u16
wireshark
SUSE:Linux Enterprise Software Development Kit 11 SP4
From an advisory covering 4 CVEs
before 2.2.12-40.17.1
2.2.12-40.17.1
wireshark
SUSE:Linux Enterprise Server 11 SP4
From an advisory covering 4 CVEs
before 2.2.12-40.17.1
2.2.12-40.17.1
wireshark
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
From an advisory covering 4 CVEs
before 2.2.12-40.17.1
2.2.12-40.17.1
wireshark
SUSE:Linux Enterprise Desktop 12 SP2
From an advisory covering 4 CVEs
before 2.2.12-48.18.1
2.2.12-48.18.1
wireshark
SUSE:Linux Enterprise Desktop 12 SP3
From an advisory covering 4 CVEs
before 2.2.12-48.18.1
2.2.12-48.18.1
wireshark
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
From an advisory covering 4 CVEs
before 2.2.12-48.18.1
2.2.12-48.18.1
Show 9 moreShow less
Affected packages
PackageAffectedFixed
wireshark
SUSE:Linux Enterprise Software Development Kit 12 SP2
From an advisory covering 4 CVEs
before 2.2.12-48.18.1
2.2.12-48.18.1
wireshark
SUSE:Linux Enterprise Software Development Kit 12 SP3
From an advisory covering 4 CVEs
before 2.2.12-48.18.1
2.2.12-48.18.1
wireshark
SUSE:Linux Enterprise Server 12 SP2
From an advisory covering 4 CVEs
before 2.2.12-48.18.1
2.2.12-48.18.1
wireshark
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
From an advisory covering 4 CVEs
before 2.2.12-48.18.1
2.2.12-48.18.1
wireshark
SUSE:Linux Enterprise Server 12 SP3
From an advisory covering 4 CVEs
before 2.2.12-48.18.1
2.2.12-48.18.1
wireshark
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
From an advisory covering 4 CVEs
before 2.2.12-48.18.1
2.2.12-48.18.1
wireshark
Ubuntu:14.04:LTS
before 2.6.3-1~ubuntu14.04.1, plus listed versions
1.10.2-11.10.3-11.10.5-1ubuntu11.10.5-21.10.6-11.12.1+g01b65bf-4+deb8u11ubuntu0.14.04.1
2.6.3-1~ubuntu14.04.1
wireshark
Ubuntu:16.04:LTS
before 2.6.3-1~ubuntu16.04.1, plus listed versions
1.12.7+g7fc8978-11.12.8+g5b6e543-22.0.1+g59ea380-3build12.0.2+ga16e22e-12.2.6+g32dac6a-2ubuntu0.16.04
2.6.3-1~ubuntu16.04.1
wireshark
Ubuntu:18.04:LTS
before 2.6.3-1~ubuntu18.04.1, plus listed versions
2.4.2-12.4.3-12.4.4-12.4.5-1
2.6.3-1~ubuntu18.04.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-17935 is a high vulnerability (CVSS 7.5) in Wireshark, published December 27, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.96%, the 87th percentile. Fixed in wireshark 2.4.4-1.

References

Show 16 moreShow less
MoveEnter Open