CVE-2023-39130: GNU gdb (GDB) 13.0.50.20220805-git was discovered to contain a heap buffer overflow via the function pe_as16()
CVE-2023-39130 is a medium-severity flaw (CVSS 5.5) affecting gdb. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- No elevated risk signals yet
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 5.5 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.2% (top 84%) |
| CISA exploited list | No |
| Weakness | CWE-787 |
| Published | 2023-07-25 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-39130?
gdb: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2023-39130 being exploited?
CVE-2023-39130 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-39130 affect?
CVE-2023-39130 affects gdb. Severity is medium (CVSS 5.5). 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.
How urgent is CVE-2023-39130?
Priority 23/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2023-39128 MEDIUM 5.5 DOWNGRADE GNU gdb (GDB) 13.0.50.20220805-git was discovered to contain a stack overflow via the function ada_decode at /
- CVE-2019-1010180 HIGH 7.8 UPGRADE MITIGATE GNU gdb All versions is affected by: Buffer Overflow - Out of bound memory access
- CVE-2023-39129 MEDIUM 5.5 DOWNGRADE GNU gdb (GDB) 13.0.50.20220805-git was discovered to contain a heap use after free via the function add_pe_exp
- CVE-2017-9778 MEDIUM 5.5 UPGRADE GNU Debugger (GDB) 8.0 and earlier fails to detect a negative length field in a DWARF section