Affected versions
Ubuntu20.04:LTS/gdb
- Affected versions
- Unknown
- Fixed version
- Not reported
Ubuntu22.04:LTS/gdb
- Affected versions
- Unknown
- Fixed version
- Not reported
Ubuntu24.04:LTS/gdb
- Affected versions
- Unknown
- Fixed version
- Not reported
Ubuntu26.04:LTS/gdb
- Affected versions
- * || =16.3-1ubuntu2 || =16.3-5ubuntu1 || =17.1-1ubuntu1 || =17.1-1ubuntu2 || =17.1-2ubuntu1
- Fixed version
- Not reported
Ubuntu26.10/gdb
- Affected versions
- * || =17.1-2ubuntu1 || =17.2-1ubuntu1
- Fixed version
- Not reported
UbuntuPro:16.04:LTS/gdb
- Affected versions
- Unknown
- Fixed version
- Not reported
UbuntuPro:18.04:LTS/gdb
- Affected versions
- * || =8.0.1-0ubuntu1 || =8.0.1-0ubuntu2 || =8.0.1-0ubuntu3 || =8.1-0ubuntu1 || =8.1-0ubuntu2 || =8.1-0ubuntu3 || =8.1-0ubuntu3.1 || =8.1-0ubuntu3.2 || =8.1.1-0ubuntu1 || =8.1.1-0ubuntu1+esm1
- Fixed version
- Not reported
Description
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.

