# CVE-2021-3826

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-09-01 · Modified: 2026-11-02
- Aliases: RHSA-2023:6372, UBUNTU-CVE-2021-3826, DEBIAN-CVE-2021-3826
- Record: https://cvemate.com/vulnerability/CVE-2021-3826 · JSON: https://cvemate.com/vulnerability/CVE-2021-3826/json

## Description

```text
Heap/stack buffer overflow in the dlang_lname function in d-demangle.c in libiberty allows attackers to potentially cause a denial of service (segmentation fault and crash) via a crafted mangled symbol.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 1.561%, percentile 76.105%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian binutils (Debian): \< 2.37.50.20220121-1
- debian libiberty (Debian): \< 20220713-1
- ubuntu gcc-11 (Ubuntu): All versions (No fix recorded)
- ubuntu gdb (Ubuntu): All versions (No fix recorded)
- ubuntu libiberty (Ubuntu): All versions (No fix recorded)
- fedoraproject fedora: 35 \| 36 \| 37
- gnu gcc: 11.2
- redhat gdb (Red Hat): \< 0:10.2-11.el9
- redhat gdb-debuginfo (Red Hat): \< 0:10.2-11.el9
- redhat gdb-debugsource (Red Hat): \< 0:10.2-11.el9
- redhat gdb-doc (Red Hat): \< 0:10.2-11.el9
- redhat gdb-gdbserver (Red Hat): \< 0:10.2-11.el9
- redhat gdb-headless (Red Hat): \< 0:10.2-11.el9
- redhat gdb-minimal (Red Hat): \< 0:10.2-11.el9

## References

- <https://gcc.gnu.org/pipermail/gcc-patches/2021-September/579987>
- <https://gcc.gnu.org/git/?p=gcc.git%3Ba=commit%3Bh=5481040197402be6dfee265bd2ff5a4c88e30505>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AXFC74WRZ2Q7F2TSUKPYNIL7ZPBWYI6L/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4MYLS3VR4OPL5ECRWOR4ZHMGXUSCJFZY/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6AKZ2DTS3ATVN5PANNVLKLE5OP4OF25Q/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H424YXGW7OKXS2NCAP35OP6Y4P4AW6VG/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7MTEHT3G6YKJ7F7MSGWYSI4UM3XBAYXZ/>
- <https://access.redhat.com/errata/RHSA-2023:6372>
- <https://access.redhat.com/security/updates/classification/#low>
- <https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9.3_release_notes/index>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2122627>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2130624>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_6372.json>
- <https://access.redhat.com/security/cve/CVE-2021-3826>
- <https://www.cve.org/CVERecord?id=CVE-2021-3826>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3826>
- <https://ubuntu.com/security/CVE-2021-3826>
- <https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5481040197402be6dfee265bd2ff5a4c88e30505>
- <https://security-tracker.debian.org/tracker/CVE-2021-3826>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

---

Data as of 2026-12-05T03:14:52.207Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
