{"id":"CVE-2003-0102","url":"https://www.cyber-defence.io/tools/cve/CVE-2003-0102","generatedAt":"2026-10-27T17:29:57.752Z","title":"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).","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).","published":"2003-03-18T05:00:00.000Z","lastModified":"2026-06-16T22:01:32.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"2.0","score":4.6,"severity":"MEDIUM","vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P"},"cwe":[],"affected":["file/file","netbsd/netbsd"],"epss":{"score":0.01982,"percentile":0.80424,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":2,"verified":true,"firstPublished":"2003-03-04","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":22325,"kind":"exploit","title":"File 3.x - Local Stack Overflow Code Execution (2)","url":"https://www.exploit-db.com/exploits/22325","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/unix/local/22325.c","file":"exploits/unix/local/22325.c","published":"2003-03-04","added":"2003-03-04","updated":"2012-10-28","author":"lem0nxx","type":"local","platform":"unix","port":null,"verified":true,"codes":["CVE-2003-0102","OSVDB-6456"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://www.securityfocus.com/bid/7008/info"},{"edbId":22324,"kind":"exploit","title":"File 3.x - Local Stack Overflow Code Execution (1)","url":"https://www.exploit-db.com/exploits/22324","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/unix/local/22324.c","file":"exploits/unix/local/22324.c","published":"2003-03-04","added":"2003-03-04","updated":"2012-10-28","author":"lem0n","type":"local","platform":"unix","port":null,"verified":true,"codes":["CVE-2003-0102","OSVDB-6456"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://www.securityfocus.com/bid/7008/info"}]},"verdict":{"level":"high","text":"2 public exploits are published in Exploit-DB (verified), so the technical barrier is gone even though the severity is medium and EPSS is 2.0%. Treat it as high on anything reachable from the internet."},"changes":[],"references":[{"url":"ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2003-003.txt.asc","source":"cve@mitre.org"},{"url":"http://lwn.net/Alerts/34908/","source":"cve@mitre.org"},{"url":"http://marc.info/?l=bugtraq&m=104680706201721&w=2","source":"cve@mitre.org"},{"url":"http://www.debian.org/security/2003/dsa-260","source":"cve@mitre.org"},{"url":"http://www.idefense.com/advisory/03.04.03.txt","tags":["Exploit","Patch","Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://www.kb.cert.org/vuls/id/611865","tags":["US Government Resource"],"source":"cve@mitre.org"},{"url":"http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:030","source":"cve@mitre.org"},{"url":"http://www.novell.com/linux/security/advisories/2003_017_file.html","source":"cve@mitre.org"},{"url":"http://www.redhat.com/support/errata/RHSA-2003-086.html","source":"cve@mitre.org"},{"url":"http://www.redhat.com/support/errata/RHSA-2003-087.html","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/7008","tags":["Patch","Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/11469","source":"cve@mitre.org"},{"url":"ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2003-003.txt.asc","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lwn.net/Alerts/34908/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://marc.info/?l=bugtraq&m=104680706201721&w=2","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.debian.org/security/2003/dsa-260","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.idefense.com/advisory/03.04.03.txt","tags":["Exploit","Patch","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.kb.cert.org/vuls/id/611865","tags":["US Government Resource"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:030","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.novell.com/linux/security/advisories/2003_017_file.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.redhat.com/support/errata/RHSA-2003-086.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.redhat.com/support/errata/RHSA-2003-087.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/7008","tags":["Patch","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/11469","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2003-0102","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}