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 pr...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:16.04:LTSgdb |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTSgdb |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTSgdb |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSgdb |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSgdb |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10gdb |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSgdb |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report bugzilla.redhat.com
- report access.redhat.com