CVE catalog

CVE-2026-13732

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

[CVE catalog]

Severity
High · CVSS 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.13% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiangdbsid18.1-3vulnerable
Debiangdbforky18.1-3vulnerable
Debiangdbtrixie16.3-1vulnerable
Debiangdbbookworm13.1-3vulnerable
Susegdblinux enterprise module for development tools 15 sp716.3-150400.15.32.1fixed
Susegdblinux enterprise high performance computing 15 sp4-espos16.3-150400.15.32.1fixed
Susegdblinux enterprise high performance computing 15 sp4-ltss16.3-150400.15.32.1fixed
Susegdblinux enterprise high performance computing 15 sp5-espos16.3-150400.15.32.1fixed
Susegdblinux enterprise high performance computing 15 sp5-ltss16.3-150400.15.32.1fixed
Susegdblinux enterprise server 15 sp4-ltss16.3-150400.15.32.1fixed
Susegdblinux enterprise server 15 sp5-ltss16.3-150400.15.32.1fixed
Susegdblinux enterprise server 15 sp6-ltss16.3-150400.15.32.1fixed
Susegdblinux enterprise server for sap applications 15 sp416.3-150400.15.32.1fixed
Susegdblinux enterprise server for sap applications 15 sp516.3-150400.15.32.1fixed
Susegdblinux enterprise server for sap applications 15 sp616.3-150400.15.32.1fixed
Opensusegdbleap 16.016.3-160000.6.1fixed
Opensusegdb-testresultsleap 16.016.3-160000.6.1fixed
Susegdblinux micro extras 6.216.3-160000.6.1fixed
Susegdblinux enterprise server 12 sp5-ltss13.2-2.29.1fixed
Susegdblinux enterprise server ltss extended security 12 sp513.2-2.29.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangdbsourcesid(unfixed)unimportantNot reportedNot reported
Debiangdbsourceforky(unfixed)unimportantNot reportedNot reported
Debiangdbsourcetrixie(unfixed)unimportantNot reportedNot reported
Debiangdbsourcebookworm(unfixed)unimportantNot reportedNot reported
Susegdbrpmlinux enterprise module for development tools 15 sp716.3-150400.15.32.1Not reportedSUSE-SU-2026:4400-1Not reported
Susegdbrpmlinux enterprise high performance computing 15 sp4-espos16.3-150400.15.32.1Not reportedSUSE-SU-2026:4400-1Not reported
Susegdbrpmlinux enterprise high performance computing 15 sp4-ltss16.3-150400.15.32.1Not reportedSUSE-SU-2026:4400-1Not reported
Susegdbrpmlinux enterprise high performance computing 15 sp5-espos16.3-150400.15.32.1Not reportedSUSE-SU-2026:4400-1Not reported
Susegdbrpmlinux enterprise high performance computing 15 sp5-ltss16.3-150400.15.32.1Not reportedSUSE-SU-2026:4400-1Not reported
Susegdbrpmlinux enterprise server 15 sp4-ltss16.3-150400.15.32.1Not reportedSUSE-SU-2026:4400-1Not reported
Susegdbrpmlinux enterprise server 15 sp5-ltss16.3-150400.15.32.1Not reportedSUSE-SU-2026:4400-1Not reported
Susegdbrpmlinux enterprise server 15 sp6-ltss16.3-150400.15.32.1Not reportedSUSE-SU-2026:4400-1Not reported
Susegdbrpmlinux enterprise server for sap applications 15 sp416.3-150400.15.32.1Not reportedSUSE-SU-2026:4400-1Not reported
Susegdbrpmlinux enterprise server for sap applications 15 sp516.3-150400.15.32.1Not reportedSUSE-SU-2026:4400-1Not reported
Susegdbrpmlinux enterprise server for sap applications 15 sp616.3-150400.15.32.1Not reportedSUSE-SU-2026:4400-1Not reported
Opensusegdbrpmleap 16.016.3-160000.6.1Not reportedOPENSUSE-SU-2026:21890-1Not reported
Opensusegdb-testresultsrpmleap 16.016.3-160000.6.1Not reportedOPENSUSE-SU-2026:21890-1Not reported
Susegdbrpmlinux micro extras 6.216.3-160000.6.1Not reportedSUSE-SU-2026:23849-1Not reported
Susegdbrpmlinux enterprise server 12 sp5-ltss13.2-2.29.1Not reportedSUSE-SU-2026:4294-1Not reported
Susegdbrpmlinux enterprise server ltss extended security 12 sp513.2-2.29.1Not reportedSUSE-SU-2026:4294-1Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [gdb]Affected
    Details (2)
    • 13.1-3 · amd64 · bookworm

      Affected

      nvd · gdb · debian · bookworm

    • 13.1-3 · arm64 · bookworm

      Affected

      nvd · gdb · debian · bookworm

  • [gdb-minimal]Affected

    Source package: [gdb]

    Details (2)
    • 13.1-3 · amd64 · bookworm

      Affected

      nvd · gdb · debian · bookworm

    • 13.1-3 · arm64 · bookworm

      Affected

      nvd · gdb · debian · bookworm

  • [gdb-multiarch]Affected

    Source package: [gdb]

    Details (2)
    • 13.1-3 · amd64 · bookworm

      Affected

      nvd · gdb · debian · bookworm

    • 13.1-3 · arm64 · bookworm

      Affected

      nvd · gdb · debian · bookworm

  • [gdbserver]Affected

    Source package: [gdb]

    Details (2)
    • 13.1-3 · amd64 · bookworm

      Affected

      nvd · gdb · debian · bookworm

    • 13.1-3 · arm64 · bookworm

      Affected

      nvd · gdb · debian · bookworm

  • [gdb-source]Affected

    Source package: [gdb]

    Details (2)
    • 13.1-3 · all · bookworm

      Affected

      nvd · gdb · debian · bookworm

    • 13.1-3 · all · bookworm

      Affected

      nvd · gdb · debian · bookworm

Observed:

References