Red Hat Bugzilla – Bug 1260034
Specially crafted binary can cause readelf to read from an arbitrary address-
Last modified: 2017-01-03 09:16:33 EST
Created attachment 1070188 [details]
Fuzzed binary that reproduces the seg-fault when processed with 'readelf -a'
Description of problem:
Readelf can be fooled into attempting to read from an arbitrary memory location if it is run against a specially crafted binary.
Version-Release number of selected component (if applicable):
Run "readelf -a test00-min'
The bug has been fixed in the upstream FSF sources. The patch can be found here:
binutils-2.25.1-2.el7 contains a fix for this problem.
Verified for build devtoolset-4-binutils-2.25.1-5.el7.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.