Buffer overflow in GNU Gcc
CVE-2021-3826
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.014 (71.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 71st percentile — 71.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.014 · newest: 0.014 · change: +0.000
Affected products
- GNU Gcc — versions 11.2
- Fedoraproject Fedora — versions 35, 36, 37
- Gcc — versions gcc 11.2.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- gcc.gnu.org/pipermail/gcc-patches/2021-September/579987 (Patch, Mailing List, Vendor Advisory)
- gcc.gnu.org/git/ (Broken Link)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory, Mailing List, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory, Mailing List, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory, Mailing List, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory, Mailing List, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory, Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-3826?
- CVE-2021-3826 is a medium-severity vulnerability in GNU Gcc, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 6.5/10. Published 2022-09-01.
- How severe is CVE-2021-3826?
- Medium severity. CVSS v3 base score is 6.5 out of 10.
- Is CVE-2021-3826 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.