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

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

There is no mitigation for this vulnerability. Users should only connect GDB to trusted debug targets.

History

Fri, 06 Nov 2026 08:30:00 +0000

Type Values Removed Values Added
First Time appeared Red Hat
Red Hat enterprise Linux
Redhat hardened Images
Vendors & Products Red Hat
Red Hat enterprise Linux
Redhat hardened Images

Fri, 06 Nov 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-11-06T04:56:37.588Z

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-06T05:18:23.807

Link: CVE-2026-121994

cve-icon Redhat

Severity : Important

Publid Date: 2026-11-05T14:25:22Z

Links: CVE-2026-121994 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-11-06T08:15:17Z

Weaknesses