Skip to content
OpenAdvisories
High · 7.0 CVE-2026-13732 EUVD-2026-68746GHSA-j2fm-9w3c-hpj9

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

Published Aug 31, 2026 · Updated Nov 13, 2026 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support — —
Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On — —
Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support — —
Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On — —
Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service — —
Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions — —
Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support — —
Red Hat Red Hat Cost Management On-Premise 1 — —
Red Hat Red Hat Hardened Images — —
Red Hat Red Hat OpenShift AI 3.0 — —
Red Hat Red Hat OpenShift AI 3.4 — —
Red Hat Red Hat OpenShift AI 3.5 — —
Red Hat Red Hat Update Infrastructure 5 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 gdb No fix yet —
Debian 13 gdb No fix yet —
Debian 12 gdb No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 gdb No fix yet —
Ubuntu 26.04 LTS gdb No fix yet —
Ubuntu 24.04 LTS gdb No fix yet —
Ubuntu 22.04 LTS gdb No fix yet —
Ubuntu 20.04 LTS gdb No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS gdb No fix yet —
Ubuntu Pro 16.04 LTS gdb No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 gdb +4 16.3-3.1.el10_2 RHSA-2026:73427
RHEL 9 gdb +4 16.3-3.1.el9_8 RHSA-2026:73426
RHEL 8 gdb +3 8.2-20.1.el8_10 RHSA-2026:73425
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 gdb +4 17.2-6.2.hum1 RHSA-2026:82447

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 gdb +4 16.3-3.1.el10_2 ALSA-2026:73427
AlmaLinux 9 gdb +4 16.3-3.1.el9_8 ALSA-2026:73426
AlmaLinux 8 gdb +3 8.2-20.1.el8_10 ALSA-2026:73425

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 gdb 16.3-3.1.el10_2 RLSA-2026:73427
Rocky Linux 9 gdb 16.3-3.1.el9_8 RLSA-2026:73426
Rocky Linux 8 gdb 8.2-20.1.el8_10 RLSA-2026:73425
ReleasePackageFixed inAdvisory
SLES 15 SP7 gdb 16.3-150400.15.32.1 SUSE-SU-2026:4400-1
SLES 15 SP6 gdb 16.3-150400.15.32.1 SUSE-SU-2026:4400-1
SLES 15 SP5 gdb 16.3-150400.15.32.1 SUSE-SU-2026:4400-1
SLES 15 SP4 gdb 16.3-150400.15.32.1 SUSE-SU-2026:4400-1
SLES 12 SP5 gdb 13.2-2.29.1 SUSE-SU-2026:4294-1
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP6 gdb 16.3-150400.15.32.1 SUSE-SU-2026:4400-1
SLES for SAP 15 SP5 gdb 16.3-150400.15.32.1 SUSE-SU-2026:4400-1
SLES for SAP 15 SP4 gdb 16.3-150400.15.32.1 SUSE-SU-2026:4400-1
SLE Micro 6.2 gdb 16.3-160000.6.1 SUSE-SU-2026:23849-1
SLE HPC 15 SP5 gdb 16.3-150400.15.32.1 SUSE-SU-2026:4400-1
SLE HPC 15 SP4 gdb 16.3-150400.15.32.1 SUSE-SU-2026:4400-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed gdb 17.2-1.1 openSUSE-SU-2026:12483-1
openSUSE Leap 16.0 gdb +1 16.3-160000.6.1 openSUSE-SU-2026:21890-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 crash +1 8.0.5-5.amzn2023.0.2 ALAS2023-2026-3118
Amazon Linux 2023 gdb +4 16.3-1.amzn2023.0.2 ALAS2023-2026-3142
Amazon Linux 2 crash +1 8.0.4-4.amzn2.0.2 ALAS2-2026-3937
Amazon Linux 2 gdb +2 8.0.1-36.amzn2.0.3 ALAS2-2026-3958

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 gdb +1 No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 gdb +4 16.3-3.1.0.1.el10_2 ELSA-2026-73427
Oracle Linux 9 gdb +4 16.3-3.1.0.1.el9_8 ELSA-2026-73426
Oracle Linux 8 gdb +3 8.2-20.1.0.1.el8_10 ELSA-2026-73425

Advisories 23

References