CVE-2023-39128 json
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.
published 2023-07-25 3 y ago modified 2026-10-15 25 d ago also EUVD-2023-42874
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 29%
- public exploits
- 0
- none known
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.
Patch / fix
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- gdb Ubuntu 20.04 LTS 9.2-0ubuntu1~20.04.2
- gdb Ubuntu 22.04 LTS 12.1-0ubuntu1~22.04.2
- gdb Ubuntu Pro 16.04 LTS 7.11.1-0ubuntu1~16.5+esm1
- gdb Ubuntu Pro 18.04 LTS 8.1.1-0ubuntu1+esm1
ubuntu advisories UBUNTU-CVE-2023-39128
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- crash CBL-Mariner 2.0 8.0.1-3
- gdb CBL-Mariner 2.0 11.2-3
- crash Azure Linux 3.0 8.0.4-3
- gdb Azure Linux 3.0 13.2-3
azure linux advisories AZL-27628AZL-27668AZL-34631AZL-34723
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-39128 updated cvss 0.0
gdb: dynamic-stack-buffer-overflow in ada_decode[abi:cxx11](char const*, bool, bool)
-
Red Hat Enterprise Linux 6 gdb, gdb-gdbserver Red Hat Enterprise Linux 7 gdb, gdb-gdbserveraffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 crash, gcc-toolset-13-gdbaffected: no fix available
-
Red Hat Enterprise Linux 9 crash, gcc-toolset-12-gdbaffected: no fix available, no fix planned “Will not fix”
-
Red Hat Enterprise Linux 8 gdb, gdb-headless, gdb-gdbserver, gcc-toolset-11-gdb, gcc-toolset-12-gdb, gcc-toolset-11-gdb-gdbserver Red Hat Enterprise Linux 9 gdb, gdb-minimal, gdb-headless, gdb-gdbserver, gcc-toolset-13-gdbnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-23-348-10 updated cvss 5.5
Siemens SIMATIC S7-1500
-
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.0, < 3.1.5affected: fixed in V3.1.5, mitigation support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.35% chance of exploitation in the next 30 days, higher than 29% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- sourceware.org https://sourceware.org/bugzilla/show_bug.cgi?id=30639 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
Affected products
- gnu gdb
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
sourceware.org
/bugzilla/show_bug.cgi?id=30639
exploit, issue-tracking, third-party-advisory
- cert-portal.siemens.com /productcert/html/ssa-398330.html
Sources
- CVE List CVE-2023-39128
- NVD CVE-2023-39128
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.