First published: Wed Jun 21 2017(Updated: )
GNU Debugger (GDB) 8.0 and earlier fails to detect a negative length field in a DWARF section. A malformed section in an ELF binary or a core file can cause GDB to repeatedly allocate memory until a process limit is reached. This can, for example, impede efforts to analyze malware with GDB.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
GNU gdb | <=8.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2017-9778 is considered a high severity vulnerability due to its potential to cause memory exhaustion in the GNU Debugger.
To fix CVE-2017-9778, upgrade to a version of GNU Debugger newer than 8.0 where the vulnerability is addressed.
CVE-2017-9778 affects GNU Debugger versions 8.0 and earlier.
CVE-2017-9778 can impede GDB's functionality by causing excessive memory allocation when handling malformed ELF binaries or core files.
If upgrading is not possible, consider limiting the input to GDB to avoid using malformed ELF binaries or core files that trigger this vulnerability.