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

CVE-2021-3826 is fixed in 7 products on 1 platform, first by DEBIAN-CVE-2021-3826, released September 1, 2022. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2021-3826
- Priority: High
- CVSS: 7.5 (Low)
- EPSS: 0.0150
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 1, 2022

## Description

The GNU Debugger (GDB) allows users to debug programs written in various programming languages including C, C++, and Fortran.   Security Fix(es):  * libiberty: Heap/stack buffer overflow in the dlang_lname function in d-demangle.c (CVE-2021-3826)  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 9.3 Release Notes linked from the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | binutils Debian 12.15 (bookworm) | 2.37.50.20220121-1 | [DEBIAN-CVE-2021-3826](https://patchblox.com/security/data/fix/linux/debian-cve-2021-3826.md) | Sep 1, 2022 |
| Linux | binutils Debian 13.5 (trixie) | 2.37.50.20220121-1 | [DEBIAN-CVE-2021-3826](https://patchblox.com/security/data/fix/linux/debian-cve-2021-3826.md) | Sep 1, 2022 |
| Linux | binutils Debian 14 | 2.37.50.20220121-1 | [DEBIAN-CVE-2021-3826](https://patchblox.com/security/data/fix/linux/debian-cve-2021-3826.md) | Sep 1, 2022 |
| Linux | gdb RHEL 9 | 0:10.2-11.el9 | [RHSA-2023:6372](https://patchblox.com/security/data/fix/linux/rhsa-2023-6372.md) | Nov 7, 2023 |
| Linux | gdb almalinux 9 | 10.2-11.el9 | [ALSA-2023:6372](https://patchblox.com/security/data/fix/linux/alsa-2023-6372.md) | Nov 7, 2023 |
| Linux | gdb ol 9 | 0:10.2-11.0.1.el9 | [ELSA-2023-6372](https://patchblox.com/security/data/fix/linux/elsa-2023-6372.md) | Nov 11, 2023 |
| Linux | gdb-doc RHEL 9 | 0:10.2-11.el9 | [RHSA-2023:6372](https://patchblox.com/security/data/fix/linux/rhsa-2023-6372.md) | Nov 7, 2023 |
| Linux | gdb-doc almalinux 9 | 10.2-11.el9 | [ALSA-2023:6372](https://patchblox.com/security/data/fix/linux/alsa-2023-6372.md) | Nov 7, 2023 |
| Linux | gdb-doc ol 9 | 0:10.2-11.0.1.el9 | [ELSA-2023-6372](https://patchblox.com/security/data/fix/linux/elsa-2023-6372.md) | Nov 11, 2023 |
| Linux | gdb-gdbserver RHEL 9 | 0:10.2-11.el9 | [RHSA-2023:6372](https://patchblox.com/security/data/fix/linux/rhsa-2023-6372.md) | Nov 7, 2023 |
| Linux | gdb-gdbserver almalinux 9 | 10.2-11.el9 | [ALSA-2023:6372](https://patchblox.com/security/data/fix/linux/alsa-2023-6372.md) | Nov 7, 2023 |
| Linux | gdb-gdbserver ol 9 | 0:10.2-11.0.1.el9 | [ELSA-2023-6372](https://patchblox.com/security/data/fix/linux/elsa-2023-6372.md) | Nov 11, 2023 |
| Linux | gdb-headless RHEL 9 | 0:10.2-11.el9 | [RHSA-2023:6372](https://patchblox.com/security/data/fix/linux/rhsa-2023-6372.md) | Nov 7, 2023 |
| Linux | gdb-headless almalinux 9 | 10.2-11.el9 | [ALSA-2023:6372](https://patchblox.com/security/data/fix/linux/alsa-2023-6372.md) | Nov 7, 2023 |
| Linux | gdb-headless ol 9 | 0:10.2-11.0.1.el9 | [ELSA-2023-6372](https://patchblox.com/security/data/fix/linux/elsa-2023-6372.md) | Nov 11, 2023 |
| Linux | gdb-minimal RHEL 9 | 0:10.2-11.el9 | [RHSA-2023:6372](https://patchblox.com/security/data/fix/linux/rhsa-2023-6372.md) | Nov 7, 2023 |
| Linux | gdb-minimal almalinux 9 | 10.2-11.el9 | [ALSA-2023:6372](https://patchblox.com/security/data/fix/linux/alsa-2023-6372.md) | Nov 7, 2023 |
| Linux | gdb-minimal ol 9 | 0:10.2-11.0.1.el9 | [ELSA-2023-6372](https://patchblox.com/security/data/fix/linux/elsa-2023-6372.md) | Nov 11, 2023 |
| Linux | libiberty Debian 12.15 (bookworm) | 20220713-1 | [DEBIAN-CVE-2021-3826](https://patchblox.com/security/data/fix/linux/debian-cve-2021-3826.md) | Sep 1, 2022 |
| Linux | libiberty Debian 13.5 (trixie) | 20220713-1 | [DEBIAN-CVE-2021-3826](https://patchblox.com/security/data/fix/linux/debian-cve-2021-3826.md) | Sep 1, 2022 |
| Linux | libiberty Debian 14 | 20220713-1 | [DEBIAN-CVE-2021-3826](https://patchblox.com/security/data/fix/linux/debian-cve-2021-3826.md) | Sep 1, 2022 |

---

Data as of 2026-11-08T19:12:23Z 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

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
