Report

CVE-2022-38533: Heap overflow in BFD compressed section decompression

01dcaad2-cd12-4cb4-9d0e-c56b304cdc3c

A heap buffer overflow vulnerability exists in binutils BFD library when processing compressed ELF sections. When decompressing a section marked with SHF_COMPRESSED flag, if the compressed_size field in the section header is smaller than the compression header size (typically 12 bytes), an integer underflow occurs during size calculation, causing the decompression function to read far beyond the allocated buffer boundary.