synced 11 MIN AGO
01 Record

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

UnratedPUBLISHEDCNA: redhat
CNA base scoreUnratedNo CNA CVSS vector

02 Description

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

03 Exploitation and scoring

Exploitation
Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
SSVC decision
Not assessed by CISA
EPSS probability
1.50% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 74.1% of scored records. A rank, not a probability.
NVD base score
6.5 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD analysis status
Modified. NVD last modified this record on 2026-10-14.
Red Hat severity
Low. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2022-09-01 00:00Z4 YR AGO
Last updated
2026-10-14 09:49Z15 DAYS AGO
Reserved
2021-09-23
Assigning CNA
redhat
Record state
PUBLISHED
Severity
Not rated by the issuing CNA
CNA CVSS vector
Not published by the issuing CNA
Weaknesses
  • CWE-119Improper Restriction of Operations within the Bounds of a Memory BufferClass
  • CWE-787Out-of-bounds WriteBase
Data version
5.2
Document digest
6942978a47a9b5db248ea18877e0477a89561b69171756196c24e9d18252f5b3

05 Affected products

VendorProductVersionsPlatforms
n/agccgcc 11.2.0—

06 References

07 Fixed in

AlmaLinux 9

  • gdb
    Fixed in 10.2-11.el9
  • gdb-doc
    Fixed in 10.2-11.el9
  • gdb-gdbserver
    Fixed in 10.2-11.el9
  • gdb-headless
    Fixed in 10.2-11.el9
  • gdb-minimal
    Fixed in 10.2-11.el9

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 9

  • gdb
    Fixed in 10.2-11.el9
  • gdb-doc
    Fixed in 10.2-11.el9
  • gdb-gdbserver
    Fixed in 10.2-11.el9
  • gdb-headless
    Fixed in 10.2-11.el9
  • gdb-minimal
    Fixed in 10.2-11.el9

Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 12

  • binutils
    Fixed in 2.37.50.20220121-1
  • libiberty
    Fixed in 20220713-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • binutils
    Fixed in 2.37.50.20220121-1
  • libiberty
    Fixed in 20220713-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • binutils
    Fixed in 2.37.50.20220121-1
  • libiberty
    Fixed in 20220713-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • gcc-11
    No fix yet
  • libiberty
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 24.04 LTS

  • gcc-11
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 25.10

  • gcc-11
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 26.04 LTS

  • gcc-11
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 26.10

  • gcc-11
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 16.04 LTS

  • gdb
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 18.04 LTS

  • gdb
    No fix yet

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.