Gdb: gdb: out-of-bounds write in stabs parser read_member_functions() via crafted elf
CVE-2026-13732Published 31 Aug 2026, 19:23 UTC
Real-world risk
1.3/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.0
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from redhat)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Red Hat Enterprise LinuxUbiquitous | not stated | — |
| Red Hat OpenShift Container PlatformWidespread | not stated | — |
| Red Hat Cost Management On-Premise 1Niche | not stated | — |
| Red Hat Hardened ImagesNiche | not stated | — |
| Red Hat Update Infrastructure 5Niche | not stated | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.2% chance of exploitation in 30 days (percentile 9), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.158
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.1575 × threat 0.851.339
- Rounded to one decimal between 0.1 and 101.3
Exploitation and evidence timeline
- 31 Aug 2026 Published
- 2 Dec 2026 Risk 1.3 (cvss fallback)
Weakness
CWE-787
References
- https://access.redhat.com/errata/RHSA-2026:106289redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:106290redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:73425redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:73426redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:73427redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:79357redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:82447redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:82939redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:96095redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:96096redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:96097redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:96098redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:98414redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:98415redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:98416redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:98417redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:98419redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:98420redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:98421redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:98423redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:98427redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:98428redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:98429redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:98430redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:98431redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:98432redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:98434redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:98435redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:98436redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:98437redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:98438redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:98439redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:98440redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:98441redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:98443redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:99594redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:99596redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:99597redhat, vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-13732redhat, vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=2494416issue-tracking, redhat
- CVE-2026-13732 on CVE.org