A flaw was found in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.31. A heap-based buffer over-read issue was discovered in the function sec_merge_hash_lookup in merge.c because _bfd_add_merge_section mishandles section merges when size is not a multiple of entsize. A specially crafted ELF allows remote attackers to cause a denial of service, as demonstrated by ld. References: https://sourceware.org/bugzilla/show_bug.cgi?id=23804 Upstream Patch: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ab419ddbb2cdd17ca83618990f2cacf904ce1d61
Created binutils tracking bugs for this issue: Affects: fedora-all [bug 1647405] Created mingw-binutils tracking bugs for this issue: Affects: epel-all [bug 1647404]
Straight forward to reproduce.