Heap-based buffer overflow in pidgin-otr - CVE-2016-2851

 

Heap-based buffer overflow in pidgin-otr - CVE-2016-2851

Published: April 8, 2016 / Updated: July 29, 2020


Vulnerability identifier: #VU32323
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-2851
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: Public exploit is available

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

pidgin-otr
Gentoo Linux
Fedora
Opensuse
libotr (Alpine package)
libotr

How to mitigate CVE-2016-2851

Update to version 4.1.1.

pidgin-otr - update to 4.1.1
libotr (Alpine package) - update to 4.1.1-r0
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

Related Security Bulletins