Heap-based Buffer Overflow Affecting gcc-toolset-14-gdb package, versions *


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.71% (54th 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-RHEL8-GCCTOOLSET14GDB-22303320
  • published8 Nov 2026
  • disclosed5 Nov 2026

Introduced: 5 Nov 2026

NewCVE-2026-121997  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:8 gcc-toolset-14-gdb.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gcc-toolset-14-gdb package and not the gcc-toolset-14-gdb package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

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 Base Scores

version 3.1