CVE-2023-39130
published 2023-07-25CVE-2023-39130: 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.
PriorityP418medium5.5CVSS 3.1
AVLACLPRNUIRSUCNINAH
EPSS
0.23%
13.2th percentile
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.
Affected
16 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | gdb | — | — |
| gnu | gdb | — | — |
| gnu | gdb | >= 0 < 9.2-0ubuntu1~20.04.2 | 9.2-0ubuntu1~20.04.2 |
| gnu | gdb | >= 0 < 12.1-0ubuntu1~22.04.2 | 12.1-0ubuntu1~22.04.2 |
| gnu | gdb | >= 0 < 7.11.1-0ubuntu1~16.5+esm1 | 7.11.1-0ubuntu1~16.5+esm1 |
| gnu | gdb | >= 0 < 8.1.1-0ubuntu1+esm1 | 8.1.1-0ubuntu1+esm1 |
| msrc | azl3_crash_8.0.4-3_on_azure_linux_3.0 | — | — |
| msrc | azl3_crash_8.0.4-4_on_azure_linux_3.0 | — | — |
| msrc | azl3_gdb_13.2-3_on_azure_linux_3.0 | — | — |
| msrc | azl3_gdb_13.2-4_on_azure_linux_3.0 | — | — |
| msrc | azure_linux_3.0_arm | — | — |
| msrc | azure_linux_3.0_x64 | — | — |
| msrc | cbl2_crash_8.0.1-3_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_gdb_11.2-3_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5LOW
vendor_msrc5.5MEDIUM
vendor_redhat5.5MEDIUM
vendor_ubuntu5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
gdb vulnerabilities
osv·2024-06-20·CVSS 5.5
CVE-2020-16599 [MEDIUM] gdb vulnerabilities
gdb vulnerabilities
It was discovered that gdb incorrectly handled certain memory operations
when parsing an ELF file. An attacker could possibly use this issue
to cause a denial of service. This issue is the result of an
incomplete fix for CVE-2020-16599. This issue only affected
Ubuntu 22.04 LTS. (CVE-2022-4285)
It was discovered that gdb incorrectly handled memory leading
to a heap based buffer overflow. An attacker could use this
issue to cause a denial of service, or possibly execute
arbitrary code. This issue only affected Ubuntu 22.04 LTS.
(CVE-2023-1972)
It was discovered that gdb incorrectly handled memory leading
to a stack overflow. An attacker could possibly use this issue
to cause a denial of service. This issue only affected
Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22
OSV
CVE-2023-39130: GNU gdb (GDB) 13
osv·2023-07-25·CVSS 5.5
CVE-2023-39130 [MEDIUM] CVE-2023-39130: GNU gdb (GDB) 13
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.
GHSA
GHSA-j6cq-8hw2-r793: GNU gdb (GDB) 13
ghsa_unreviewed·2023-07-25
CVE-2023-39130 [MEDIUM] CWE-787 GHSA-j6cq-8hw2-r793: GNU gdb (GDB) 13
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.
Ubuntu
gdb vulnerabilities
vendor_ubuntu·2024-06-20·CVSS 5.5
CVE-2020-16599 [MEDIUM] gdb vulnerabilities
Title: gdb vulnerabilities
Summary: gdb could be made to crash if it opened a specially crafted file.
It was discovered that gdb incorrectly handled certain memory operations
when parsing an ELF file. An attacker could possibly use this issue
to cause a denial of service. This issue is the result of an
incomplete fix for CVE-2020-16599. This issue only affected
Ubuntu 22.04 LTS. (CVE-2022-4285)
It was discovered that gdb incorrectly handled memory leading
to a heap based buffer overflow. An attacker could use this
issue to cause a denial of service, or possibly execute
arbitrary code. This issue only affected Ubuntu 22.04 LTS.
(CVE-2023-1972)
It was discovered that gdb incorrectly handled memory leading
to a stack overflow. An attacker could possibly use this issue
to cause a denial of
Red Hat
gdb: heap-buffer-overflow in pe_as16(void*)
vendor_redhat·2023-07-25·CVSS 5.5
CVE-2023-39130 [MEDIUM] CWE-119 gdb: heap-buffer-overflow in pe_as16(void*)
gdb: heap-buffer-overflow in pe_as16(void*)
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.
Statement: Red Hat Product Security does not consider this to be a vulnerability.
Package: gdb (Red Hat Enterprise Linux 6) - Out of support scope
Package: gdb (Red Hat Enterprise Linux 7) - Out of support scope
Package: crash (Red Hat Enterprise Linux 8) - Not affected
Package: gcc-toolset-11-gdb (Red Hat Enterprise Linux 8) - Not affected
Package: gcc-toolset-12-gdb (Red Hat Enterprise Linux 8) - Not affected
Package: gcc-toolset-13-gdb (Red Hat Enterprise Linux 8) - Affected
Package: gdb (Red Hat Enterprise Linux 8) - Not affected
Package: crash (Red Hat Enterprise Linux 9) - Not affected
Package: gc
Microsoft
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.
vendor_msrc·2023-07-11·CVSS 5.5
CVE-2023-39130 [MEDIUM] CWE-787 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.
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.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
mitre: mitre
Customer Ac
Debian
CVE-2023-39130: gdb - GNU gdb (GDB) 13.0.50.20220805-git was discovered to contain a heap buffer overf...
vendor_debian·2023·CVSS 5.5
CVE-2023-39130 [MEDIUM] CVE-2023-39130: gdb - GNU gdb (GDB) 13.0.50.20220805-git was discovered to contain a heap buffer overf...
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.
Scope: local
bookworm: open
bullseye: open
forky: open
sid: open
trixie: open
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2023-07-25
Published