CVE-2026-13732
High 7.0No known exploitationFix status unknownGdb: gdb: out-of-bounds write in stabs parser read_member_functions() via crafted elf
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 5% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-787
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- 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 ` before debugging. - Use `readelf -S | 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. Source (opens in a new tab)
- Vendor guidance
- access.redhat.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 6 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 7 | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Cost Management On-Premise 1 (unaffected) | 1791460851 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 10 (unaffected) | 0:16.3-3.1.el10_2 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 10.0 Extended Update Support (unaffected) | 0:14.2-4.3.el10_0 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 8 (unaffected) | 0:8.2-20.1.el8_10 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support (unaffected) | 0:8.2-15.1.el8_4 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On (unaffected) | 0:8.2-15.1.el8_4 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support (unaffected) | 0:8.2-18.1.el8_6 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On (unaffected) | 0:8.2-18.1.el8_6 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 8.8 Telecommunications Update Service (unaffected) | 0:8.2-19.1.el8_8 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions (unaffected) | 0:8.2-19.1.el8_8 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 9 (unaffected) | 0:16.3-3.1.el9_8 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions (unaffected) | 0:10.2-10.2.el9_2 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions (unaffected) | 0:10.2-13.1.el9_4 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 9.6 Extended Update Support (unaffected) | 0:14.2-4.2.el9_6 | Not documented | CVE Program |
| Red Hat | Red Hat Hardened Images (unaffected) | 17.2-6.2.hum1 | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI 3.0 (unaffected) | 1794259031 | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI 3.0 (unaffected) | 1794259034 | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI 3.0 (unaffected) | 1794259119 | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI 3.0 (unaffected) | 1794259393 | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI 3.0 (unaffected) | 1794260794 | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI 3.4 (unaffected) | 1794259064 | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI 3.4 (unaffected) | 1794259182 | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI 3.4 (unaffected) | 1794259370 | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI 3.4 (unaffected) | 1794259404 | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI 3.4 (unaffected) | 1794259570 | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI 3.4 (unaffected) | 1794259815 | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI 3.4 (unaffected) | 1794260191 | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI 3.4 (unaffected) | 1794260631 | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI 3.4 (unaffected) | 1794260782 | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI 3.5 (unaffected) | 1794259110 | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI 3.5 (unaffected) | 1794259162 | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI 3.5 (unaffected) | 1794259318 | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI 3.5 (unaffected) | 1794259380 | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI 3.5 (unaffected) | 1794259456 | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI 3.5 (unaffected) | 1794259559 | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI 3.5 (unaffected) | 1794259807 | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI 3.5 (unaffected) | 1794259862 | Not documented | CVE Program |
| Red Hat | Red Hat OpenShift AI 3.5 (unaffected) | 1794259958 | Not documented | CVE Program |
| Red Hat | Red Hat Update Infrastructure 5 (unaffected) | 1791964013 | Not documented | CVE Program |
| Red Hat | Red Hat Update Infrastructure 5 (unaffected) | 1791978528 | Not documented | CVE Program |
| Red Hat | Red Hat Update Infrastructure 5 (unaffected) | 1791978528 | Not documented | CVE Program |
| Red Hat | Red Hat Update Infrastructure 5 (unaffected) | 1791978534 | Not documented | CVE Program |
| Red Hat | Red Hat Update Infrastructure 5 (unaffected) | 1791978693 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by redhat
Source: CVE Program (opens in a new tab)
Vendor guidance and references
- RHSA-2026:73425 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:73426 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:73427 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:79357 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:82447 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:82939 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:96095 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:96096 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:96097 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:96098 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:98414 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:98415 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:98416 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:98417 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:98419 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:98420 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:98421 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:98423 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:98427 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:98428 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:98429 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:98430 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:98431 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:98432 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:98434 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:98435 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:98436 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:98437 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:98438 (opens in a new tab)vendor-advisory, x_refsource_redhat
- RHSA-2026:98439 (opens in a new tab)vendor-advisory, x_refsource_redhat