Where
AND
-Infinity
0
Severity
4.6
Buffer Overflow, Integer Overflow
AV:L/AC:L/Au:N/C:P/I:P/A:P

Integer overflow in the Binary File Descriptor (BFD) library for gdb before 6.3, binutils, elfutils, and possibly other packages, allows user-assisted attackers to execute arbitrary code via a crafted object file that specifies a large number of section headers, leading to a heap-based buffer overflow.

First published (updated )
Severity
4
Buffer Overflow

Stack buffer overflow in parsetsvdefinition (gdb/tracepoint.c), called from remotetarget::uploadtracestatevariables during startremote1, before the ? packet. The parser sizes its destination with alloca(strlen(line)) based on the current qTfV trace-state-variable reply, then advances through three colon-separated fields with unchecked p++. A line such as 1:0:0000 contains only two colons, so the third p++ walks past the line's terminating NUL into stale bytes of the shared, uncleared packet buffer rs->buf (planted, for example, by a long qTStatus reply, which must be answered non-empty for the upload to run at all). hex2bin then decodes strlen(p)/2 stale bytes -- whose length and content the stub controls -- into the small stack buffer, overwriting the stack canary and the return address. This is the same stale-tail pattern as CVE-2026-121995 (parsetracepointdefinition), in the sibling parser for trace state variables; the function, call site and fix location differ. Verified on gdb-16.3-3.1.el102 (Rocky 10.2): ' stack smashing detected ' abort 5/5 runs with a symbolized stack stackchkfail <- parsetsvdefinition (tracepoint.c) <- uploadtracestatevariables <- startremote1 <- open1, and an ASan rebuild of the distro source reports dynamic-stack-buffer-overflow in hex2bin <- parsetsvdefinition. Negative controls (short stale tail; well-formed three-colon line) do not crash. Present and unfixed in upstream master (f735688fc, 2026-11-05); the same code exists at least back to the GDB 10.2 release tree. Reported by Pulkit Singh Singaria (x3ero0) via PSIRTSUPT-29860.

First published (updated )
Severity
5.5
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

GNU gdb (GDB) 13.0.50.20220805-git was discovered to contain a stack overflow via the function adadecode at /gdb/ada-lang.c.

First published (updated )
Severity
5.5
Use After Free
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

GNU gdb (GDB) 13.0.50.20220805-git was discovered to contain a heap use after free via the function addpeexportedsym() at /gdb/coff-pe-read.c.

First published (updated )
Severity
5.5
Buffer Overflow
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

GNU gdb (GDB) 13.0.50.20220805-git was discovered to contain a heap buffer overflow via the function peas16() at /gdb/coff-pe-read.c.

First published (updated )
Severity
6.9
AV:L/AC:M/Au:N/C:C/I:C/A:C

GNU Project Debugger (GDB) before 7.5, when .debuggdbscripts is defined, automatically loads certain files from the current working directory, which allows local users to gain privileges via crafted files such as Python scripts.

First published (updated )
Severity
5.1
Buffer Overflow
AV:N/AC:H/Au:N/C:P/I:P/A:P

Buffer overflow in the (1) DWARF (dwarfread.c) and (2) DWARF2 (dwarf2read.c) debugging code in GNU Debugger (GDB) 6.5 allows user-assisted attackers, or restricted users, to execute arbitrary code via a crafted file with a location block (DWFORMblock) that contains a large number of operations.

First published (updated )
Severity
4
Buffer Overflow

Buffer Overflow - Out of bound memory access in the main gdb module via opening an ELF for debugging with an impact of DoS, Memory Disclosure, and Possible Code Execution.

First published (updated )

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203