Bug 1435646 (CVE-2017-6966) - CVE-2017-6966 binutils: Use-after-free in target_specific_reloc_handling in readelf
Summary: CVE-2017-6966 binutils: Use-after-free in target_specific_reloc_handling in r...
Status: NEW
Alias: CVE-2017-6966
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1435307 1435308 1435309
Blocks: 1435650
TreeView+ depends on / blocked
Reported: 2017-03-24 12:41 UTC by Adam Mariš
Modified: 2019-09-29 14:08 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in readelf; part of binutils. A crafted executable or shared library could cause use-after-free and out-of-bounds writes, leading to a crash or possible code execution.
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Adam Mariš 2017-03-24 12:41:30 UTC
readelf in GNU Binutils 2.28 has a use-after-free (specifically read-after-free) error while processing multiple, relocated sections in an MSP430 binary. This is caused by mishandling of an invalid symbol index, and mishandling of state across invocations.

Upstream bug:


Upstream patch:


Comment 1 Adam Mariš 2017-03-24 12:58:36 UTC
Created mingw-binutils tracking bugs for this issue:

Affects: epel-all [bug 1435309]

Comment 4 Doran Moppert 2017-05-30 04:42:17 UTC

Red Hat Product Security has rated this issue as having Moderate security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

Note You need to log in before you can comment on or make changes to this bug.