SecurityContext

CVE-2003-0102: Command - Buffer Overflow

  • Cve: CVE-2003-0102
  • Name: Command - Buffer Overflow
  • 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).
  • Impact: Attackers can execute arbitrary code with the privileges of the user running the command, potentially leading to full system compromise.
  • Remediation: Update to the latest version of the command that patches this buffer overflow vulnerability.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.6
  • Cvss vector: CVSS:2.0/AV:L/AC:L/Au:N/C:P/I:P/A:P
  • Epss score: 0.01982
  • Epss percentile: 0.81087
  • Assignee: [email protected]
  • Published at: 2003-03-18T05:00:00Z
  • Age in days: 8652
  • Modified at: 2026-06-16T22:01:31Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 12
  • Products total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2003-0102
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
NVD-CWE-Other—

Public exploits

UrlSourceAdded date
http://www.idefense.com/advisory/03.04.03.txtnvd2003-03-18

References

Same in every row:

  • Source: nvd
UrlTags
http://www.idefense.com/advisory/03.04.03.txtExploit, Patch, Vendor Advisory
http://www.securityfocus.com/bid/7008Patch, Vendor Advisory
http://www.kb.cert.org/vuls/id/611865US Government Resource
ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2003-003.txt.asc
http://lwn.net/Alerts/34908/
http://marc.info/?l=bugtraq&m=104680706201721&w=2
http://www.debian.org/security/2003/dsa-260
http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:030
http://www.novell.com/linux/security/advisories/2003_017_file.html
http://www.redhat.com/support/errata/RHSA-2003-086.html

Products

ProductAffectedPlatform boundSourcesUrl
file:file= 3.40, = 3.39, = 3.37, = 3.36, = 3.35, = 3.34, = 3.33, = 3.32, = 3.30, = 3.28nonvd/v1/products/file/file
netbsd:netbsd= 1.6, = 1.5.3, = 1.5.2, = 1.5.1, = 1.5nonvd/v1/products/netbsd/netbsd

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2003-03-18
  • Exposed hosts: 2159
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports