CVE-2018-7331
In Wireshark 2.4.0 to 2.4.4 and 2.2.0 to 2.2.12, epan/dissectors/packet-ber.c had an infinite...
In Wireshark 2.4.0 to 2.4.4 and 2.2.0 to 2.2.12, epan/dissectors/packet-ber.c had an infinite loop that was addressed by validating a length.
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
What each source reports
NVD Score used
7.5
In Wireshark 2.4.0 to 2.4.4 and 2.2.0 to 2.2.12, epan/dissectors/packet-ber.c had an infinite loop that was addressed by validating a length.
- Record
CVE-2018-7331- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-835
- Updated
- 2026-11-02
CVE List No score
In Wireshark 2.4.0 to 2.4.4 and 2.2.0 to 2.2.12, epan/dissectors/packet-ber.c had an infinite loop that was addressed by validating a length.
- Record
CVE-2018-7331- Updated
- 2026-11-02
EUVDEUVD-2018-19063 No score
In Wireshark 2.4.0 to 2.4.4 and 2.2.0 to 2.2.12, epan/dissectors/packet-ber.c had an infinite loop that was addressed by validating a length.
- Record
EUVD-2018-19063- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-qg28-39x2-3cgw
7.5
In Wireshark 2.4.0 to 2.4.4 and 2.2.0 to 2.2.12, epan/dissectors/packet-ber.c had an infinite...
In Wireshark 2.4.0 to 2.4.4 and 2.2.0 to 2.2.12, epan/dissectors/packet-ber.c had an infinite loop that was addressed by validating a length.
- Record
GHSA-qg28-39x2-3cgw- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-835
- Updated
- 2026-11-02
OSV
7.5
In Wireshark 2.4.0 to 2.4.4 and 2.2.0 to 2.2.12, epan/dissectors/packet-ber.c had an infinite loop that was addressed by validating a length.
- Record
CVE-2018-7331- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-7331
7.5
In Wireshark 2.4.0 to 2.4.4 and 2.2.0 to 2.2.12, epan/dissectors/packet-ber.c had an infinite loop that was addressed by validating a length.
- Record
DEBIAN-CVE-2018-7331- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2018-7331
7.5
In Wireshark 2.4.0 to 2.4.4 and 2.2.0 to 2.2.12, epan/dissectors/packet-ber.c had an infinite loop that was addressed by validating a length.
- Record
UBUNTU-CVE-2018-7331- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2018-0151 No score
Updated wireshark packages fix security vulnerabilities
The SIGCOMP dissector could crash (CVE-2018-7320).
Multiple dissectors could go into large infinite loops. All ASN.1 BER dissectors, along with the DICOM, DMP, LLTD, OpenFlow, RELOAD, RPCoRDMA, RPKI-Router, S7COMM, SCCP, Thread, Thrift, USB, and WCCP dissectors were susceptible (CVE-2018-7321,CVE-2018-7322, CVE-2018-7323, CVE-2018-7324, CVE-2018-7325, CVE-2018-7326, CVE-2018-7327, CVE-2018-7328, CVE-2018-7329, CVE-2018-7330, CVE-2018-7331, CVE-2018-7332, CVE-2018-7333).
The UMTS MAC dissector could crash (CVE-2018-7334).
The IEEE 802.11 dissector could crash (CVE-2018-7335)
The FCP dissector could crash (CVE-2018-7336).
The IPMI dissector could crash (CVE-2018-7417).
The SIGCOMP dissector could crash (CVE-2018-7418).
The NBAP disssector could crash (CVE-2018-7419).
The pcapng file parser could crash (CVE-2018-7420).
The LWAPP dissector could crash (CVE-2018-9256).
The MP4 dissector could crash (CVE-2018-9259).
The IEEE 802.15.4 dissector could crash (CVE-2018-9260).
The NBAP dissector could crash (CVE-2018-9261).
The VLAN dissector could crash (CVE-2018-9262).
The Kerberos dissector could crash (CVE-2018-9263).
The ADB dissector could crash (CVE-2018-9264).
Memory leaks in multiple dissectors (CVE-2018-9265, CVE-2018-9266, CVE-2018-9267, CVE-2018-9268, CVE-2018-9269, CVE-2018-9270, CVE-2018-9271, CVE-2018-9272, CVE-2018-9273, CVE-2018-9274).
- Record
MGASA-2018-0151- Updated
- 2026-11-02
OSVSUSE-SU-2018:0811-1 No score
Security update for wireshark
This update for wireshark fixes the following issues:
Security issue fixed (bsc#1082692):
- CVE-2018-7335: The IEEE 802.11 dissector could crash (wnpa-sec-2018-05)
- CVE-2018-7321: thrift long dissector loop (dissect_thrift_map)
- CVE-2018-7322: DICOM: inifinite loop (dissect_dcm_tag)
- CVE-2018-7323: WCCP: very long loop (dissect_wccp2_alternate_mask_value_set_element)
- CVE-2018-7324: SCCP: infinite loop (dissect_sccp_optional_parameters)
- CVE-2018-7325: RPKI-Router Protocol: infinite loop (dissect_rpkirtr_pdu)
- CVE-2018-7326: LLTD: infinite loop (dissect_lltd_tlv)
- CVE-2018-7327: openflow_v6: infinite loop (dissect_openflow_bundle_control_v6)
- CVE-2018-7328: USB-DARWIN: long loop (dissect_darwin_usb_iso_transfer)
- CVE-2018-7329: S7COMM: infinite loop (s7comm_decode_ud_cpu_alarm_main)
- CVE-2018-7330: thread_meshcop: infinite loop (get_chancount)
- CVE-2018-7331: GTP: infinite loop (dissect_gprscdr_GGSNPDPRecord, dissect_ber_set)
- CVE-2018-7332: RELOAD: infinite loop (dissect_statans)
- CVE-2018-7333: RPCoRDMA: infinite loop in get_write_list_chunk_count
- CVE-2018-7421: Multiple dissectors could go into large infinite loops (wnpa-sec-2018-06)
- CVE-2018-7334: The UMTS MAC dissector could crash (wnpa-sec-2018-07)
- CVE-2018-7337: The DOCSIS dissector could crash (wnpa-sec-2018-08)
- CVE-2018-7336: The FCP dissector could crash (wnpa-sec-2018-09)
- CVE-2018-7320: The SIGCOMP dissector could crash (wnpa-sec-2018-10)
- CVE-2018-7420: The pcapng file parser could crash (wnpa-sec-2018-11)
- CVE-2018-7417: The IPMI dissector could crash (wnpa-sec-2018-12)
- CVE-2018-7418: The SIGCOMP dissector could crash (wnpa-sec-2018-13)
- CVE-2018-7419: The NBAP disssector could crash (wnpa-sec-2018-14)
- CVE-2017-17997: Misuse of NULL pointer in MRDISC dissector (bsc#1077080).
- Record
SUSE-SU-2018:0811-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:0867-1 No score
Security update for wireshark
This update for wireshark fixes the following issues:
Security issue fixed (bsc#1082692):
- CVE-2018-7335: The IEEE 802.11 dissector could crash (wnpa-sec-2018-05)
- CVE-2018-7321: thrift long dissector loop (dissect_thrift_map)
- CVE-2018-7322: DICOM: inifinite loop (dissect_dcm_tag)
- CVE-2018-7323: WCCP: very long loop (dissect_wccp2_alternate_mask_value_set_element)
- CVE-2018-7324: SCCP: infinite loop (dissect_sccp_optional_parameters)
- CVE-2018-7325: RPKI-Router Protocol: infinite loop (dissect_rpkirtr_pdu)
- CVE-2018-7326: LLTD: infinite loop (dissect_lltd_tlv)
- CVE-2018-7327: openflow_v6: infinite loop (dissect_openflow_bundle_control_v6)
- CVE-2018-7328: USB-DARWIN: long loop (dissect_darwin_usb_iso_transfer)
- CVE-2018-7329: S7COMM: infinite loop (s7comm_decode_ud_cpu_alarm_main)
- CVE-2018-7330: thread_meshcop: infinite loop (get_chancount)
- CVE-2018-7331: GTP: infinite loop (dissect_gprscdr_GGSNPDPRecord, dissect_ber_set)
- CVE-2018-7332: RELOAD: infinite loop (dissect_statans)
- CVE-2018-7333: RPCoRDMA: infinite loop in get_write_list_chunk_count
- CVE-2018-7421: Multiple dissectors could go into large infinite loops (wnpa-sec-2018-06)
- CVE-2018-7334: The UMTS MAC dissector could crash (wnpa-sec-2018-07)
- CVE-2018-7337: The DOCSIS dissector could crash (wnpa-sec-2018-08)
- CVE-2018-7336: The FCP dissector could crash (wnpa-sec-2018-09)
- CVE-2018-7320: The SIGCOMP dissector could crash (wnpa-sec-2018-10)
- CVE-2018-7420: The pcapng file parser could crash (wnpa-sec-2018-11)
- CVE-2018-7417: The IPMI dissector could crash (wnpa-sec-2018-12)
- CVE-2018-7418: The SIGCOMP dissector could crash (wnpa-sec-2018-13)
- CVE-2018-7419: The NBAP disssector could crash (wnpa-sec-2018-14)
- CVE-2017-17997: Misuse of NULL pointer in MRDISC dissector (bsc#1077080).
- Record
SUSE-SU-2018:0867-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
wiresharkDebian:12 |
before 2.4.5-1 | 2.4.5-1 |
wiresharkDebian:13 |
before 2.4.5-1 | 2.4.5-1 |
wiresharkDebian:14 |
before 2.4.5-1 | 2.4.5-1 |
wiresharkDebian: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 less1.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 |
wiresharkMageia:6 From an advisory covering 38 CVEs |
before 2.2.14-1.mga6 | 2.2.14-1.mga6 |
wiresharkSUSE:Linux Enterprise Desktop 12 SP2 From an advisory covering 24 CVEs |
before 2.2.13-48.21.1 | 2.2.13-48.21.1 |
wiresharkSUSE:Linux Enterprise Desktop 12 SP3 From an advisory covering 24 CVEs |
before 2.2.13-48.21.1 | 2.2.13-48.21.1 |
wiresharkSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 From an advisory covering 24 CVEs |
before 2.2.13-48.21.1 | 2.2.13-48.21.1 |
wiresharkSUSE:Linux Enterprise Software Development Kit 12 SP2 From an advisory covering 24 CVEs |
before 2.2.13-48.21.1 | 2.2.13-48.21.1 |
wiresharkSUSE:Linux Enterprise Software Development Kit 12 SP3 From an advisory covering 24 CVEs |
before 2.2.13-48.21.1 | 2.2.13-48.21.1 |
Show 10 moreShow less
| Package | Affected | Fixed |
|---|---|---|
wiresharkSUSE:Linux Enterprise Server 12 SP2 From an advisory covering 24 CVEs |
before 2.2.13-48.21.1 | 2.2.13-48.21.1 |
wiresharkSUSE:Linux Enterprise Server for SAP Applications 12 SP2 From an advisory covering 24 CVEs |
before 2.2.13-48.21.1 | 2.2.13-48.21.1 |
wiresharkSUSE:Linux Enterprise Server 12 SP3 From an advisory covering 24 CVEs |
before 2.2.13-48.21.1 | 2.2.13-48.21.1 |
wiresharkSUSE:Linux Enterprise Server for SAP Applications 12 SP3 From an advisory covering 24 CVEs |
before 2.2.13-48.21.1 | 2.2.13-48.21.1 |
wiresharkSUSE:Linux Enterprise Software Development Kit 11 SP4 From an advisory covering 24 CVEs |
before 2.2.13-40.22.1 | 2.2.13-40.22.1 |
wiresharkSUSE:Linux Enterprise Server 11 SP4 From an advisory covering 24 CVEs |
before 2.2.13-40.22.1 | 2.2.13-40.22.1 |
wiresharkSUSE:Linux Enterprise Server for SAP Applications 11 SP4 From an advisory covering 24 CVEs |
before 2.2.13-40.22.1 | 2.2.13-40.22.1 |
wiresharkUbuntu: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 |
wiresharkUbuntu: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 |
wiresharkUbuntu: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
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-7331 is a high vulnerability (CVSS 7.5) in Wireshark, published February 23, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.34%, the 83rd percentile. Fixed in wireshark 2.4.5-1.
References
code.wireshark.org/review/gitweb?p=wireshark.git%3Ba=commit%3Bh=157712b2f5f89b19ef2497ea89c5938eb29529da
wireshark.org/security/wnpa-sec-2018-06.html
securityfocus.com/bid/103158
lists.debian.org/debian-lts-announce/2019/01/msg00010.html
bugs.wireshark.org/bugzilla/show_bug.cgi?id=14444
nvd.nist.gov/vuln/detail/CVE-2018-7331
Show 55 moreShow less
code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=157712b2f5f89b19ef2497ea89c5938eb29529da
github.com/advisories/GHSA-qg28-39x2-3cgw
security-tracker.debian.org/tracker/CVE-2018-7331
advisories.mageia.org/MGASA-2018-0151.html
bugs.mageia.org/show_bug.cgi?id=22643
wireshark.org/security/wnpa-sec-2018-05.html
wireshark.org/security/wnpa-sec-2018-07.html
wireshark.org/security/wnpa-sec-2018-09.html
wireshark.org/security/wnpa-sec-2018-10.html
wireshark.org/security/wnpa-sec-2018-11.html
wireshark.org/security/wnpa-sec-2018-12.html
wireshark.org/security/wnpa-sec-2018-13.html
wireshark.org/security/wnpa-sec-2018-14.html
wireshark.org/security/wnpa-sec-2018-15.html
wireshark.org/security/wnpa-sec-2018-16.html
wireshark.org/security/wnpa-sec-2018-17.html
wireshark.org/security/wnpa-sec-2018-18.html
wireshark.org/security/wnpa-sec-2018-19.html
wireshark.org/security/wnpa-sec-2018-20.html
wireshark.org/security/wnpa-sec-2018-23.html
wireshark.org/docs/relnotes/wireshark-2.2.13.html
wireshark.org/docs/relnotes/wireshark-2.2.14.html
wireshark.org/news/20180223.html
wireshark.org/news/20180403.html
lists.opensuse.org/opensuse-updates/2018-04/msg00015.html
suse.com/support/update/announcement/2018/suse-su-20180811-1
bugzilla.suse.com/1077080
bugzilla.suse.com/1082692
suse.com/security/cve/CVE-2017-17997
suse.com/security/cve/CVE-2018-7320
suse.com/security/cve/CVE-2018-7321
suse.com/security/cve/CVE-2018-7322
suse.com/security/cve/CVE-2018-7323
suse.com/security/cve/CVE-2018-7324
suse.com/security/cve/CVE-2018-7325
suse.com/security/cve/CVE-2018-7326
suse.com/security/cve/CVE-2018-7327
suse.com/security/cve/CVE-2018-7328
suse.com/security/cve/CVE-2018-7329
suse.com/security/cve/CVE-2018-7330
suse.com/security/cve/CVE-2018-7331
suse.com/security/cve/CVE-2018-7332
suse.com/security/cve/CVE-2018-7333
suse.com/security/cve/CVE-2018-7334
suse.com/security/cve/CVE-2018-7335
suse.com/security/cve/CVE-2018-7336
suse.com/security/cve/CVE-2018-7337
suse.com/security/cve/CVE-2018-7417
suse.com/security/cve/CVE-2018-7418
suse.com/security/cve/CVE-2018-7419
suse.com/security/cve/CVE-2018-7420
suse.com/security/cve/CVE-2018-7421
suse.com/support/update/announcement/2018/suse-su-20180867-1
ubuntu.com/security/CVE-2018-7331
cve.org/CVERecord?id=CVE-2018-7331