# CVE-2021-20294: A flaw was found in binutils readelf 2.35 program.

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.28%, higher than 88% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-04-29T00:00:00.000Z
- Modified: 2026-06-17T03:33:37.357Z
- Weaknesses: CWE-787
- Assigned by: redhat

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

(As written by CVE List.)

## Affected

- binutils: binutils 2.35.2
- gnu binutils: from 2.35 before 2.35.2

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://sourceware.org/bugzilla/show_bug.cgi?id=26929> (exploit, issue-tracking, patch, third-party-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1943533> (issue-tracking, third-party-advisory)
- <https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E> (mailing-list)
- <https://security.gentoo.org/glsa/202208-30> (third-party-advisory, vendor-advisory)
- <https://sourceware.org/git/?p=binutils-gdb.git%3Ba=patch%3Bh=372dd157272e0674d13372655cc60eaca9c06926>

## Sources

- CVE List: [CVE-2021-20294](https://www.cve.org/CVERecord?id=CVE-2021-20294), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-20294](https://nvd.nist.gov/vuln/detail/CVE-2021-20294), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-20294 · Whole record: https://cve.day/CVE-2021-20294.json · Rebuilt by cve.day 2026-11-25T22:58:01.091Z
