CVE-2021-3826: Buffer Overflow

Published Sep 22, 2021
·
Updated

A vulnerability was found in Libiberty. A heap and stack buffer overflow found in the dlanglname function in d-demangle.c leads to a denial of service.

Other sources

Heap/stack buffer overflow in the dlanglname 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 Software

5 affected componentsFixes available
redhat/devtoolset<12-binutils-0:2.36.1-6.el7
12-binutils-0:2.36.1-6.el7
GNU gcc=11.2
Fedoraproject Fedora=35
Fedoraproject Fedora=36
Fedoraproject Fedora=37

Event History

Sep 22, 2021
CVE Published
12:00 AM
Aug 30, 2022
Data Sourced
via Red Hat·01:21 PM
DescriptionSeverityAffected Software
Sep 1, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this vulnerability?

The vulnerability ID for this vulnerability is CVE-2021-3826.

2

What is the severity of CVE-2021-3826?

The severity of CVE-2021-3826 is high with a CVSS score of 7.5.

3

What is the description of CVE-2021-3826?

CVE-2021-3826 is a heap/stack buffer overflow in the dlang_lname function in libiberty, allowing attackers to potentially cause a denial of service (segmentation fault and crash) via a crafted mangled symbol.

4

Which software packages are affected by CVE-2021-3826?

The affected software packages include devtoolset 12-binutils-0:2.36.1-6.el7, GNU GCC 11.2, and Fedora versions 35, 36, and 37.

5

How can I fix CVE-2021-3826?

To fix CVE-2021-3826, it is recommended to update to the latest version of the affected software packages provided by the respective vendors.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203