CVE-2026-123151
Awaiting Analysis Awaiting Analysis - Queue

Buffer Overflow in GNU Debugger (GDB)

Vulnerability report for CVE-2026-123151, 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-05

Assigner: redhat-SADP

Description

A flaw was found in the GNU debugger (GDB). When GDB connects to a remote debug target, a malicious target can cause GDB to overflow a buffer on the stack while parsing the target's replies. This can crash GDB or potentially allow the target to execute arbitrary code in the GDB client process with the privileges of the user running GDB.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

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

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-121 A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a stack-based buffer overflow in the GNU Debugger (GDB). When GDB connects to a remote debug target, a malicious target can send specially crafted replies during the connection handshake. This causes GDB to overflow a stack buffer while parsing the target's responses, potentially crashing GDB or allowing the target to execute arbitrary code in the GDB client process with the privileges of the user running GDB.

Detection Guidance

Detecting this vulnerability requires monitoring for unusual GDB crashes or stack overflows during remote debugging sessions. Check GDB logs for segmentation faults or stack canary failures when connecting to remote targets. Use tools like AddressSanitizer to rebuild GDB and monitor for buffer overflows in parse_tsv_definition or hex2bin functions.

Impact Analysis

If you use GDB to debug a remote target, an attacker controlling that target could exploit this flaw to crash your debugger or execute malicious code on your system. This could lead to unauthorized access, data theft, or system compromise, depending on the privileges of the user running GDB.

Compliance Impact

This vulnerability could potentially impact compliance with GDPR and HIPAA by allowing arbitrary code execution in the GDB client process. If exploited, it may lead to unauthorized access to sensitive data processed by the debugger, violating confidentiality requirements under these regulations.

Mitigation Strategies

Only connect GDB to trusted debug targets. Avoid using remote debugging features with untrusted sources. Upgrade to a patched GDB version if available. If no patch exists, disable remote debugging capabilities or use alternative debugging methods until a fix is released.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-123151. 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...