Skip to content
Heist/ feed
High

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-13732

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-13732

Red Hat Enterprise Linux 10

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Red Hat Enterprise Linux 8

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Red Hat Enterprise Linux 9

Source reference: /containers/cna/affected/2/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Red Hat Cost Management On-Premise 1

Source reference: /containers/cna/affected/3/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Red Hat Hardened Images

Source reference: /containers/cna/affected/4/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Red Hat Update Infrastructure 5

Source reference: /containers/cna/affected/5/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Red Hat Update Infrastructure 5

Source reference: /containers/cna/affected/6/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Red Hat Update Infrastructure 5

Source reference: /containers/cna/affected/7/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Red Hat Update Infrastructure 5

Source reference: /containers/cna/affected/8/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Red Hat Update Infrastructure 5

Source reference: /containers/cna/affected/9/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Red Hat Enterprise Linux 6

Source reference: /containers/cna/affected/10/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Red Hat Enterprise Linux 7

Source reference: /containers/cna/affected/11/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "cpes": [
      "cpe:/o:redhat:enterprise_linux:10.2"
    ],
    "vendor": "Red Hat",
    "product": "Red Hat Enterprise Linux 10",
    "versions": [
      {
        "status": "unaffected",
        "version": "0:16.3-3.1.el10_2",
        "lessThan": "*",
        "versionType": "rpm"
      }
    ],
    "packageName": "gdb",
    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
    "defaultStatus": "affected"
  },
  {
    "cpes": [
      "cpe:/a:redhat:enterprise_linux:8::appstream"
    ],
    "vendor": "Red Hat",
    "product": "Red Hat Enterprise Linux 8",
    "versions": [
      {
        "status": "unaffected",
        "version": "0:8.2-20.1.el8_10",
        "lessThan": "*",
        "versionType": "rpm"
      }
    ],
    "packageName": "gdb",
    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
    "defaultStatus": "affected"
  },
  {
    "cpes": [
      "cpe:/a:redhat:enterprise_linux:9::appstream"
    ],
    "vendor": "Red Hat",
    "product": "Red Hat Enterprise Linux 9",
    "versions": [
      {
        "status": "unaffected",
        "version": "0:16.3-3.1.el9_8",
        "lessThan": "*",
        "versionType": "rpm"
      }
    ],
    "packageName": "gdb",
    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
    "defaultStatus": "affected"
  },
  {
    "cpes": [
      "cpe:/a:redhat:cost_management_on_premise:1::el10"
    ],
    "vendor": "Red Hat",
    "product": "Red Hat Cost Management On-Premise 1",
    "versions": [
      {
        "status": "unaffected",
        "version": "1791460851",
        "lessThan": "*",
        "versionType": "rpm"
      }
    ],
    "packageName": "costmanagement/costmanagement-ui-rhel10",
    "collectionURL": "https://catalog.redhat.com/software/containers/",
    "defaultStatus": "affected"
  },
  {
    "cpes": [
      "cpe:/a:redhat:hummingbird:1"
    ],
    "vendor": "Red Hat",
    "product": "Red Hat Hardened Images",
    "versions": [
      {
        "status": "unaffected",
        "version": "17.2-6.2.hum1",
        "lessThan": "*",
        "versionType": "rpm"
      }
    ],
    "packageName": "gdb-main",
    "collectionURL": "https://catalog.redhat.com/software/containers/",
    "defaultStatus": "affected"
  },
  {
    "cpes": [
      "cpe:/a:redhat:rhui:5::el9"
    ],
    "vendor": "Red Hat",
    "product": "Red Hat Update Infrastructure 5",
    "versions": [
      {
        "status": "unaffected",
        "version": "1791978534",
        "lessThan": "*",
        "versionType": "rpm"
      }
    ],
    "packageName": "rhui5/cds-kubernetes-rhel9",
    "collectionURL": "https://catalog.redhat.com/software/containers/",
    "defaultStatus": "affected"
  },
  {
    "cpes": [
      "cpe:/a:redhat:rhui:5::el9"
    ],
    "vendor": "Red Hat",
    "product": "Red Hat Update Infrastructure 5",
    "versions": [
      {
        "status": "unaffected",
        "version": "1791978528",
        "lessThan": "*",
        "versionType": "rpm"
      }
    ],
    "packageName": "rhui5/cds-rhel9",
    "collectionURL": "https://catalog.redhat.com/software/containers/",
    "defaultStatus": "affected"
  },
  {
    "cpes": [
      "cpe:/a:redhat:rhui:5::el9"
    ],
    "vendor": "Red Hat",
    "product": "Red Hat Update Infrastructure 5",
    "versions": [
      {
        "status": "unaffected",
        "version": "1791978528",
        "lessThan": "*",
        "versionType": "rpm"
      }
    ],
    "packageName": "rhui5/haproxy-rhel9",
    "collectionURL": "https://catalog.redhat.com/software/containers/",
    "defaultStatus": "affected"
  },
  {
    "cpes": [
      "cpe:/a:redhat:rhui:5::el9"
    ],
    "vendor": "Red Hat",
    "product": "Red Hat Update Infrastructure 5",
    "versions": [
      {
        "status": "unaffected",
        "version": "1791964013",
        "lessThan": "*",
        "versionType": "rpm"
      }
    ],
    "packageName": "rhui5/installer-rhel9",
    "collectionURL": "https://catalog.redhat.com/software/containers/",
    "defaultStatus": "affected"
  },
  {
    "cpes": [
      "cpe:/a:redhat:rhui:5::el9"
    ],
    "vendor": "Red Hat",
    "product": "Red Hat Update Infrastructure 5",
    "versions": [
      {
        "status": "unaffected",
        "version": "1791978693",
        "lessThan": "*",
        "versionType": "rpm"
      }
    ],
    "packageName": "rhui5/rhua-rhel9",
    "collectionURL": "https://catalog.redhat.com/software/containers/",
    "defaultStatus": "affected"
  },
  {
    "cpes": [
      "cpe:/o:redhat:enterprise_linux:6"
    ],
    "vendor": "Red Hat",
    "product": "Red Hat Enterprise Linux 6",
    "packageName": "gdb",
    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
    "defaultStatus": "affected"
  },
  {
    "cpes": [
      "cpe:/o:redhat:enterprise_linux:7"
    ],
    "vendor": "Red Hat",
    "product": "Red Hat Enterprise Linux 7",
    "packageName": "gdb",
    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-13732

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#23024 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement