CVE-2026-121994
Stack buffer overflow in GDB remote protocol handler
- CVSS 3.1
- 8.8 high
- EPSS
- —
- Published
- ·
- Modified
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 flaw is in fetch_register_using_p, which decodes a stub's register reply into an alloca-sized buffer without bounding writes by the register width. An attacker can trigger it over the network with a crafted debug target and gain arbitrary code execution in GDB. GDB users are affected.
What to do: Apply Red Hat's update for CVE-2026-121994
| Product | Affected |
|---|---|
| Red Hat GDB | — |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Description · NVD
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.
- Weakness
- CWE-121
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
In the news
0 storiesNo ingested article mentions this CVE yet.