CVE-2026-13732

Gdb: gdb: out-of-bounds write in stabs parser read_member_functions() via crafted elf

7.0 high EPSS 0.20%

Published 31 Aug 2026 Updated 26 Nov 2026 CNA: redhat

Check your servers for CVE-2026-13732

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-13732 affects gdb, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.0 high CVSS 3.1 from redhat (CNA)
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
none: the attacker does not need an account
User interaction
required: a user has to do something, such as open a link or a file
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.33% of all scored CVEs. Scores of 30 Nov 2026.

The assessment of CISA (SSVC, 1 Sep 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

Affected products

As the CNA lists them.

ProductVersions
Red Hat Enterprise Linux 10
package gdb
unaffected 0:16.3-3.1.el10_2 and later
Other versions: affected
Red Hat Enterprise Linux 10.0 Extended Update Support
package gdb
unaffected 0:14.2-4.3.el10_0 and later
Other versions: affected
Red Hat Enterprise Linux 8
package gdb
unaffected 0:8.2-20.1.el8_10 and later
Other versions: affected
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
package gdb
unaffected 0:8.2-15.1.el8_4 and later
Other versions: affected
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
package gdb
unaffected 0:8.2-15.1.el8_4 and later
Other versions: affected
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
package gdb
unaffected 0:8.2-18.1.el8_6 and later
Other versions: affected
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
package gdb
unaffected 0:8.2-18.1.el8_6 and later
Other versions: affected
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
package gdb
unaffected 0:8.2-19.1.el8_8 and later
Other versions: affected
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
package gdb
unaffected 0:8.2-19.1.el8_8 and later
Other versions: affected
Red Hat Enterprise Linux 9
package gdb
unaffected 0:16.3-3.1.el9_8 and later
Other versions: affected
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
package gdb
unaffected 0:10.2-10.2.el9_2 and later
Other versions: affected
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
package gdb
unaffected 0:10.2-13.1.el9_4 and later
Other versions: affected
Red Hat Enterprise Linux 9.6 Extended Update Support
package gdb
unaffected 0:14.2-4.2.el9_6 and later
Other versions: affected
Red Hat Cost Management On-Premise 1
package costmanagement/costmanagement-ui-rhel10
unaffected 1791460851 and later
Other versions: affected
Red Hat Hardened Images
package gdb-main
unaffected 17.2-6.2.hum1 and later
Other versions: affected
Red Hat OpenShift AI 3.0
package rhai/base-image-rocm-rhel9
unaffected 1794259031 and later
Other versions: affected
Red Hat OpenShift AI 3.0
package rhai/base-image-tpu-rhel9
unaffected 1794259119 and later
Other versions: affected
Red Hat OpenShift AI 3.0
package rhai/base-image-spyre-rhel9
unaffected 1794259034 and later
Other versions: affected
Red Hat OpenShift AI 3.0
package rhai/base-image-cuda-rhel9
unaffected 1794259393 and later
Other versions: affected
Red Hat OpenShift AI 3.0
package rhai/base-image-cpu-rhel9
unaffected 1794260794 and later
Other versions: affected
Red Hat OpenShift AI 3.4
package rhai/base-image-rocm-7.1-rhel9
unaffected 1794260631 and later
Other versions: affected
Red Hat OpenShift AI 3.4
package rhai/base-image-neuron-rhel9
unaffected 1794259404 and later
Other versions: affected
Red Hat OpenShift AI 3.4
package rhai/base-image-gaudi-rhel9
unaffected 1794259570 and later
Other versions: affected
Red Hat OpenShift AI 3.4
package rhai/base-image-tpu-rhel9
unaffected 1794259370 and later
Other versions: affected
Red Hat OpenShift AI 3.4
package rhai/base-image-cpu-rhel9
unaffected 1794259815 and later
Other versions: affected
Red Hat OpenShift AI 3.4
package rhai/base-image-spyre-rhel9
unaffected 1794260191 and later
Other versions: affected
Red Hat OpenShift AI 3.4
package rhai/base-image-cuda-13.0-rhel9
unaffected 1794259182 and later
Other versions: affected
Red Hat OpenShift AI 3.4
package rhai/base-image-rocm-6.4-rhel9
unaffected 1794259064 and later
Other versions: affected
Red Hat OpenShift AI 3.4
package rhai/base-image-cuda-12.9-rhel9
unaffected 1794260782 and later
Other versions: affected
Red Hat OpenShift AI 3.5
package rhai/base-image-cuda-13.0-rhel9
unaffected 1794259958 and later
Other versions: affected
Red Hat OpenShift AI 3.5
package rhai/base-image-neuron-rhel9
unaffected 1794259318 and later
Other versions: affected
Red Hat OpenShift AI 3.5
package rhai/base-image-gaudi-rhel9
unaffected 1794259380 and later
Other versions: affected
Red Hat OpenShift AI 3.5
package rhai/base-image-rubin-rhel9
unaffected 1794259862 and later
Other versions: affected
Red Hat OpenShift AI 3.5
package rhai/base-image-cpu-rhel9
unaffected 1794259110 and later
Other versions: affected
Red Hat OpenShift AI 3.5
package rhai/base-image-rocm-7.14-rhel9
unaffected 1794259559 and later
Other versions: affected
Red Hat OpenShift AI 3.5
package rhai/base-image-tpu-rhel9
unaffected 1794259807 and later
Other versions: affected
Red Hat OpenShift AI 3.5
package rhai/base-image-cuda-12.9-rhel9
unaffected 1794259456 and later
Other versions: affected
Red Hat OpenShift AI 3.5
package rhai/base-image-spyre-rhel9
unaffected 1794259162 and later
Other versions: affected
Red Hat Update Infrastructure 5
package rhui5/cds-kubernetes-rhel9
unaffected 1791978534 and later
Other versions: affected
Red Hat Update Infrastructure 5
package rhui5/cds-rhel9
unaffected 1791978528 and later
Other versions: affected
Red Hat Update Infrastructure 5
package rhui5/haproxy-rhel9
unaffected 1791978528 and later
Other versions: affected
Red Hat Update Infrastructure 5
package rhui5/installer-rhel9
unaffected 1791964013 and later
Other versions: affected
Red Hat Update Infrastructure 5
package rhui5/rhua-rhel9
unaffected 1791978693 and later
Other versions: affected
Red Hat Enterprise Linux 6
package gdb
affected the record does not list versions
Red Hat Enterprise Linux 7
package gdb
affected the record does not list versions

Is my server affected?

Find the installed version of gdb and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i gdb
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-13732 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-13732

RHEL, Rocky, Alma, Fedora

rpm -q gdb
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-13732

Alpine

apk list --installed | grep -i gdb

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-13732
trivy image --scanners vuln IMAGE | grep CVE-2026-13732

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

26 more

Source: the record CVE-2026-13732 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.