{"id":"CVE-2003-0102","aliases":["DEBIAN-CVE-2003-0102","DSA-260","EUVD-2003-0098","GHSA-8hj3-wvpv-xrpr"],"status":"published","title":"Buffer overflow in tryelf() in readelf.c of the file command allows attackers to execute...","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":{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01982,"percentile":0.80696,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"published":"2003-03-13T00:00:00Z","modified":"2026-10-22T23:47:18Z","exploits":[{"source":"exploitdb","id":"EDB-22324","title":"File 3.x - Local Stack Overflow Code Execution (1)","type":"local","platform":"unix","date":"2003-03-04","verified":true,"url":"https://www.exploit-db.com/exploits/22324"},{"source":"exploitdb","id":"EDB-22325","title":"File 3.x - Local Stack Overflow Code Execution (2)","type":"local","platform":"unix","date":"2003-03-04","verified":true,"url":"https://www.exploit-db.com/exploits/22325"}],"fixes":[{"ecosystem":"Debian:12","package":"file","fixed_in":["3.40-1.1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"file","fixed_in":["3.40-1.1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"file","fixed_in":["3.40-1.1"],"sources":["osv"]},{"ecosystem":"Debian:3.0","package":"file","fixed_in":["3.37-3.1.woody.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"file","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.40-1.1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"file","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.40-1.1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"file","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.40-1.1"}]}]},{"source":"osv","ecosystem":"Debian:3.0","package":"file","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.37-3.1.woody.1"}]}]}],"products":[{"vendor":"file","product":"file"},{"vendor":"netbsd","product":"netbsd"}],"references":[{"url":"http://www.idefense.com/advisory/03.04.03.txt","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Vendor Advisory","advisory","evidence","fix"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/11469","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2003-003.txt.asc","tags":["vendor-advisory","x_refsource_NETBSD","x_transferred","advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2003-087.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","web"]},{"url":"http://www.novell.com/linux/security/advisories/2003_017_file.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","advisory"]},{"url":"http://www.securityfocus.com/bid/7008","tags":["vdb-entry","x_refsource_BID","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://marc.info/?l=bugtraq\u0026m=104680706201721\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://lwn.net/Alerts/34908/","tags":["vendor-advisory","x_refsource_IMMUNIX","x_transferred","web"]},{"url":"http://www.redhat.com/support/errata/RHSA-2003-086.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","web"]},{"url":"http://www.debian.org/security/2003/dsa-260","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://www.kb.cert.org/vuls/id/611865","tags":["third-party-advisory","x_refsource_CERT-VN","x_transferred","US Government Resource","web"]},{"url":"http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:030","tags":["vendor-advisory","x_refsource_MANDRAKE","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2003-0102"},{"url":"https://github.com/advisories/GHSA-8hj3-wvpv-xrpr"},{"url":"https://security-tracker.debian.org/tracker/CVE-2003-0102","tags":["advisory"]}],"sources":{"cve":[{"id":"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).","status":"published","published":"2004-09-01T04:00:00Z","modified":"2024-08-08T01:43:35.42Z","updated_at":"2026-11-02T14:20:16.411288Z"}],"euvd":[{"id":"EUVD-2003-0098","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).","status":"published","published":"2004-09-01T04:00:00Z","modified":"2024-08-08T01:43:35Z","updated_at":"2026-11-03T01:15:08.689521Z"}],"ghsa":[{"id":"GHSA-8hj3-wvpv-xrpr","title":"Buffer overflow in tryelf() in readelf.c of the file command allows attackers to execute...","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).","status":"published","published":"2022-05-03T03:09:39Z","modified":"2023-02-01T05:01:01Z","updated_at":"2026-11-02T14:49:39.185404Z"}],"nvd":[{"id":"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).","status":"published","published":"2003-03-18T05:00:00Z","modified":"2026-06-16T22:01:31.82Z","cvss":[{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:00:46.710758Z"}],"osv":[{"id":"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).","status":"published","published":"2003-03-18T05:00:00Z","modified":"2026-04-10T03:35:12.076027Z","updated_at":"2026-11-02T15:43:55.998148Z"},{"id":"DEBIAN-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).","status":"published","published":"2003-03-18T05:00:00Z","modified":"2026-10-22T23:47:18.934753374Z","updated_at":"2026-11-02T15:45:22.248131Z"},{"id":"DSA-260","title":"file - buffer overflow","status":"published","published":"2003-03-13T00:00:00Z","modified":"2026-03-09T01:21:49.900133Z","updated_at":"2026-11-02T15:46:15.489951Z"}]}}
