Stack-based Buffer Overflow Affecting gdb package, versions *


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.48% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS7-GDB-22346710
  • published8 Nov 2026
  • disclosed5 Nov 2026

Introduced: 5 Nov 2026

NewCVE-2026-121994  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

There is no fixed version for Centos:7 gdb.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gdb package and not the gdb package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1