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).
2003-03-18T05:00:00.000
2025-04-03T01:03:51.193
Deferred
CVSSv2: 4.6 (MEDIUM)
AV:L/AC:L/Au:N/C:P/I:P/A:P
3.9
6.4
Type | Vendor | Product | Version/Range | Vulnerable? |
---|---|---|---|---|
Application | file | file | 3.28 | Yes |
Application | file | file | 3.30 | Yes |
Application | file | file | 3.32 | Yes |
Application | file | file | 3.33 | Yes |
Application | file | file | 3.34 | Yes |
Application | file | file | 3.35 | Yes |
Application | file | file | 3.36 | Yes |
Application | file | file | 3.37 | Yes |
Application | file | file | 3.39 | Yes |
Application | file | file | 3.40 | Yes |
Operating System | netbsd | netbsd | 1.5 | Yes |
Operating System | netbsd | netbsd | 1.5.1 | Yes |
Operating System | netbsd | netbsd | 1.5.2 | Yes |
Operating System | netbsd | netbsd | 1.5.3 | Yes |
Operating System | netbsd | netbsd | 1.6 | Yes |