Skip to content
Fencer Vulns
medium 5.5

CVE-2023-39130 json

GNU gdb (GDB) 13.0.50.20220805-git was discovered to contain a heap buffer overflow via the function pe_as16() at /gdb/coff-pe-read.c.

published 2023-07-25 3 y ago modified 2026-06-17 4 mo ago also EUVD-2023-42876

cvss
5.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 15%
public exploits
0
none known

Summary

GNU gdb (GDB) 13.0.50.20220805-git was discovered to contain a heap buffer overflow via the function pe_as16() at /gdb/coff-pe-read.c.

Patch / fix

  • 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-39130

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-27629AZL-27670AZL-34640AZL-34725

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-39130 updated cvss 0.0

gdb: heap-buffer-overflow in pe_as16(void*)

  • Red Hat Enterprise Linux 6 gdb, gdb-gdbserver Red Hat Enterprise Linux 7 gdb, gdb-gdbserver
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 8 gcc-toolset-13-gdb
    affected: no fix available
  • Red Hat Enterprise Linux 9 gcc-toolset-12-gdb
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux 8 gdb, crash, gdb-headless, gdb-gdbserver, gcc-toolset-11-gdb, gcc-toolset-12-gdb, +1 more Red Hat Enterprise Linux 9 gdb, crash, gdb-minimal, gdb-headless, gdb-gdbserver, gcc-toolset-13-gdb
    not 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 SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.24% chance of exploitation in the next 30 days, higher than 15% of all scored CVEs (FIRST EPSS, 2026-11-08).

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

Classification

Weakness

References

Sources

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.