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.
History

Thu, 05 Nov 2026 16:30:00 +0000

Type Values Removed Values Added
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.
Title Gdb: gdb: stack buffer overflow in fetch_register_using_p via unchecked p-reply length
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat rhel Els
Weaknesses CWE-121
CPEs cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/a:redhat:hummingbird:1
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat rhel Els
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published: 2026-11-05T16:08:46.589Z

Updated: 2026-11-05T19:02:19.809Z

Reserved: 2026-11-04T13:28:12.838Z

Link: CVE-2026-121994

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-05T17:18:00.503

Modified: 2026-11-05T19:17:16.247

Link: CVE-2026-121994

cve-icon Redhat

No data.