Vulnerabilities · 2021 · Gnu
CVE-2021-3826
Gnu Gcc vulnerability
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.
Affected products
Gcc, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Gnu Gcc runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- gcc.gnu.org/pipermail/gcc-patches/2021-September/579987 · Patch
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H · Third Party Advisory
- gcc.gnu.org/git/?p=gcc.git%3Ba=commit%3Bh=5481040197402be6dfee265bd2ff5a4c88e30505
- cert-portal.siemens.com/productcert/html/ssa-398330.html
- nvd.nist.gov/vuln/detail/CVE-2021-3826
- cve.org/CVERecord?id=CVE-2021-3826
More vulnerabilities in Gnu products
CVE-2026-24061CVE-2026-0915CVE-2026-0861CVE-2025-66866CVE-2025-66865CVE-2025-66864CVE-2025-66863CVE-2025-66862All 1,147
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.