GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration
ubuntu-cve-2026-13732
Vulnerability from osv_ubuntu
Published
2026-08-31 20:17
Modified
2026-09-02 16:12
Summary
Details

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": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gdb",
            "binary_version": "7.11.1-0ubuntu1~16.5+esm1"
          },
          {
            "binary_name": "gdb-multiarch",
            "binary_version": "7.11.1-0ubuntu1~16.5+esm1"
          },
          {
            "binary_name": "gdb-source",
            "binary_version": "7.11.1-0ubuntu1~16.5+esm1"
          },
          {
            "binary_name": "gdb64",
            "binary_version": "7.11.1-0ubuntu1~16.5+esm1"
          },
          {
            "binary_name": "gdbserver",
            "binary_version": "7.11.1-0ubuntu1~16.5+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "gdb",
        "purl": "pkg:deb/ubuntu/gdb@7.11.1-0ubuntu1~16.5+esm1?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.10-1ubuntu2",
        "7.10-1ubuntu3",
        "7.10.1-0ubuntu1",
        "7.10.90.20160215-0ubuntu2",
        "7.10.90.20160220-0ubuntu1",
        "7.11-0ubuntu1",
        "7.11.1-0ubuntu1~16.04",
        "7.11.1-0ubuntu1~16.5",
        "7.11.1-0ubuntu1~16.5+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gdb",
            "binary_version": "8.1.1-0ubuntu1+esm1"
          },
          {
            "binary_name": "gdb-multiarch",
            "binary_version": "8.1.1-0ubuntu1+esm1"
          },
          {
            "binary_name": "gdb-source",
            "binary_version": "8.1.1-0ubuntu1+esm1"
          },
          {
            "binary_name": "gdbserver",
            "binary_version": "8.1.1-0ubuntu1+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "gdb",
        "purl": "pkg:deb/ubuntu/gdb@8.1.1-0ubuntu1+esm1?arch=source\u0026distro=esm-infra/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "8.0.1-0ubuntu1",
        "8.0.1-0ubuntu2",
        "8.0.1-0ubuntu3",
        "8.1-0ubuntu1",
        "8.1-0ubuntu2",
        "8.1-0ubuntu3",
        "8.1-0ubuntu3.1",
        "8.1-0ubuntu3.2",
        "8.1.1-0ubuntu1",
        "8.1.1-0ubuntu1+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gdb",
            "binary_version": "9.2-0ubuntu1~20.04.2"
          },
          {
            "binary_name": "gdb-multiarch",
            "binary_version": "9.2-0ubuntu1~20.04.2"
          },
          {
            "binary_name": "gdb-source",
            "binary_version": "9.2-0ubuntu1~20.04.2"
          },
          {
            "binary_name": "gdbserver",
            "binary_version": "9.2-0ubuntu1~20.04.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "gdb",
        "purl": "pkg:deb/ubuntu/gdb@9.2-0ubuntu1~20.04.2?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "8.3-0ubuntu1",
        "9.0.50.20191019-0ubuntu1",
        "9.0.50.20191119-0ubuntu1",
        "9.0.90.20191216-0ubuntu1",
        "9.0.90.20200105-0ubuntu1",
        "9.0.90.20200117-0ubuntu1",
        "9.1-0ubuntu1",
        "9.2-0ubuntu1~20.04",
        "9.2-0ubuntu1~20.04.1",
        "9.2-0ubuntu1~20.04.2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gdb",
            "binary_version": "12.1-0ubuntu1~22.04.2"
          },
          {
            "binary_name": "gdb-multiarch",
            "binary_version": "12.1-0ubuntu1~22.04.2"
          },
          {
            "binary_name": "gdb-source",
            "binary_version": "12.1-0ubuntu1~22.04.2"
          },
          {
            "binary_name": "gdbserver",
            "binary_version": "12.1-0ubuntu1~22.04.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "gdb",
        "purl": "pkg:deb/ubuntu/gdb@12.1-0ubuntu1~22.04.2?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "11.1-0ubuntu2",
        "11.1-0ubuntu3",
        "11.2-0ubuntu1",
        "12.0.50.20220217-0ubuntu1",
        "12.0.90-0ubuntu1",
        "12.1-0ubuntu1~22.04",
        "12.1-0ubuntu1~22.04.2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gdb",
            "binary_version": "15.1-1ubuntu1~24.04.1"
          },
          {
            "binary_name": "gdb-multiarch",
            "binary_version": "15.1-1ubuntu1~24.04.1"
          },
          {
            "binary_name": "gdb-source",
            "binary_version": "15.1-1ubuntu1~24.04.1"
          },
          {
            "binary_name": "gdbserver",
            "binary_version": "15.1-1ubuntu1~24.04.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "gdb",
        "purl": "pkg:deb/ubuntu/gdb@15.1-1ubuntu1~24.04.1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "14.0.50.20230907-0ubuntu1",
        "14.1-0ubuntu1",
        "14.1-0ubuntu2",
        "15.0.50.20240219-0ubuntu1",
        "15.0.50.20240320-0ubuntu1",
        "15.0.50.20240403-0ubuntu1",
        "15.1-1ubuntu1~24.04.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gdb",
            "binary_version": "17.1-2ubuntu1"
          },
          {
            "binary_name": "gdb-minimal",
            "binary_version": "17.1-2ubuntu1"
          },
          {
            "binary_name": "gdb-multiarch",
            "binary_version": "17.1-2ubuntu1"
          },
          {
            "binary_name": "gdb-source",
            "binary_version": "17.1-2ubuntu1"
          },
          {
            "binary_name": "gdbserver",
            "binary_version": "17.1-2ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "gdb",
        "purl": "pkg:deb/ubuntu/gdb@17.1-2ubuntu1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "16.3-1ubuntu2",
        "16.3-5ubuntu1",
        "17.1-1ubuntu1",
        "17.1-1ubuntu2",
        "17.1-2ubuntu1"
      ]
    }
  ],
  "aliases": [],
  "details": "A flaw was found in GDB\u0027s 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.",
  "id": "UBUNTU-CVE-2026-13732",
  "modified": "2026-09-02T16:12:03Z",
  "published": "2026-08-31T20:17:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-13732"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-13732"
    },
    {
      "type": "REPORT",
      "url": "https://access.redhat.com/security/cve/CVE-2026-13732"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2494416"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2026-13732"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…