Vulnerabilities / CVE-2017-7226

critical

CVE-2017-7226

binutils: Heap-based buffer over-read in pe_ILF_object_p function in libbfd

Published Modified CWE 125
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.1CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Red Hat4.4CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L

Trivy's own label is CRITICAL. Rated critical by NVD, Photon OS. Rated lower by Red Hat (low), Ubuntu (low).

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.

Affected packages and fixed versions

SourcePackageFixed in
Photon OS 3.0crash8.0.2-1.ph3
Photon OS 4.0crash, crash-devel8.0.2-1.ph4
debian 11binutils2.27.51.20161212-1
debian 12binutils2.27.51.20161212-1
debian 13binutils2.27.51.20161212-1
debian 14binutils2.27.51.20161212-1
debian 7binutilsno fix listed
debian 8binutilsno fix listed
echobinutils2.27.51.20161212-1
Red Hatbinutils, binutils-develno fix listed
root.io debian 12rootio-binutils2.27.51.20161212-1
ubuntu 16.04-ESMbinutils2.26.1-1ubuntu1~16.04.8+esm1
Show all 14 entries from 12 sources
SourcePackageFixed in
Photon OS 3.0crash8.0.2-1.ph3
Photon OS 4.0crash8.0.2-1.ph4
Photon OS 4.0crash-devel8.0.2-1.ph4
debian 11binutils2.27.51.20161212-1
debian 12binutils2.27.51.20161212-1
debian 13binutils2.27.51.20161212-1
debian 14binutils2.27.51.20161212-1
debian 7binutilsno fix listed
debian 8binutilsno fix listed
echobinutils2.27.51.20161212-1
Red Hatbinutilsno fix listed
Red Hatbinutils-develno fix listed
root.io debian 12rootio-binutils2.27.51.20161212-1
ubuntu 16.04-ESMbinutils2.26.1-1ubuntu1~16.04.8+esm1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.