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