CVE-2026-13732Gdb: gdb: out-of-bounds write in stabs parser read_member_functions() via crafted elf
- 7.0HighCVSS base score
- 0.14%Exploitation in 30 daysEPSS · top 96% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By redhat
- 2 months later
· 2 months later
Published
- 2 months later
· 2 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | High7.0 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVDNVD · Awaiting Analysis | 3.1 | High7.0 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.14% · top 96% of all CVEs (12 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.0.
Affected products
Red Hat · Red Hat Enterprise Linux 10
- unaffected 0:16.3-3.1.el10_2 – < *
Red Hat · Red Hat Enterprise Linux 10.0 Extended Update Support
- unaffected 0:14.2-4.3.el10_0 – < *
Red Hat · Red Hat Enterprise Linux 8
- unaffected 0:8.2-20.1.el8_10 – < *
Red Hat · Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
- unaffected 0:8.2-15.1.el8_4 – < *
Red Hat · Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
- unaffected 0:8.2-15.1.el8_4 – < *
Red Hat · Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
- unaffected 0:8.2-18.1.el8_6 – < *
Red Hat · Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
- unaffected 0:8.2-18.1.el8_6 – < *
Red Hat · Red Hat Enterprise Linux 8.8 Telecommunications Update Service
- unaffected 0:8.2-19.1.el8_8 – < *
Red Hat · Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
- unaffected 0:8.2-19.1.el8_8 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:16.3-3.1.el9_8 – < *
Red Hat · Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
- unaffected 0:10.2-10.2.el9_2 – < *
Red Hat · Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
- unaffected 0:10.2-13.1.el9_4 – < *
Red Hat · Red Hat Enterprise Linux 9.6 Extended Update Support
- unaffected 0:14.2-4.2.el9_6 – < *
Red Hat · Red Hat Cost Management On-Premise 1
- unaffected 1791460851 – < *
Red Hat · Red Hat Hardened Images
- unaffected 17.2-6.2.hum1 – < *
Red Hat · Red Hat OpenShift AI 3.0
- unaffected 1794259031 – < *
Red Hat · Red Hat OpenShift AI 3.0
- unaffected 1794259119 – < *
Red Hat · Red Hat OpenShift AI 3.0
- unaffected 1794259034 – < *
Red Hat · Red Hat OpenShift AI 3.0
- unaffected 1794259393 – < *
Red Hat · Red Hat OpenShift AI 3.0
- unaffected 1794260794 – < *
Red Hat · Red Hat OpenShift AI 3.4
- unaffected 1794260631 – < *
Red Hat · Red Hat OpenShift AI 3.4
- unaffected 1794259404 – < *
Red Hat · Red Hat OpenShift AI 3.4
- unaffected 1794259570 – < *
Red Hat · Red Hat OpenShift AI 3.4
- unaffected 1794259370 – < *
Red Hat · Red Hat OpenShift AI 3.4
- unaffected 1794259815 – < *
Red Hat · Red Hat OpenShift AI 3.4
- unaffected 1794260191 – < *
Red Hat · Red Hat OpenShift AI 3.4
- unaffected 1794259182 – < *
Red Hat · Red Hat OpenShift AI 3.4
- unaffected 1794259064 – < *
Red Hat · Red Hat OpenShift AI 3.4
- unaffected 1794260782 – < *
Red Hat · Red Hat OpenShift AI 3.5
- unaffected 1794259958 – < *
Red Hat · Red Hat OpenShift AI 3.5
- unaffected 1794259318 – < *
Red Hat · Red Hat OpenShift AI 3.5
- unaffected 1794259380 – < *
Red Hat · Red Hat OpenShift AI 3.5
- unaffected 1794259862 – < *
Red Hat · Red Hat OpenShift AI 3.5
- unaffected 1794259110 – < *
Red Hat · Red Hat OpenShift AI 3.5
- unaffected 1794259559 – < *
Red Hat · Red Hat OpenShift AI 3.5
- unaffected 1794259807 – < *
Red Hat · Red Hat OpenShift AI 3.5
- unaffected 1794259456 – < *
Red Hat · Red Hat OpenShift AI 3.5
- unaffected 1794259162 – < *
Red Hat · Red Hat Update Infrastructure 5
- unaffected 1791978534 – < *
Red Hat · Red Hat Update Infrastructure 5
- unaffected 1791978528 – < *
Red Hat · Red Hat Update Infrastructure 5
- unaffected 1791978528 – < *
Red Hat · Red Hat Update Infrastructure 5
- unaffected 1791964013 – < *
Red Hat · Red Hat Update Infrastructure 5
- unaffected 1791978693 – < *
Red Hat · Red Hat Enterprise Linux 6
All versions: affected
Red Hat · Red Hat Enterprise Linux 7
All versions: affected
What to do
Workaround: The following practices would help for avoiding exposure and mitigate this flaw: - Do not open untrusted or unknown ELF binaries in GDB without first stripping debug sections. Use `objcopy --remove-section=.stab --remove-section=.stabstr <binary>` before debugging. - Use `readelf -S <binary> | grep stab` to check for the presence of STABS sections before opening a binary in GDB. Legitimate modern binaries use DWARF, not STABS. - Consider using LLDB or other debuggers that do not support STABS for analysis of untrusted binaries. - For automated environments (CI, test farms) that invoke GDB on potentially untrusted binaries, run GDB in a sandboxed or containerized environment with restricted filesystem access. - GDB 17+ deprecates STABS support but still parses it. GDB 18 (expected late 2026/2027) will remove STABS support entirely. - GCC removed STABS emitting in GCC 13 (2023), so legitimately compiled binaries from recent GCC versions will not contain STABS data.
References
References38
- RHSA-2026:73425 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:73426 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:73427 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:79357 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:82447 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:82939 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:96095 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:96096 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:96097 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:96098 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:98414 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:98415 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:98416 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:98417 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:98419 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:98420 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:98421 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:98423 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:98427 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:98428 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:98429 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:98430 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:98431 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:98432 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:98434 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:98435 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:98436 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:98437 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:98438 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:98439 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:98440 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:98441 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:98443 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:99594 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:99596 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- RHSA-2026:99597 (opens in a new tab)vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-13732 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#2494416 (opens in a new tab)issue-trackingx_refsource_REDHAT
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-68746 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-13732)Record last updated .