Skip to content
Threat Feed
high advisory

GNU gdbserver: Heap memory information disclosure (CVE-2026-121996)

A length validation flaw in the gdbserver agent-expression parser allows an unauthenticated remote attacker to perform an out-of-bounds heap read, potentially exposing memory addresses to bypass ASLR or causing a denial of service.

CVE search metadata

CVE search record: CVE-2026-121996. Severity: high. CVSS: 8.2. KEV: no. Product: gdbserver. Brief: GNU gdbserver: Heap memory information disclosure (CVE-2026-121996). Brief link: https://feed.craftedsignal.io/briefs/2026-11-gdbserver-heap-leak/

Triage facts

Revision 1
Applicability
gdbserver
Evidence
Unknown
Severity
High
Action
Elevated
Sources
1 public source
Freshness
Revision 1Nov 5, 18:23 UTC
Vulnerabilities
1 CVE
Source quality
A2Roughly even chance

CVE-2026-121996 is an out-of-bounds read vulnerability in the GNU gdbserver agent-expression parser. An unauthenticated remote attacker can trigger this flaw to read uninitialized heap memory. The leaked memory contents may contain sensitive addresses, which could be used to defeat Address Space Layout Randomization (ASLR) in subsequent stages of an attack. The flaw can also be triggered repeatedly to induce a denial-of-service state for the gdbserver process.

Impact

The vulnerability enables remote memory disclosure and denial-of-service against targets running gdbserver. Successful exploitation allows an attacker to obtain memory layout details, facilitating further exploitation by bypassing memory protection mechanisms.

Recommendation

  • Inventory all systems running gdbserver to identify exposed instances.
  • Apply patches provided by the GNU project or your distribution maintainer as soon as they become available.
  • Restrict access to gdbserver ports to trusted management IPs using host-based firewalls or network access control lists.
  • Implement monitoring for abnormal gdbserver process behavior, specifically repeated crashes or restarts which may indicate active DoS attempts or exploit testing.

Immediate actions

Restrict network access to gdbserver ports to authorized management workstations only.

IT Operations 24h

Threat Hunt

Hunt for repeated gdbserver process crashes in system logs (e.g., syslog, dmesg) that may indicate automated exploitation attempts.

T1498 medium medium confidence hunt now

Data: System logs, Application crash logs

Mitigations

Apply software updates from distribution maintainers for the gdb package.

immediate IT Operations

CVE-2026-121996