Patch Ticker

GDB stack buffer overflow while parsing malicious remote target replies

Connecting GDB to a malicious remote target can get your PC hacked.

Summary

A malicious remote debug target can overflow a stack buffer in GDB while GDB parses its replies, crashing GDB or running code with the privileges of the user running it. The gdb package in Red Hat Enterprise Linux 6 through 10 and Red Hat Hardened Images is affected.

Affected when

  • GDB connects to a malicious remote debug target

What to do

We have not confirmed a fixed version yet. Check the source links below.

Products and platforms

  • Linux
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat Hardened Images

CVE IDs

Sources

Times

First published

First seen