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
Severity: MEDIUM
Problem Type: NVD-CWE-Other,
Products Affected
| Vendor | Product | Version |
|---|---|---|
| file | file | 3.40 |
| netbsd | netbsd | 1.6 |
| file | file | 3.33 |
| file | file | 3.32 |
| netbsd | netbsd | 1.5.2 |
| file | file | 3.30 |
| netbsd | netbsd | 1.5.1 |
| file | file | 3.37 |
| file | file | 3.39 |
| file | file | 3.36 |
| netbsd | netbsd | 1.5 |
| file | file | 3.35 |
| file | file | 3.34 |
| file | file | 3.28 |
| netbsd | netbsd | 1.5.3 |
Stack-based buffer overflow in the ELF header parsing code in file before 4.12 allows attackers to execute arbitrary code via a crafted ELF file.
CVSS 2.0
Severity: HIGH
Problem Type: NVD-CWE-Other,
Products Affected
| Vendor | Product | Version |
|---|---|---|
| file | file | 4.6 |
| file | file | 4.8 |
| trustix | secure_linux | 2.0 |
| file | file | 4.0 |
| trustix | secure_linux | 2.2 |
| gentoo | linux | * |
| file | file | 4.7 |
| file | file | 4.10 |
| file | file | 4.3 |
| file | file | 4.9 |
| trustix | secure_linux | 2.1 |
| file | file | 4.5 |
| file | file | 4.4 |
| file | file | 4.11 |
| file | file | 4.2 |
| file | file | 4.1 |
Integer underflow in the file_printf function in the "file" program before 4.20 allows user-assisted attackers to execute arbitrary code via a file that triggers a heap-based buffer overflow.
CVSS 2.0
Severity: HIGH
Problem Type: CWE-189,
Products Affected
| Vendor | Product | Version |
|---|---|---|
| file | file | * |
Integer overflow in the "file" program 4.20, when running on 32-bit systems, as used in products including The Sleuth Kit, might allow user-assisted attackers to execute arbitrary code via a large file that triggers an overflow that bypasses an assert() statement. NOTE: this issue is due to an incorrect patch for CVE-2007-1536.
CVSS 2.0
Severity: MEDIUM
Problem Type: CWE-189,
Products Affected
| Vendor | Product | Version |
|---|---|---|
| file | file | 4.2 |
| sleuth_kit | the_sleuth_kith | * |