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

# CVE-2026-121997

A heap buffer overflow in gdbserver's QTDPsrc packet handler allows an unauthenticated remote attacker to achieve native code execution in the gdbserver process. The vulnerability results from a mismatch between a packet's declared source length and the actual data length, causing hex2bin to write beyond the allocated heap buffer.

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

- **Severity / Score**: HIGH (8.1)
- **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 | — |
