CVE-2026-121997
Awaiting Analysis Awaiting Analysis - Queue

Heap Buffer Overflow in GDBserver via QTDPsrc Packet

Vulnerability report for CVE-2026-121997, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-05

Last updated on: 2026-11-06

Assigner: redhat-SADP

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-05
Last Modified
2026-11-06
Generated
2026-11-14
AI Q&A
2026-11-05
EPSS Evaluated
2026-11-13
NVD
EUVD

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-122 A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-121997 is a heap buffer overflow in gdbserver's QTDPsrc packet handler. It occurs when the declared length of data in a packet does not match the actual data length. This mismatch causes hex2bin to write beyond the allocated heap buffer, allowing an unauthenticated remote attacker to execute native code in the gdbserver process.

Detection Guidance

Detecting this vulnerability requires monitoring network traffic for malformed QTDPsrc packets targeting gdbserver. Inspect gdbserver logs for crashes or memory corruption errors. Use network scanners to identify exposed gdbserver ports (default 1234) on systems running RHEL 6-10 or Hardened Images. Check for unexpected process behavior like crashes or unauthorized code execution.

Impact Analysis

This vulnerability allows an attacker to execute arbitrary code on the system running gdbserver. Since gdbserver lacks authentication, the attacker can remotely exploit this flaw without needing credentials or user interaction. This could lead to full system compromise, data theft, or denial of service.

Compliance Impact

This vulnerability could lead to unauthorized code execution, data breaches, or loss of system integrity. Such incidents may violate compliance requirements under GDPR, HIPAA, or other regulations, potentially resulting in legal penalties, reputational damage, and mandatory breach notifications.

Mitigation Strategies

Immediately disable gdbserver if not required. Block external access to gdbserver ports (1234) using firewalls. Update to the latest gdbserver version if a patch is available. If gdbserver must run, restrict network access to trusted IPs only. Monitor systems for signs of exploitation like crashes or unauthorized processes.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-121997. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...