CVE-2026-13732Gdb: gdb: out-of-bounds write in stabs parser read_member_functions() via crafted elf
Updated under an hour ago ()
Does this affect you?
It affects Red Hat Enterprise Linux 10 and 3 other products. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 7.0 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weakness (CWE)
- CWE-787
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- redhat
- NVD analysis
- Awaiting Analysis
- Record last updated
- Oct 14, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Red Hat Red Hat Enterprise Linux 10 redhat:enterprise_linux | from 0:16.3-3.1.el10_2 not affected | CNA record |
Red Hat Red Hat Cost Management On-Premise 1 redhat:cost_management_on_premise | from 1791460851 not affected | CNA record |
Red Hat Red Hat Hardened Images redhat:hummingbird | from 17.2-6.2.hum1 not affected | CNA record |
Red Hat Red Hat Update Infrastructure 5 redhat:rhui | from 1791978534 not affected | CNA record |
References
- https://access.redhat.com/errata/RHSA-2026:73425vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:73426vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:73427vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:79357vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:82447vendor-advisory, x-refsource-redhat
- https://access.redhat.com/errata/RHSA-2026:82939vendor-advisory, x-refsource-redhat
- https://access.redhat.com/security/cve/CVE-2026-13732vdb-entry, x-refsource-redhat
- https://bugzilla.redhat.com/show_bug.cgi?id=2494416issue-tracking, x-refsource-redhat
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.