# CVE-2018-20657: gdb: The GNU Debugger (GDB) allows users to debug programs written in various programming languages including C, C++, and...

CVE-2018-20657 is fixed in 4 products on 1 platform, first by RHSA-2019:3352, released November 5, 2019. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2018-20657
- Priority: High
- CVSS: 7.5 (Low)
- EPSS: 0.0400
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Nov 5, 2019

## Description

The GNU Debugger (GDB) allows users to debug programs written in various programming languages including C, C++, and Fortran.   Security Fix(es):  * libiberty: Memory leak in demangle_template function resulting in a denial of service (CVE-2018-20657)  For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.  Additional Changes:  For detailed information on changes in this release, see the Red Hat Enterprise Linux 8.1 Release Notes linked from the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | gdb RHEL 8 | 0:8.2-6.el8 | [RHSA-2019:3352](https://patchblox.com/security/data/fix/linux/rhsa-2019-3352.md) | Nov 5, 2019 |
| Linux | gdb ol 8 | 0:8.2-6.el8 | [ELSA-2019-3352](https://patchblox.com/security/data/fix/linux/elsa-2019-3352.md) | Nov 14, 2019 |
| Linux | gdb-doc RHEL 8 | 0:8.2-6.el8 | [RHSA-2019:3352](https://patchblox.com/security/data/fix/linux/rhsa-2019-3352.md) | Nov 5, 2019 |
| Linux | gdb-doc ol 8 | 0:8.2-6.el8 | [ELSA-2019-3352](https://patchblox.com/security/data/fix/linux/elsa-2019-3352.md) | Nov 14, 2019 |
| Linux | gdb-gdbserver RHEL 8 | 0:8.2-6.el8 | [RHSA-2019:3352](https://patchblox.com/security/data/fix/linux/rhsa-2019-3352.md) | Nov 5, 2019 |
| Linux | gdb-gdbserver ol 8 | 0:8.2-6.el8 | [ELSA-2019-3352](https://patchblox.com/security/data/fix/linux/elsa-2019-3352.md) | Nov 14, 2019 |
| Linux | gdb-headless RHEL 8 | 0:8.2-6.el8 | [RHSA-2019:3352](https://patchblox.com/security/data/fix/linux/rhsa-2019-3352.md) | Nov 5, 2019 |
| Linux | gdb-headless ol 8 | 0:8.2-6.el8 | [ELSA-2019-3352](https://patchblox.com/security/data/fix/linux/elsa-2019-3352.md) | Nov 14, 2019 |

---

Data as of 2026-11-07T12:40:37Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo
