# CVE-2026-13732: Gdb: gdb: out-of-bounds write in stabs parser read_member_functions() via crafted elf

- Severity: High 7.0 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 5% of CVEs (2026-11-30)
- Published: 2026-08-31T19:23:18.741Z
- Modified: 2026-11-26T13:58:25.259Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- gdb: no versions given (not affected: from 0:16.3-3.1.el10_2 before *; from 0:14.2-4.3.el10_0 before *; from 0:8.2-20.1.el8_10 before *; from 0:8.2-15.1.el8_4 before *; from 0:8.2-18.1.el8_6 before *; from 0:8.2-19.1.el8_8 before *; from 0:16.3-3.1.el9_8 before *; from 0:10.2-10.2.el9_2 before *; from 0:10.2-13.1.el9_4 before *; from 0:14.2-4.2.el9_6 before *)
- costmanagement/costmanagement-ui-rhel10: no versions given (not affected: from 1791460851 before *)
- gdb-main: no versions given (not affected: from 17.2-6.2.hum1 before *)
- rhai/base-image-rocm-rhel9: no versions given (not affected: from 1794259031 before *)
- rhai/base-image-tpu-rhel9: no versions given (not affected: from 1794259119 before *; from 1794259370 before *; from 1794259807 before *)
- rhai/base-image-spyre-rhel9: no versions given (not affected: from 1794259034 before *; from 1794260191 before *; from 1794259162 before *)
- rhai/base-image-cuda-rhel9: no versions given (not affected: from 1794259393 before *)
- rhai/base-image-cpu-rhel9: no versions given (not affected: from 1794260794 before *; from 1794259815 before *; from 1794259110 before *)
- rhai/base-image-rocm-7.1-rhel9: no versions given (not affected: from 1794260631 before *)
- rhai/base-image-neuron-rhel9: no versions given (not affected: from 1794259404 before *; from 1794259318 before *)
- rhai/base-image-gaudi-rhel9: no versions given (not affected: from 1794259570 before *; from 1794259380 before *)
- rhai/base-image-cuda-13.0-rhel9: no versions given (not affected: from 1794259182 before *; from 1794259958 before *)
- rhai/base-image-rocm-6.4-rhel9: no versions given (not affected: from 1794259064 before *)
- rhai/base-image-cuda-12.9-rhel9: no versions given (not affected: from 1794260782 before *; from 1794259456 before *)
- rhai/base-image-rubin-rhel9: no versions given (not affected: from 1794259862 before *)
- rhai/base-image-rocm-7.14-rhel9: no versions given (not affected: from 1794259559 before *)
- rhui5/cds-kubernetes-rhel9: no versions given (not affected: from 1791978534 before *)
- rhui5/cds-rhel9: no versions given (not affected: from 1791978528 before *)
- rhui5/haproxy-rhel9: no versions given (not affected: from 1791978528 before *)
- rhui5/installer-rhel9: no versions given (not affected: from 1791964013 before *)
- rhui5/rhua-rhel9: no versions given (not affected: from 1791978693 before *)

## References

- <https://access.redhat.com/errata/RHSA-2026:73425> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:73426> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:73427> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:79357> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:82447> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:82939> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:96095> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:96096> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:96097> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:96098> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98414> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98415> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98416> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98417> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98419> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98420> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98421> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98423> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98427> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98428> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98429> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98430> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98431> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98432> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98434> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98435> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98436> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98437> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98438> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98439> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98440> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98441> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98443> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:99594> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:99596> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:99597> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-13732> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2494416> (issue-tracking)

## Sources

- CVE List: [CVE-2026-13732](https://www.cve.org/CVERecord?id=CVE-2026-13732), CVE Terms of Use, modified 2026-11-26
- NVD: [CVE-2026-13732](https://nvd.nist.gov/vuln/detail/CVE-2026-13732), Public domain, modified 2026-11-13

---

Page: https://cve.day/CVE-2026-13732 · Whole record: https://cve.day/CVE-2026-13732.json · Rebuilt by cve.day 2026-11-26T14:07:21.478Z
