Live threats

All CVEs / File

CVE-2003-0102File

Medium 4.6

Priority
28
CVSS 2.0
4.6
EPSS
2.0%
probability of exploitation in 30 days · percentile 81
Auth required
Yes
Published
Mar 18, 2003
Updated
Jun 16, 2026
Category
Application · Cross-platform
Vector
AV:L/AC:L/Au:N/C:P/I:P/A:P

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for File.

Affected products (CPE)

VendorProductVersions
filefile3.28
filefile3.30
filefile3.32
filefile3.33
filefile3.34
filefile3.35
filefile3.36
filefile3.37
filefile3.39
filefile3.40
netbsdnetbsd1.5
netbsdnetbsd1.5.1
netbsdnetbsd1.5.2
netbsdnetbsd1.5.3
netbsdnetbsd1.6

Official sources

References

Links published by the sources. Open them with care.