GDB remote protocol stack buffer overflow (CVE-2026-121994)
CVE-2026-121994 Published on November 5, 2026
Gdb: gdb: stack buffer overflow in fetch_register_using_p via unchecked p-reply length
A stack buffer overflow in the GDB client's remote protocol handler allows an attacker-controlled debug target to execute arbitrary code in the GDB process. The vulnerability exists in fetch_register_using_p, which decodes a stub's register reply into an alloca-sized buffer without bounding writes by the register width.
Vulnerability Analysis
CVE-2026-121994 is exploitable with network access, requires user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.
Timeline
Reported to Red Hat.
Made public. 15 days later.
Weakness Type
What is a Stack Overflow Vulnerability?
A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
CVE-2026-121994 has been classified to as a Stack Overflow vulnerability or weakness.
Products Associated with CVE-2026-121994
Want to know whenever a new CVE is published for Red Hat products? stack.watch will email you.