There is a heap-based buffer over-read in libdwarf 0.4.0. This issue is related to dwarf_global_formref_b.