CVE-2017-7304

NameCVE-2017-7304
DescriptionThe Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.28, is vulnerable to an invalid read (of size 8) because of missing a check (in the copy_special_section_fields function) for an invalid sh_link field before attempting to follow it. This vulnerability causes Binutils utilities like strip to crash.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
binutils (PTS)jessie, jessie (lts)2.25-5+deb8u2vulnerable
stretch (lts), stretch2.28-5+deb9u1fixed
buster, buster (lts)2.31.1-16+deb10u1fixed
bullseye2.35.2-2fixed
bookworm2.40-2fixed
sid, trixie2.43.1-5fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
binutilssourcewheezy(not affected)
binutilssource(unstable)2.27.51.20161212-1

Notes

[jessie] - binutils <ignored> (Minor issue)
[wheezy] - binutils <not-affected> (vulnerable code not present)
https://sourceware.org/bugzilla/show_bug.cgi?id=20931

Search for package or bug name: Reporting problems