CVE-2026-8696
A use-after-free vulnerability exists in radare2 6.1.5 and earlier versions within the GDB client core, specifically in the `gdbr_pids_list()` function. The flaw occurs when malformed thread information responses from a remote GDB server trigger a memory corruption condition. During the thread discovery protocol exchange, `qfThreadInfo` successfully allocates `RDebugPid` structures, but if the subsequent `qsThreadInfo` command fails, the error handling path attempts to clean up the partially populated list. This results in a double-free condition that can lead to denial of service or potentially arbitrary code execution. The vulnerability is remotely exploitable without authentication, as the GDB client processes server responses without adequate validation of the thread information sequence state. The CVSS 4.0 vector indicates network attack vector with low attack complexity, no privileges required, and high availability impact. A patch has been committed to address the improper cleanup logic in the error path.