libdwarf data exposure in .debug_addr table handling
davea42 libdwarf
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| davea42 libdwarf |
| No fix yet |
Original description
libdwarf through 2.3.3 contains a heap out-of-bounds read vulnerability in dwarf_debug_addr_table() that omits the table starting offset when validating .debug_addr unit length. Attackers can supply a crafted object file with a non-zero offset table, causing dwarf_debug_addr_by_index() to read past the heap buffer, disclosing adjacent heap bytes or crashing consumers.
From the CVE record · VulnCheck