CVE-2003-0102
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).
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
1.982%
chance of exploitation in the next 30 days
higher than 80.9% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 2
Timeline
- 2003-03-04First Exploit-DB entry (EDB-ID 22324)14 days before publication
- 2003-03-18Published
- 2004-09-01Published by the CNA04:00 UTC · 533 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 22325 | local | unix | 2003-03-04 | yes |
| EDB-ID 22324 | local | unix | 2003-03-04 | yes |
Affected products
| Vendor | Product |
|---|---|
| file | file |
| netbsd | netbsd |
References
- http://www.idefense.com/advisory/03.04.03.txt
- http://www.securityfocus.com/bid/7008
- ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2003-003.txt.asc
- http://lwn.net/Alerts/34908/
- 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
- http://www.redhat.com/support/errata/RHSA-2003-087.html
- http://marc.info/?l=bugtraq&m=104680706201721&w=2
- http://www.kb.cert.org/vuls/id/611865
- https://exchange.xforce.ibmcloud.com/vulnerabilities/11469
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2003-0102'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2003-0102'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2003-0102'curl 'https://api.contrastcyber.com/cve_products/CVE-2003-0102'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).