CVE-2021-3826

Source
https://cve.org/CVERecord?id=CVE-2021-3826
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3826.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-3826
Downstream
Related
Published
2022-09-01T21:15:08.843Z
Modified
2026-04-16T04:30:27.396994251Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/gcc-mirror/gcc

Affected ranges

Type
GIT
Repo
https://github.com/gcc-mirror/gcc
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "11.2"
        }
    ]
}

Affected versions

Other
basepoints/gcc-0
basepoints/gcc-10
basepoints/gcc-11
basepoints/gcc-5
basepoints/gcc-6
basepoints/gcc-7
basepoints/gcc-8
basepoints/gcc-9
misc/cutover-cvs2svn
misc/cutover-egcs-0
misc/cutover-egcs-1
misc/cutover-git
misc/first-auto-changelog
releases/gcc-11.*
releases/gcc-11.1.0
releases/gcc-11.2.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3826.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "35"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "36"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "37"
            }
        ]
    }
]