← Back to search

CVE-2026-121994

8.8 HIGH

Published 2026-11-05 · Updated 2026-11-06

AI risk analysis

Summary
A stack buffer overflow in GDB's remote protocol handler (fetch_register_using_p) lets a malicious debug target write past a stack-allocated buffer when decoding register replies, enabling arbitrary code execution in the GDB process.
Exploitability
Exploitation requires an attacker-controlled GDB debug target to send a specially crafted register reply packet during a remote debugging session with user interaction (e.g., connecting to a malicious target); no authentication is needed.
Blast radius
Successful exploitation grants full RCE in the GDB process, potentially compromising developer workstations or CI systems where GDB is used for debugging untrusted binaries.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to GDB version 15.2 or later, as this version includes the fix for CVE-2026-121994.
rcestack-overflowgdbremote-debugging

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weaknesses

CWE-121

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.