Vulnerability · Published Aug 31, 2026 · Assigned by redhat
CVE-2026-13732Gdb: gdb: out-of-bounds write in stabs parser read_member_functions() via crafted elf
High 7.0
In plain English
A high-severity out-of-bounds write in Red Hat Cost Management On-Premise 1 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | gdb | 16.3-3.1.el10_2 | ALSA-2026:73427 |
| AlmaLinux:8 | gdb | 8.2-20.1.el8_10 | ALSA-2026:73425 |
| AlmaLinux:9 | gdb | 16.3-3.1.el9_8 | ALSA-2026:73426 |
| AlmaLinux:10 | gdb-doc | 16.3-3.1.el10_2 | ALSA-2026:73427 |
| AlmaLinux:8 | gdb-doc | 8.2-20.1.el8_10 | ALSA-2026:73425 |
| AlmaLinux:9 | gdb-doc | 16.3-3.1.el9_8 | ALSA-2026:73426 |
| AlmaLinux:10 | gdb-gdbserver | 16.3-3.1.el10_2 | ALSA-2026:73427 |
| AlmaLinux:8 | gdb-gdbserver | 8.2-20.1.el8_10 | ALSA-2026:73425 |
| AlmaLinux:9 | gdb-gdbserver | 16.3-3.1.el9_8 | ALSA-2026:73426 |
| AlmaLinux:10 | gdb-headless | 16.3-3.1.el10_2 | ALSA-2026:73427 |
| AlmaLinux:8 | gdb-headless | 8.2-20.1.el8_10 | ALSA-2026:73425 |
| AlmaLinux:9 | gdb-headless | 16.3-3.1.el9_8 | ALSA-2026:73426 |
| AlmaLinux:10 | gdb-minimal | 16.3-3.1.el10_2 | ALSA-2026:73427 |
| AlmaLinux:9 | gdb-minimal | 16.3-3.1.el9_8 | ALSA-2026:73426 |
| Debian:12 | gdb | no fix listed | DEBIAN-CVE-2026-13732 |
| Debian:13 | gdb | no fix listed | DEBIAN-CVE-2026-13732 |
| Debian:14 | gdb | no fix listed | DEBIAN-CVE-2026-13732 |
| Rocky Linux:10 | gdb | 0:16.3-3.1.el10_2 | RLSA-2026:73427 |
| Rocky Linux:8 | gdb | 0:8.2-20.1.el8_10 | RLSA-2026:73425 |
| Rocky Linux:9 | gdb | 0:16.3-3.1.el9_8 | RLSA-2026:73426 |
| Ubuntu:22.04:LTS | gdb | no fix listed | UBUNTU-CVE-2026-13732 |
| Ubuntu:24.04:LTS | gdb | no fix listed | UBUNTU-CVE-2026-13732 |
| Ubuntu:26.04:LTS | gdb | no fix listed | UBUNTU-CVE-2026-13732 |
| Ubuntu:26.10 | gdb | no fix listed | UBUNTU-CVE-2026-13732 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Red Hat | Red Hat Cost Management On-Premise 1 | see references |
| Red Hat | Red Hat Hardened Images | see references |
| Red Hat | Red Hat Update Infrastructure 5 | see references |
| Red Hat | Red Hat Update Infrastructure 5 | see references |
| Red Hat | Red Hat Update Infrastructure 5 | see references |
| Red Hat | Red Hat Update Infrastructure 5 | see references |
| Red Hat | Red Hat Update Infrastructure 5 | see references |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
Weakness: CWE-787 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- RHSA-2026:73425 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:73426 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:73427 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:79357 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:82447 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:82939 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-13732 vdb-entry, x_refsource_REDHAT
- RHBZ#2494416 issue-tracking, x_refsource_REDHAT