CVE-2003-0102 EXPLOIT
4.6
MEDIUM · CVSS 2.0 · EPSS 2% (pctl 80)
Patch early
A public exploit exists.
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).
Scoring
| CVSS | 4.6 (MEDIUM, v2.0) |
|---|---|
| Vector | AV:L/AC:L/Au:N/C:P/I:P/A:P |
| EPSS | 1.98% — more likely to be exploited than 80% of all CVEs |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2003-03-18 |
| Last modified | 2026-06-16 |
Affected (2)
| Vendor | Product |
|---|---|
| file | file |
| netbsd | netbsd |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | File 3.x - Local Stack Overflow Code Execution (1) | 2003-03-04 |
| exploit-db | File 3.x - Local Stack Overflow Code Execution (2) | 2003-03-04 |
References
- 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.idefense.com/advisory/03.04.03.txt
- http://www.kb.cert.org/vuls/id/611865
- 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://www.securityfocus.com/bid/7008
- https://exchange.xforce.ibmcloud.com/vulnerabilities/11469
- 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.idefense.com/advisory/03.04.03.txt
- http://www.kb.cert.org/vuls/id/611865
- http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:030
- http://www.novell.com/linux/security/advisories/2003_017_file.html
→ the Explorer · watch your stack · NVD