Skip to content
OpenAdvisories
Unscored CVE-2017-7226 EUVD-2017-16261GHSA-gfmx-5h2c-grrx

The pe_ILF_object_p function in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.28, is vulnerable t…

Published Mar 22, 2017 · Updated Sep 16, 2024 · Assigned by mitre

Description

The pe_ILF_object_p function in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.28, is vulnerable to a heap-based buffer over-read of size 4049 because it uses the strlen function instead of strnlen, leading to program crashes in several utilities such as addr2line, size, and strings. It could lead to information disclosure as well.

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.27.51.20161212-1 —
Debian 13 binutils 2.27.51.20161212-1 —
Debian 12 binutils 2.27.51.20161212-1 —
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-2018:3207-1, SUSE-SU-2017:3170-1
SLES 12 SP2 binutils +2 2.29.1-9.20.2 SUSE-SU-2018:3207-2, SUSE-SU-2018:3207-1, SUSE-SU-2017:3170-1
SLES 12 SP1 binutils 2.31-9.26.1 SUSE-SU-2018:3207-1
SLES 12 binutils 2.31-9.26.1 SUSE-SU-2018:3207-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP3 binutils 2.29.1-9.20.2 SUSE-SU-2018:3207-1, SUSE-SU-2017:3170-1
SLES for SAP 12 SP2 binutils 2.29.1-9.20.2 SUSE-SU-2018:3207-1, SUSE-SU-2017:3170-1
SLES for SAP 12 SP1 binutils 2.29.1-9.20.2 SUSE-SU-2018:3207-1, SUSE-SU-2017:3170-1
SUSE OpenStack Cloud 7 binutils 2.31-9.26.1 SUSE-SU-2018:3207-1
SUSE Enterprise Storage 4 binutils 2.31-9.26.1 SUSE-SU-2018:3207-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed binutils 2.37-1.3 openSUSE-SU-2024:10651-1

Advisories 5

References