REDHAT-BUG-2445299: Low severity GNU GNU Binutils vulnerability
GNU Binutils thru 2.46 readelf contains a vulnerability that leads to an invalid pointer free when processing a crafted ELF binary with malformed relocation or symbol data. If dumprelocations returns early due to parsing errors, the internal allrelocations array may remain partially uninitialized. Later, processgotsectioncontents() may attempt to free an invalid rsymbol pointer, triggering memory corruption checks in glibc and causing the program to terminate with SIGABRT. No evidence of further memory corruption or code execution was observed; the impact is limited to denial of service.
Affected Software
Event History
Frequently Asked Questions
What does an attacker need to provide to trigger the issue?
The attacker needs to cause readelf to process a crafted ELF binary containing malformed relocation or symbol data. The failure path depends on relocation parsing returning early and leaving relocation entries partially uninitialized.
What is the expected impact if the issue is triggered?
readelf may terminate with SIGABRT after glibc detects an invalid pointer free. The reported impact is denial of service; no evidence of further memory corruption or code execution was observed.
Which GNU Binutils versions are identified as affected?
The issue is described as affecting GNU Binutils through version 2.46.