CVE-2021-20294

HIGH

binutils 2.35-2.35.1 - Stack Buffer Overflow via Crafted File in readelf

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2021-20294. PoCs published by tin-z.

AI-analyzed exploit summary This repository contains a functional proof-of-concept exploit for CVE-2021-20294, a vulnerability in GNU Binutils' readelf utility. The exploit leverages a crafted ELF file with an excessively long symbol version string to trigger a buffer overflow.

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.

Exploits (1)

nomisec WORKING POC 11 stars
by tin-z · poc
https://github.com/tin-z/CVE-2021-20294-POC

This repository contains a functional proof-of-concept exploit for CVE-2021-20294, a vulnerability in GNU Binutils' readelf utility. The exploit leverages a crafted ELF file with an excessively long symbol version string to trigger a buffer overflow.

Classification
Working Poc 95%
Attack Type
Dos
Complexity
Moderate
Reliability
Reliable
Target: GNU Binutils readelf (version 2.35 and earlier)
No auth needed
Prerequisites: GNU Binutils 2.35 or earlier · Ability to compile and execute the PoC
devstral-2 · analyzed Feb 18, 2026 Full analysis →

Scores

CVSS v3 7.8
EPSS 0.0341
EPSS Percentile 87.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Details

CWE
CWE-787
Status published
Products (1)
gnu/binutils 2.35 - 2.35.2
Published Apr 29, 2021
Tracked Since Feb 18, 2026