Heap-based buffer overflow in pidgin-otr - CVE-2016-2851
Published: April 8, 2016 / Updated: July 29, 2020
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in Integer overflow in proto.c in libotr before 4.1.1 on 64-bit platforms. A remote attacker can use a series of large OTR messages to trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Gentoo Linux
Ubuntu
Fedora
Opensuse
libotr (Alpine package)
libotr2 (Ubuntu package)
libotr
How to mitigate CVE-2016-2851
libotr (Alpine package) - update to 4.1.1-r0
libotr2 (Ubuntu package) - update to 3.2.0-4ubuntu0.3
libotr - addressed in versions 4.1.1-1.fc22, 4.1.1-1.fc23, 4.1.1-1.fc24
Links to Public Exploits and PoC-codes
External References
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00021.html
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00030.html
- http://seclists.org/fulldisclosure/2016/Mar/21
- http://www.debian.org/security/2016/dsa-3512
- http://www.securityfocus.com/archive/1/537745/100/0/threaded
- http://www.securityfocus.com/bid/84285
- http://www.ubuntu.com/usn/USN-2926-1
- https://lists.cypherpunks.ca/pipermail/otr-users/2016-March/002581.html
- https://security.gentoo.org/glsa/201701-10
- https://www.exploit-db.com/exploits/39550/
- https://www.x41-dsec.de/lab/advisories/x41-2016-001-libotr/
Related Security Bulletins
- Heap-based buffer overflow in otr.cypherpunks.ca pidgin-otr
- OpenSUSE Linux update for libotr,libotr2
- Heap-based buffer overflow in libotr (Alpine package)
- Gentoo update for libotr, Pidgin OTR
- Fedora 23 update for libotr
- Fedora 22 update for libotr
- Fedora 24 update for libotr
- Ubuntu update for libotr