Skip to content
OpenAdvisories
Unscored CVE-2017-8395 EUVD-2017-17347GHSA-gj9h-fv77-fg5j

The Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.28, is vulnerable to an invalid write of size 8 bec…

Published May 1, 2017 · Updated Aug 5, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 binutils 2.28-5 —
Debian 13 binutils 2.28-5 —
Debian 12 binutils 2.28-5 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS binutils 2.26.1-1ubuntu1~16.04.8+esm1 USN-4336-2
Ubuntu Pro 14.04 LTS binutils No fix yet —
ReleasePackageFixed inAdvisory
SLES 12 SP3 binutils +2 2.29.1-9.20.2 SUSE-SU-2017:3170-1
SLES 12 SP2 binutils +2 2.29.1-9.20.2 SUSE-SU-2017:3170-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP3 binutils 2.29.1-9.20.2 SUSE-SU-2017:3170-1
SLES for SAP 12 SP2 binutils 2.29.1-9.20.2 SUSE-SU-2017:3170-1
SLES for SAP 12 SP1 binutils 2.29.1-9.20.2 SUSE-SU-2017:3170-1

Advisories 2

References