Heap-based buffer overflow in Binutils - CVE-2014-8502

 

Heap-based buffer overflow in Binutils - CVE-2014-8502

Published: December 10, 2014 / Updated: July 28, 2020


Vulnerability identifier: #VU32470
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2014-8502
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 Heap-based buffer overflow in the pe_print_edata function in bfd/peXXigen.c in GNU binutils 2.24 and earlier. A remote attacker can use a truncated export table in a PE file. 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

Binutils
Amazon Linux AMI
Gentoo Linux
Fedora
binutils (Alpine package)
avr-binutils
mingw-binutils
cross-binutils
cross-gcc
arm-none-eabi-binutils-cs

How to mitigate CVE-2014-8502

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

binutils (Alpine package) - update to 2.24-r3
avr-binutils - update to 2.24-4.fc21
mingw-binutils - addressed in versions 2.25-1.el7, 2.25-1.fc21
cross-binutils - update to 2.27-9.el7.1
cross-gcc - update to 4.8.5-16.el7.1
arm-none-eabi-binutils-cs - update to 2014.05.28-3.fc21

External References

Related Security Bulletins