The bfdgenericreadminisymbols function in syms.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.31, has a memory leak via a crafted ELF file, leading to a denial of service (memory consumption), as demonstrated by nm.
{
"versions": [
{
"introduced": "0"
},
{
"last_affected": "2.31"
},
{
"introduced": "5.0.0"
},
{
"last_affected": "5.1.0"
}
]
}