---
id: CVE-2023-39128
title: >-
  GNU gdb (GDB) 13.0.50.20220805-git was discovered to contain a stack overflow
  via the function ada_decode at /gdb/ada-lang.c.
summary: >-
  GNU gdb (GDB) 13.0.50.20220805-git was discovered to contain a stack overflow
  via the function ada_decode at /gdb/ada-lang.c.
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cwe:
  - CWE-787
vendor: gnu
product: gdb
affected:
  - gdb = 13.0.50.20220805-git
published: '2023-07-25'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T00:16:35.213'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2023-39128'
references:
  - url: 'https://sourceware.org/bugzilla/show_bug.cgi?id=30639'
    label: cve@mitre.org
  - url: 'https://sourceware.org/bugzilla/show_bug.cgi?id=30639'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
  - exploit-available
epss: 0.00316
epssPercentile: 0.22862
ingestedAt: '2026-10-15T01:08:04.204Z'
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-10-24T14:06:23.576735Z'
---

## Overview

GNU gdb (GDB) 13.0.50.20220805-git was discovered to contain a stack overflow via the function ada_decode at /gdb/ada-lang.c.

## Affected

- `gdb = 13.0.50.20220805-git`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
