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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | 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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | gdb | No fix yet | — |
| Ubuntu Pro 16.04 LTS | gdb | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | gdb +4 | 10.2-11.el9 | ALSA-2023:6372 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | gdb +4 | 10.2-11.0.1.el9 | ELSA-2023-6372 |
Advisories 11
- ALSA-2023:6372 Low: gdb security update AlmaLinux Security Advisories · Oct 29, 2026
- SSA-398330 SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5 Siemens ProductCERT · Oct 13, 2026
- WID-SEC-2024-0794 Dell ECS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- RHSA-2023:6372 Red Hat Security Advisory: gdb security update Red Hat Security Advisories (RHSA) · Jun 30, 2026
- RHSA-2023:3269 Red Hat Security Advisory: devtoolset-12-binutils security update Red Hat Security Advisories (RHSA) · Jun 30, 2026
- SUSE-SU-2022:4146-1 Security update for binutils SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:4277-1 Security update for binutils SUSE / openSUSE Security Updates · Feb 4, 2026
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- openSUSE-SU-2024:12631-1 binutils-2.39-2.1 on GA media SUSE / openSUSE Security Updates · May 7, 2025
- ELSA-2023-6372 Low: gdb security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Nov 11, 2023
- WID-SEC-2022-1369 gcc: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Nov 7, 2023
References
- https://gcc.gnu.org/pipermail/gcc-patches/2021-September/579987
- https://gcc.gnu.org/git/?p=gcc.git%3Ba=commit%3Bh=5481040197402be6dfee265bd2ff5a4c88e30505
- FEDORA-2022-8e1df11a7a vendor-advisory
- FEDORA-2022-affcf9eea6 vendor-advisory
- FEDORA-2022-19538a3732 vendor-advisory
- FEDORA-2022-c9a1fd5370 vendor-advisory
- FEDORA-2022-667ee398b1 vendor-advisory