Red Hat Enterprise Linux 10
Gdb: gdb: out-of-bounds write in stabs parser read_member_functions() via crafted elf
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 versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 0:16.3-3.1.el10_2
Fixed in 0:14.2-4.3.el10_0
Fixed in 0:8.2-20.1.el8_10
Fixed in 0:8.2-15.1.el8_4
Fixed in 0:8.2-15.1.el8_4
Fixed in 0:8.2-18.1.el8_6
Fixed in 0:8.2-18.1.el8_6
Fixed in 0:8.2-19.1.el8_8
Fixed in 0:8.2-19.1.el8_8
Fixed in 0:16.3-3.1.el9_8
Fixed in 0:10.2-10.2.el9_2
Fixed in 0:10.2-13.1.el9_4
Fixed in 0:14.2-4.2.el9_6
Fixed in 1791460851
Fixed in 17.2-6.2.hum1
Fixed in 1794259031
Fixed in 1794259119
Fixed in 1794259034
Fixed in 1794259393
Fixed in 1794260794
Fixed in 1794260631
Fixed in 1794259404
Fixed in 1794259570
Fixed in 1794259370
Fixed in 1794259815
Fixed in 1794260191
Fixed in 1794259182
Fixed in 1794259064
Fixed in 1794260782
Fixed in 1794259958
Fixed in 1794259318
Fixed in 1794259380
Fixed in 1794259862
Fixed in 1794259110
Fixed in 1794259559
Fixed in 1794259807
Fixed in 1794259456
Fixed in 1794259162
Fixed in 1791978534
Fixed in 1791978528
Fixed in 1791978528
Fixed in 1791964013
Fixed in 1791978693
Mitigation
Upgrade Red Hat Enterprise Linux 10 to 0:16.3-3.1.el10_2 or later.
Upgrade Red Hat Enterprise Linux 10.0 Extended Update Support to 0:14.2-4.3.el10_0 or later.
Upgrade Red Hat Enterprise Linux 8 to 0:8.2-20.1.el8_10 or later.
Upgrade Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support to 0:8.2-15.1.el8_4 or later.
Upgrade Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On to 0:8.2-15.1.el8_4 or later.
Upgrade Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support to 0:8.2-18.1.el8_6 or later.
Upgrade Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On to 0:8.2-18.1.el8_6 or later.
Upgrade Red Hat Enterprise Linux 8.8 Telecommunications Update Service to 0:8.2-19.1.el8_8 or later.
Upgrade Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions to 0:8.2-19.1.el8_8 or later.
Upgrade Red Hat Enterprise Linux 9 to 0:16.3-3.1.el9_8 or later.
Upgrade Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions to 0:10.2-10.2.el9_2 or later.
Upgrade Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions to 0:10.2-13.1.el9_4 or later.
Upgrade Red Hat Enterprise Linux 9.6 Extended Update Support to 0:14.2-4.2.el9_6 or later.
Upgrade Red Hat Cost Management On-Premise 1 to 1791460851 or later.
Upgrade Red Hat Hardened Images to 17.2-6.2.hum1 or later.
Upgrade Red Hat OpenShift AI 3.0 to 1794259031 or later.
Upgrade Red Hat OpenShift AI 3.0 to 1794259119 or later.
Upgrade Red Hat OpenShift AI 3.0 to 1794259034 or later.
Upgrade Red Hat OpenShift AI 3.0 to 1794259393 or later.
Upgrade Red Hat OpenShift AI 3.0 to 1794260794 or later.
Upgrade Red Hat OpenShift AI 3.4 to 1794260631 or later.
Upgrade Red Hat OpenShift AI 3.4 to 1794259404 or later.
Upgrade Red Hat OpenShift AI 3.4 to 1794259570 or later.
Upgrade Red Hat OpenShift AI 3.4 to 1794259370 or later.
Upgrade Red Hat OpenShift AI 3.4 to 1794259815 or later.
Upgrade Red Hat OpenShift AI 3.4 to 1794260191 or later.
Upgrade Red Hat OpenShift AI 3.4 to 1794259182 or later.
Upgrade Red Hat OpenShift AI 3.4 to 1794259064 or later.
Upgrade Red Hat OpenShift AI 3.4 to 1794260782 or later.
Upgrade Red Hat OpenShift AI 3.5 to 1794259958 or later.
Upgrade Red Hat OpenShift AI 3.5 to 1794259318 or later.
Upgrade Red Hat OpenShift AI 3.5 to 1794259380 or later.
Upgrade Red Hat OpenShift AI 3.5 to 1794259862 or later.
Upgrade Red Hat OpenShift AI 3.5 to 1794259110 or later.
Upgrade Red Hat OpenShift AI 3.5 to 1794259559 or later.
Upgrade Red Hat OpenShift AI 3.5 to 1794259807 or later.
Upgrade Red Hat OpenShift AI 3.5 to 1794259456 or later.
Upgrade Red Hat OpenShift AI 3.5 to 1794259162 or later.
Upgrade Red Hat Update Infrastructure 5 to 1791978534 or later.
Upgrade Red Hat Update Infrastructure 5 to 1791978528 or later.
Upgrade Red Hat Update Infrastructure 5 to 1791978528 or later.
Upgrade Red Hat Update Infrastructure 5 to 1791964013 or later.
Upgrade Red Hat Update Infrastructure 5 to 1791978693 or later.
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
- Vendor advisory access.redhat.com/errata/RHSA-2026:73425
- Vendor advisory access.redhat.com/errata/RHSA-2026:73426
- Vendor advisory access.redhat.com/errata/RHSA-2026:73427
5 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:79357
- Vendor advisory access.redhat.com/errata/RHSA-2026:82447
- Vendor advisory access.redhat.com/errata/RHSA-2026:82939
- Vendor advisory access.redhat.com/errata/RHSA-2026:96095
- Vendor advisory access.redhat.com/errata/RHSA-2026:96096
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.