Skip to content
OpenAdvisories
Unscored CVE-2021-3826 EUVD-2021-27075GHSA-88rg-m78j-x8xw

Heap/stack buffer overflow in the dlang_lname function in d-demangle.c in libiberty allows attackers to potentially cause a denial of servi…

Published Sep 1, 2022 · Updated Nov 2, 2026 · Assigned by redhat

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 symbol.

Affected products

VendorProductAffectedFixed
— gcc gcc 11.2.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 binutils 2.37.50.20220121-1 —
Debian 14 libiberty 20220713-1 —
Debian 13 binutils 2.37.50.20220121-1 —
Debian 13 libiberty 20220713-1 —
Debian 12 binutils 2.37.50.20220121-1 —
Debian 12 libiberty 20220713-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 gcc-11 No fix yet —
Ubuntu 26.04 LTS gcc-11 No fix yet —
Ubuntu 25.10 gcc-11 No fix yet —
Ubuntu 24.04 LTS gcc-11 No fix yet —
Ubuntu 22.04 LTS gcc-11 +1 No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS gdb No fix yet —
Ubuntu Pro 16.04 LTS gdb No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 gdb +4 10.2-11.el9 RHSA-2023:6372
RHEL 3 devtoolset-12-binutils +1 2.36.1-6.el7 RHSA-2023:3269

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 gdb +4 10.2-11.el9 ALSA-2023:6372
ReleasePackageFixed inAdvisory
SLES 15 SP4 binutils 2.39-150100.7.40.1 SUSE-SU-2022:4146-1
SLES 15 SP3 binutils 2.39-150100.7.40.1 SUSE-SU-2022:4146-1
SLES 15 SP2 binutils 2.39-150100.7.40.1 SUSE-SU-2022:4146-1
SLES 15 SP1 binutils 2.39-150100.7.40.1 SUSE-SU-2022:4146-1
SLES 12 SP5 binutils +2 2.39-9.50.1 SUSE-SU-2022:4277-1
Show 16 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP4 binutils 2.39-9.50.1 SUSE-SU-2022:4277-1
SLES 12 SP3 binutils 2.39-9.50.1 SUSE-SU-2022:4277-1
SLES 12 SP2 binutils 2.39-9.50.1 SUSE-SU-2022:4277-1
SLES for SAP 15 SP2 binutils 2.39-150100.7.40.1 SUSE-SU-2022:4146-1
SLES for SAP 15 SP1 binutils 2.39-150100.7.40.1 SUSE-SU-2022:4146-1
SLES for SAP 12 SP5 binutils 2.39-9.50.1 SUSE-SU-2022:4277-1
SLES for SAP 12 SP4 binutils 2.39-9.50.1 SUSE-SU-2022:4277-1
SLE HPC 15 SP2 binutils 2.39-150100.7.40.1 SUSE-SU-2022:4146-1
SLE HPC 15 SP1 binutils 2.39-150100.7.40.1 SUSE-SU-2022:4146-1
SUSE OpenStack Cloud Crowbar 9 binutils 2.39-9.50.1 SUSE-SU-2022:4277-1
SUSE OpenStack Cloud 9 binutils 2.39-9.50.1 SUSE-SU-2022:4277-1
SUSE Manager Server 4.1 binutils 2.39-150100.7.40.1 SUSE-SU-2022:4146-1
SUSE Manager Retail Branch Server 4.1 binutils 2.39-150100.7.40.1 SUSE-SU-2022:4146-1
SUSE Manager Proxy 4.1 binutils 2.39-150100.7.40.1 SUSE-SU-2022:4146-1
SUSE Enterprise Storage 7 binutils 2.39-150100.7.40.1 SUSE-SU-2022:4146-1
SUSE Enterprise Storage 6 binutils 2.39-150100.7.40.1 SUSE-SU-2022:4146-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed binutils 2.39-2.1 openSUSE-SU-2024:12631-1
openSUSE Leap 15.4 binutils +21 2.39-150100.7.40.1 SUSE-SU-2022:4146-1
openSUSE Leap 15.3 binutils +21 2.39-150100.7.40.1 SUSE-SU-2022:4146-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 gdb +4 10.2-11.0.1.el9 ELSA-2023-6372

Advisories 11

References