// For flags

CVE-2003-0102

File 3.x - Local Stack Overflow Code Execution

Severity Score

9.8
*CVSS v3

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

3
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Local
Attack Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2003-02-25 CVE Reserved
  • 2003-03-04 First Exploit
  • 2003-03-18 CVE Published
  • 2024-08-08 CVE Updated
  • 2025-03-30 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
File
Search vendor "File"
File
Search vendor "File" for product "File"
3.28
Search vendor "File" for product "File" and version "3.28"
-
Affected
File
Search vendor "File"
File
Search vendor "File" for product "File"
3.30
Search vendor "File" for product "File" and version "3.30"
-
Affected
File
Search vendor "File"
File
Search vendor "File" for product "File"
3.32
Search vendor "File" for product "File" and version "3.32"
-
Affected
File
Search vendor "File"
File
Search vendor "File" for product "File"
3.33
Search vendor "File" for product "File" and version "3.33"
-
Affected
File
Search vendor "File"
File
Search vendor "File" for product "File"
3.34
Search vendor "File" for product "File" and version "3.34"
-
Affected
File
Search vendor "File"
File
Search vendor "File" for product "File"
3.35
Search vendor "File" for product "File" and version "3.35"
-
Affected
File
Search vendor "File"
File
Search vendor "File" for product "File"
3.36
Search vendor "File" for product "File" and version "3.36"
-
Affected
File
Search vendor "File"
File
Search vendor "File" for product "File"
3.37
Search vendor "File" for product "File" and version "3.37"
-
Affected
File
Search vendor "File"
File
Search vendor "File" for product "File"
3.39
Search vendor "File" for product "File" and version "3.39"
-
Affected
File
Search vendor "File"
File
Search vendor "File" for product "File"
3.40
Search vendor "File" for product "File" and version "3.40"
-
Affected
Netbsd
Search vendor "Netbsd"
Netbsd
Search vendor "Netbsd" for product "Netbsd"
1.5
Search vendor "Netbsd" for product "Netbsd" and version "1.5"
-
Affected
Netbsd
Search vendor "Netbsd"
Netbsd
Search vendor "Netbsd" for product "Netbsd"
1.5.1
Search vendor "Netbsd" for product "Netbsd" and version "1.5.1"
-
Affected
Netbsd
Search vendor "Netbsd"
Netbsd
Search vendor "Netbsd" for product "Netbsd"
1.5.2
Search vendor "Netbsd" for product "Netbsd" and version "1.5.2"
-
Affected
Netbsd
Search vendor "Netbsd"
Netbsd
Search vendor "Netbsd" for product "Netbsd"
1.5.3
Search vendor "Netbsd" for product "Netbsd" and version "1.5.3"
-
Affected
Netbsd
Search vendor "Netbsd"
Netbsd
Search vendor "Netbsd" for product "Netbsd"
1.6
Search vendor "Netbsd" for product "Netbsd" and version "1.6"
-
Affected