CVE-2017-8395

HIGH

GNU Binutils 2.28 - Denial of Service via Missing Malloc Check in _bfd_generic_get_section_contents

Title source: llm
STIX 2.1

Description

The Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.28, is vulnerable to an invalid write of size 8 because of missing a malloc() return-value check to see if memory had actually been allocated in the _bfd_generic_get_section_contents function. This vulnerability causes programs that conduct an analysis of binary programs using the libbfd library, such as objcopy, to crash.

References (2)

Core 2
Core References
Issue Tracking, Patch, Third Party Advisory x_refsource_confirm
https://sourceware.org/bugzilla/show_bug.cgi?id=21431
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201709-02

Scores

CVSS v3 7.5
EPSS 0.0050
EPSS Percentile 66.4%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-476
Status published
Products (1)
gnu/binutils 2.28
Published May 01, 2017
Tracked Since Feb 18, 2026