CVE-2016-2522 Denial of service in n/a

Medium 5.9 Published Updated

Remote attackers can crash Wireshark via crafted packets due to an out-of-bounds read in the ASN.1 BER dissector.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-2522?

CVE-2016-2522 is a medium-severity denial of service vulnerability in Wireshark Wireshark, published on 28 Feb 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-119

Which versions are affected by CVE-2016-2522?

It affects 1 product.

Products include Wireshark Wireshark.

How do I fix CVE-2016-2522?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2016-2522 being exploited?

There is no known exploitation of CVE-2016-2522 in the wild and no public exploit code.

All Wireshark Wireshark vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-2522, GHSA-2g5w-fjfx-gpv9, UBUNTU-CVE-2016-2522.

Is CVE-2016-2522 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free