Description
A flaw was found in binutils readelf 2.35 program. An attacker who is able to convince a victim using readelf to read a crafted file could trigger a stack buffer overflow, out-of-bounds write of arbitrary data supplied by the attacker. The highest impact of this flaw is to confidentiality, integrity, and availability.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | binutils | binutils 2.35.2 | — |
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.35.2-1 | — |
| Debian 13 | binutils | 2.35.2-1 | — |
| Debian 12 | binutils | 2.35.2-1 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | binutils | 2.37-7.26.1 | SUSE-SU-2021:3643-1 |
| SLES 15 SP2 | binutils | 2.37-7.26.1 | SUSE-SU-2021:3643-1 |
| SLES 15 SP1 | binutils | 2.37-7.26.1 | SUSE-SU-2021:3643-1 |
| SLES 15 | binutils | 2.37-6.23.1 | SUSE-SU-2022:0934-1 |
| SLES 12 SP5 | binutils +2 | 2.37-9.44.1 | SUSE-SU-2021:3637-1 |
Show 16 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP4 | binutils | 2.37-9.44.1 | SUSE-SU-2021:3637-1 |
| SLES 12 SP3 | binutils | 2.37-9.44.1 | SUSE-SU-2021:3637-1 |
| SLES 12 SP2 | binutils | 2.37-9.44.1 | SUSE-SU-2021:3637-1 |
| SLES for SAP 15 SP1 | binutils | 2.37-7.26.1 | SUSE-SU-2021:3643-1 |
| SLES for SAP 15 | binutils | 2.37-6.23.1 | SUSE-SU-2022:0934-1 |
| SLES for SAP 12 SP5 | binutils | 2.37-9.44.1 | SUSE-SU-2021:3637-1 |
| SLES for SAP 12 SP4 | binutils | 2.37-9.44.1 | SUSE-SU-2021:3637-1 |
| SLES for SAP 12 SP3 | binutils | 2.37-9.44.1 | SUSE-SU-2021:3637-1 |
| SLE HPC 15 SP1 | binutils | 2.37-7.26.1 | SUSE-SU-2021:3643-1 |
| SLE HPC 15 | binutils | 2.37-6.23.1 | SUSE-SU-2022:0934-1 |
| SUSE OpenStack Cloud Crowbar 9 | binutils | 2.37-9.44.1 | SUSE-SU-2021:3637-1 |
| SUSE OpenStack Cloud Crowbar 8 | binutils | 2.37-9.44.1 | SUSE-SU-2021:3637-1 |
| SUSE OpenStack Cloud 9 | binutils | 2.37-9.44.1 | SUSE-SU-2021:3637-1 |
| SUSE OpenStack Cloud 8 | binutils | 2.37-9.44.1 | SUSE-SU-2021:3637-1 |
| SUSE HPE Helion OpenStack 8 | binutils | 2.37-9.44.1 | SUSE-SU-2021:3637-1 |
| SUSE Enterprise Storage 6 | binutils | 2.37-7.26.1 | SUSE-SU-2021:3643-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | binutils | 2.37-3.1 | openSUSE-SU-2024:11634-1 |
| openSUSE Leap 15.3 | binutils +21 | 2.37-7.26.1 | openSUSE-SU-2021:3643-1 |
| openSUSE Leap 15.2 | binutils +21 | 2.37-lp152.4.9.1 | openSUSE-SU-2021:1475-1 |
| openSUSE Leap 15.2 | bpftrace | 0.11.4-lp152.2.7.1 | openSUSE-SU-2021:1475-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | gcc10-binutils +2 | 2.35-21.amzn2.0.1 | ALAS2-2021-1702 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
tin-z/CVE-2021-20294-POC ★ 11 · Jan 21, 2023
Simple CVE-2021-20294 poc
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 7
- SUSE-SU-2021:3643-1 Security update for binutils SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:3643-1 Security update for binutils SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0934-1 Security update for binutils SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:3637-1 Security update for binutils SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11634-1 binutils-2.37-3.1 on GA media SUSE / openSUSE Security Updates · May 7, 2025
- openSUSE-SU-2021:1475-1 Security update for binutils SUSE / openSUSE Security Updates · May 7, 2025
- ALAS2-2021-1702 Moderate: gcc10-binutils security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Jan 19, 2024
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1943533
- https://sourceware.org/bugzilla/show_bug.cgi?id=26929
- [bookkeeper-issues] 20210628 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list
- [bookkeeper-issues] 20210629 [GitHub] [bookkeeper] padma81 opened a new issue #2746: Security Vulnerabilities in CentOS 7 image, Upgrade image to CentOS 8 mailing-list
- GLSA-202208-30 vendor-advisory
- https://sourceware.org/git/?p=binutils-gdb.git%3Ba=patch%3Bh=372dd157272e0674d13372655cc60eaca9c06926