CVE-2017-9778

NameCVE-2017-9778
DescriptionGNU 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs865607

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gdb (PTS)jessie7.7.1+dfsg-5vulnerable
stretch7.12-6vulnerable
buster8.2.1-2vulnerable
bullseye10.1-1.7fixed
bookworm13.1-3fixed
sid, trixie15.2-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gdbsource(unstable)8.3.1-1unimportant865607

Notes

https://sourceware.org/bugzilla/show_bug.cgi?id=21600
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=723adb650a31859d7cc45832cb8adca0206455ed

Search for package or bug name: Reporting problems