CVE-2016-2522Improper Restriction of Operations within the Bounds of a Memory Buffer in Wireshark

Severity
5.9MEDIUMNVD
EPSS
0.2%
top 55.77%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedFeb 28
Latest updateMay 17

Description

The dissect_ber_constrained_bitstring function in epan/dissectors/packet-ber.c in the ASN.1 BER dissector in Wireshark 2.0.x before 2.0.2 does not verify that a certain length is nonzero, which allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted packet.

CVSS vector

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 2.2 | Impact: 3.6

Affected Packages3 packages

debiandebian/wireshark< wireshark 2.0.2+ga16e22e-1 (bookworm)
Debianwireshark/wireshark< 2.0.2+ga16e22e-1+3
NVDwireshark/wireshark2.0.0, 2.0.1+1

🔴Vulnerability Details

2
GHSA
GHSA-2g5w-fjfx-gpv9: The dissect_ber_constrained_bitstring function in epan/dissectors/packet-ber2022-05-17
OSV
CVE-2016-2522: The dissect_ber_constrained_bitstring function in epan/dissectors/packet-ber2016-02-28

📋Vendor Advisories

2
Red Hat
wireshark: ASN.1 BER dissector crash (wnpa-sec-2016-02)2016-02-26
Debian
CVE-2016-2522: wireshark - The dissect_ber_constrained_bitstring function in epan/dissectors/packet-ber.c i...2016

💬Community

2
Bugzilla
CVE-2016-2522 wireshark: ASN.1 BER dissector crash (wnpa-sec-2016-02)2016-02-29
Bugzilla
CVE-2015-8781 CVE-2015-8782 CVE-2015-8783 libtiff: invalid assertion2016-01-25