---
title: "CVE-2026-121994"
canonical_url: "https://pkgseek.com/security/CVE-2026-121994"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2026-121994

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.

CVE-2026-121994 is rated HIGH (8.8), with 8 indexed affected package builds across 1 distributions.

- **Severity / Score**: HIGH (8.8)
- **Affected builds**: 8
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | focal | gdb | 9.1-0ubuntu1 | — |
| Ubuntu | focal | gdb-dbg | 9.1-0ubuntu1 | — |
| Ubuntu | focal | gdb-doc | 9.1-0ubuntu1 | — |
| Ubuntu | focal | gdbserver | 9.1-0ubuntu1 | — |
| Ubuntu | jammy | gdb | 12.0.90-0ubuntu1 | — |
| Ubuntu | jammy | gdb-doc | 12.0.90-0ubuntu1 | — |
| Ubuntu | noble | gdb | 15.0.50.20240403-0ubuntu1 | — |
| Ubuntu | noble | gdb-doc | 15.0.50.20240403-0ubuntu1 | — |
