CVE-2026-13732
Fixed in a distro release EPSS <1%CVSS 7.0
A flaw was found in GDB's STABS debug format parser. The read_member_functions() function in gdb/stabsread.c contains a linked list removal bug in the code that separates destructor and non-destructor member functions of C++ classes. The bug causes the destructor entries to remain in the main function list while the list length counter is decremented, resulting in an out-of-bounds write when the function list is copied to its final allocated array. An attacker can craft an ELF binary with malicious .stab and .stabstr sections that triggers this out-of-bounds write when a user opens the file in GDB and performs any symbol-inspection operation such as setting a breakpoint. The inferior process does not need to be executed. Under controlled conditions, this was demonstrated to achieve execution of arbitrary commands within the GDB process.
Products: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat Cost Management On-Premise 1, Red Hat Hardened Images, Red Hat Update Infrastructure 5, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 10 | gdb | 16.3-3.1.el10_2 |
| AlmaLinux 10 | gdb-doc | 16.3-3.1.el10_2 |
| AlmaLinux 10 | gdb-gdbserver | 16.3-3.1.el10_2 |
| AlmaLinux 10 | gdb-headless | 16.3-3.1.el10_2 |
| AlmaLinux 10 | gdb-minimal | 16.3-3.1.el10_2 |
| AlmaLinux 8 | gdb | 8.2-20.1.el8_10 |
| AlmaLinux 8 | gdb-doc | 8.2-20.1.el8_10 |
| AlmaLinux 8 | gdb-gdbserver | 8.2-20.1.el8_10 |
| AlmaLinux 8 | gdb-headless | 8.2-20.1.el8_10 |
| AlmaLinux 9 | gdb | 16.3-3.1.el9_8 |
| AlmaLinux 9 | gdb-doc | 16.3-3.1.el9_8 |
| AlmaLinux 9 | gdb-gdbserver | 16.3-3.1.el9_8 |
| AlmaLinux 9 | gdb-headless | 16.3-3.1.el9_8 |
| AlmaLinux 9 | gdb-minimal | 16.3-3.1.el9_8 |
| Debian 12 | gdb | no fix |
| Debian 13 | gdb | no fix |
| Debian 14 | gdb | no fix |
| Red Hat Enterprise Linux 10.2 | gdb | 0:16.3-3.1.el10_2 |
| Red Hat Enterprise Linux 10.2 | gdb-debuginfo | 0:16.3-3.1.el10_2 |
| Red Hat Enterprise Linux 10.2 | gdb-debugsource | 0:16.3-3.1.el10_2 |
| Red Hat Enterprise Linux 10.2 | gdb-doc | 0:16.3-3.1.el10_2 |
| Red Hat Enterprise Linux 10.2 | gdb-gdbserver | 0:16.3-3.1.el10_2 |
| Red Hat Enterprise Linux 10.2 | gdb-headless | 0:16.3-3.1.el10_2 |
| Red Hat Enterprise Linux 10.2 | gdb-minimal | 0:16.3-3.1.el10_2 |
| Red Hat Enterprise Linux 8 | gdb | 0:8.2-20.1.el8_10 |
| Red Hat Enterprise Linux 8 | gdb-debuginfo | 0:8.2-20.1.el8_10 |
| Red Hat Enterprise Linux 8 | gdb-debugsource | 0:8.2-20.1.el8_10 |
| Red Hat Enterprise Linux 8 | gdb-doc | 0:8.2-20.1.el8_10 |
| Red Hat Enterprise Linux 8 | gdb-gdbserver | 0:8.2-20.1.el8_10 |
| Red Hat Enterprise Linux 8 | gdb-headless | 0:8.2-20.1.el8_10 |
| Red Hat Enterprise Linux 9 | gdb | 0:16.3-3.1.el9_8 |
| Red Hat Enterprise Linux 9 | gdb-debuginfo | 0:16.3-3.1.el9_8 |
| Red Hat Enterprise Linux 9 | gdb-debugsource | 0:16.3-3.1.el9_8 |
| Red Hat Enterprise Linux 9 | gdb-doc | 0:16.3-3.1.el9_8 |
| Red Hat Enterprise Linux 9 | gdb-gdbserver | 0:16.3-3.1.el9_8 |
| Red Hat Enterprise Linux 9 | gdb-headless | 0:16.3-3.1.el9_8 |
| Red Hat Enterprise Linux 9 | gdb-minimal | 0:16.3-3.1.el9_8 |
| Red Hat hummingbird 1 | gdb | 0:17.2-6.2.hum1 |
| Red Hat hummingbird 1 | gdb-doc | 0:17.2-6.2.hum1 |
| Red Hat hummingbird 1 | gdb-gdbserver | 0:17.2-6.2.hum1 |
| Red Hat hummingbird 1 | gdb-headless | 0:17.2-6.2.hum1 |
| Red Hat hummingbird 1 | gdb-minimal | 0:17.2-6.2.hum1 |
| Rocky Linux 10 | gdb | 0:16.3-3.1.el10_2 |
| Rocky Linux 8 | gdb | 0:8.2-20.1.el8_10 |
| Rocky Linux 9 | gdb | 0:16.3-3.1.el9_8 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | gdb | 16.3-150400.15.32.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | gdb | 16.3-150400.15.32.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | gdb | 16.3-150400.15.32.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | gdb | 16.3-150400.15.32.1 |
| SUSE Linux Enterprise Module for Development Tools 15 SP7 | gdb | 16.3-150400.15.32.1 |
| SUSE Linux Enterprise Server 12 SP5-LTSS | gdb | 13.2-2.29.1 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | gdb | 16.3-150400.15.32.1 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | gdb | 16.3-150400.15.32.1 |
| SUSE Linux Enterprise Server 15 SP6-LTSS | gdb | 16.3-150400.15.32.1 |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | gdb | 13.2-2.29.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | gdb | 16.3-150400.15.32.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | gdb | 16.3-150400.15.32.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | gdb | 16.3-150400.15.32.1 |
| SUSE Linux Micro Extras 6.2 | gdb | 16.3-160000.6.1 |
| Ubuntu 20.04 LTS | gdb | no fix |
| Ubuntu 22.04 LTS | gdb | no fix |
| Ubuntu 24.04 LTS | gdb | no fix |
| Ubuntu 26.04 LTS | gdb | no fix |
| Ubuntu 26.10 | gdb | no fix |
| Ubuntu Pro 16.04 LTS | gdb | no fix |
| Ubuntu Pro 18.04 LTS | gdb | no fix |
| openSUSE Leap 16.0 | gdb | 16.3-160000.6.1 |
| openSUSE Leap 16.0 | gdb-testresults | 16.3-160000.6.1 |