Heap-based buffer overflow in Botan and Debian Linux - CVE-2016-2195

 

Heap-based buffer overflow in Botan and Debian Linux - CVE-2016-2195

Published: May 13, 2016 / Updated: February 9, 2022


Vulnerability identifier: #VU40299
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-2195
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit 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 the PointGFp constructor in Botan before 1.10.11 and 1.11.x before 1.11.27. A remote attacker can use a crafted ECC point 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

Botan
Debian Linux
Gentoo Linux
Fedora
monotone
botan
qca
code-editor
qt-creator

How to mitigate CVE-2016-2195

Install update from vendor's website.

monotone - addressed in versions 1.1-13.fc22, 1.1-13.fc23
botan - addressed in versions 1.8.15-1.el5, 1.8.15-1.el6, 1.10.12-1.el7, 1.10.12-1.fc22, 1.10.12-1.fc23
qca - addressed in versions 2.1.1-4.fc22, 2.1.1-4.fc23
code-editor - addressed in versions 2.8.1-13.fc22, 2.8.1-13.fc23
qt-creator - addressed in versions 3.5.1-2.el7, 3.6.0-6.fc22, 3.6.0-6.fc23

External References

Related Security Bulletins