{"schemaVersion":3,"id":"CVE-2002-0965","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Buffer overflow in TNS Listener for Oracle 9i Database Server on Windows systems, and Oracle 8 on VM, allows local users to execute arbitrary code via a long SERVICE_NAME parameter, which is not properly handled when writing an error message to a log file.","dates":{"published":"2003-04-02T05:00:00.000Z","modified":"2024-08-08T03:12:15.562Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.6981,"percentile":0.99371,"severity":"critical","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.6981},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.6981,"percentile":0.99371}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.6981,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.6981,"percentile":0.99371}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"16341","name":"Oracle 8i - TNS Listener SERVICE_NAME Buffer Overflow (Metasploit)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/16341","maturity":"weaponized","reliabilityScore":0.8,"verified":true,"type":"remote","platforms":["windows"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"remote","platform":"windows","file":"exploits/windows/remote/16341.rb","codes":["CVE-2002-0965","OSVDB-5041"]},"metasploit":null},{"id":"MSF_EXPLOIT_WINDOWS_ORACLE_TNS_SERVICE_NAME","name":"Oracle 8i TNS Listener SERVICE_NAME Buffer Overflow","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/windows/oracle/tns_service_name.rb","maturity":"weaponized","reliabilityScore":0.6666666666666666,"verified":true,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/windows/oracle/tns_service_name","rank":"400","rankName":"good","postAuth":false,"check":true,"stability":["unknown-stability"],"sideEffects":["unknown-side-effects"],"reliability":["unknown-reliability"]}}],"exploitCount":2,"weaknesses":[],"affected":[{"vendor":"oracle","product":"oracle9i","name":"oracle9i","label":"oracle9i","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null},{"text":"9.0.1","noFixRecorded":false,"fixedIn":null},{"text":"9.0.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0 | 9.0.1 | 9.0.2","eol":null,"hubHref":"/vendor/oracle/oracle9i"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.kb.cert.org/vuls/id/630091","label":"www.kb.cert.org/vuls/id/630091","hostname":"www.kb.cert.org","tags":["Third Party Advisory","X Refsource CERT VN","US Government Resource"]},{"url":"http://otn.oracle.com/deploy/security/pdf/net9_dos_alert.pdf","label":"otn.oracle.com/deploy/security/pdf/net9_dos_alert.pdf","hostname":"otn.oracle.com","tags":["X Refsource CONFIRM","Patch","Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/4845","label":"www.securityfocus.com/bid/4845","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Patch","Vendor Advisory"]},{"url":"http://online.securityfocus.com/archive/1/276526","label":"online.securityfocus.com/archive/1/276526","hostname":"online.securityfocus.com","tags":["Mailing List","X Refsource BUGTRAQ"]},{"url":"http://www.iss.net/security_center/static/9288.php","label":"www.iss.net/security_center/static/9288.php","hostname":"www.iss.net","tags":["VDB Entry","X Refsource XF"]},{"url":"http://archives.neohapsis.com/archives/vulnwatch/2002-q2/0096.html","label":"archives.neohapsis.com/archives/vulnwatch/2002-q2/0096.html","hostname":"archives.neohapsis.com","tags":["Mailing List","X Refsource VULNWATCH"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2003-04-02T05:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-08T03:12:15.562Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":54,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T21:54:21.395Z","stale":false,"partial":false}}