Name | CVE-2021-3826 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
binutils (PTS) | jessie, jessie (lts) | 2.25-5+deb8u2 | vulnerable |
| stretch (lts), stretch | 2.28-5+deb9u1 | vulnerable |
| buster, buster (lts) | 2.31.1-16+deb10u1 | vulnerable |
| bullseye | 2.35.2-2 | vulnerable |
| bookworm | 2.40-2 | fixed |
| sid, trixie | 2.43.1-5 | fixed |
libiberty (PTS) | jessie | 20141014-1 | vulnerable |
| stretch | 20161220-1 | vulnerable |
| buster | 20190122-1 | vulnerable |
| bullseye | 20210106-1 | vulnerable |
| bookworm | 20230104-1 | fixed |
| sid, trixie | 20240117-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
binutils | source | (unstable) | 2.37.50.20220121-1 | unimportant | | |
libiberty | source | jessie | (unfixed) | end-of-life | | |
libiberty | source | (unstable) | 20220713-1 | | | |
Notes
[bullseye] - libiberty <no-dsa> (Minor issue)
[buster] - libiberty <no-dsa> (Minor issue)
https://gcc.gnu.org/pipermail/gcc-patches/2021-September/579985.html
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=5481040197402be6dfee265bd2ff5a4c88e30505
binutils not covered by security support
[stretch] - libiberty <no-dsa> (Minor issue)