SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2003-0102

Buffer overflow in tryelf() in readelf.c of the file command allows attackers to execute arbitrary code as the user running file, possibly via a large entity size value in an ELF header (elfhdr.e_shentsize).

EXPLOIT ×2 ✓MEDIUM 4.6EPSS 1.98%

Does this matter?

2 public exploits are published in Exploit-DB (verified), so the technical barrier is gone even though the severity is medium and EPSS is 2.0%. Treat it as high on anything reachable from the internet.

Description

Buffer overflow in tryelf() in readelf.c of the file command allows attackers to execute arbitrary code as the user running file, possibly via a large entity size value in an ELF header (elfhdr.e_shentsize).

CVSS 2.0
4.6 MEDIUMAV:L/AC:L/Au:N/C:P/I:P/A:P
EPSS
1.98% probability · 80th percentile
Public exploits
2 in Exploit-DB · verified · first 4 March 2003
CISA KEV
Not listed
Affected
file/file · netbsd/netbsd
Source
cve@mitre.org
EPSS trend
0%3%5%26 October 2026: 1.98%26 October 202626 October 2026

EPSS 2.0% since 26 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.

Public exploits (2)

Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.

EDB-IDTitleTypePublishedVerified
EDB-22325source ↗File 3.x - Local Stack Overflow Code Execution (2)unix · lem0nxxlocal4 March 2003yes
EDB-22324source ↗File 3.x - Local Stack Overflow Code Execution (1)unix · lem0nlocal4 March 2003yes

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.