CVE-2016-2522
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of service disruption.
- Exploit odds
- 2.1% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.1% in the next 30 days (EPSS).
- Severity: 5.9 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.1% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- Wireshark 2.0.0
- Wireshark 2.0.1
Attack profile CVSS 3.0 · 5.9
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Raw vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2016-2522.md and follow it. Check whether this project is affected by CVE-2016-2522. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://www.wireshark.org/security/wnpa-sec-2016-02.html
- https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=11828
- http://www.wireshark.org/security/wnpa-sec-2016-02.html
- https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=11828
References
- http://www.securitytracker.com/id/1035118
- http://www.wireshark.org/security/wnpa-sec-2016-02.html
- https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=11828
- https://code.wireshark.org/review/gitweb?p=wireshark.git%3Ba=commit%3Bh=9b2f3f7c5c9205381cb72e42b66e97d8ed3abf63
- https://security.gentoo.org/glsa/201604-05
- http://www.securitytracker.com/id/1035118
- http://www.wireshark.org/security/wnpa-sec-2016-02.html
- https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=11828
- https://code.wireshark.org/review/gitweb?p=wireshark.git%3Ba=commit%3Bh=9b2f3f7c5c9205381cb72e42b66e97d8ed3abf63
- https://security.gentoo.org/glsa/201604-05