CVE Catalog

CVE-2026-121994

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.48%

42th percentile - higher than 42% of all known CVEs

Summary

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.

Risk Assessment

An attacker can execute arbitrary code in the GDB process, potentially leading to compromise of the developer system. High risk when debugging untrusted targets.

Recommendation

Upgrade GDB to a patched version. Only debug trusted remote targets.

Other vulnerabilities in GDB

See all
Original NVD description (English source)

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 data from NVD (NIST) · CISA KEV · EPSS