{"id":"CVE-2003-0358","aliases":["DEBIAN-CVE-2003-0358","DSA-316","DSA-316-1","DSA-316-2","DSA-316-3","DSA-350","EUVD-2003-0353","GHSA-h59w-g68x-v974"],"status":"published","title":"Buffer overflow in (1) nethack 3.4.0 and earlier, and (2) falconseye 1.9.3 and earlier, which is...","description":"Buffer overflow in (1) nethack 3.4.0 and earlier, and (2) falconseye 1.9.3 and earlier, which is based on nethack, allows local users to gain privileges via a long -s command line option.","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-07","score":0.01217,"percentile":0.68778,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-120"],"published":"2003-05-30T04:00:00Z","modified":"2026-10-22T23:47:32Z","exploits":[{"source":"exploitdb","id":"EDB-22233","title":"Nethack 3 - Local Buffer Overflow (1)","type":"local","platform":"linux","date":"2003-02-10","verified":true,"url":"https://www.exploit-db.com/exploits/22233"},{"source":"exploitdb","id":"EDB-22234","title":"Nethack 3 - Local Buffer Overflow (2)","type":"local","platform":"linux","date":"2003-02-10","verified":true,"url":"https://www.exploit-db.com/exploits/22234"},{"source":"exploitdb","id":"EDB-22235","title":"Nethack 3 - Local Buffer Overflow (3)","type":"local","platform":"linux","date":"2003-02-10","verified":true,"url":"https://www.exploit-db.com/exploits/22235"},{"source":"pocgithub","id":"gmh5225/CVE-2003-0358","title":"gmh5225/CVE-2003-0358","date":"2022-12-17","url":"https://github.com/gmh5225/CVE-2003-0358"},{"source":"pocgithub","id":"fengjixuchui/CVE-2003-0358","title":"fengjixuchui/CVE-2003-0358","date":"2023-11-22","url":"https://github.com/fengjixuchui/CVE-2003-0358"}],"fixes":[{"ecosystem":"Debian:12","package":"nethack","fixed_in":["3.4.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"nethack","fixed_in":["3.4.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"nethack","fixed_in":["3.4.1-1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"slashem","fixed_in":["0.0.6E4F8-6"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"slashem","fixed_in":["0.0.6E4F8-6"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"slashem","fixed_in":["0.0.6E4F8-6"],"sources":["osv"]},{"ecosystem":"Debian:3.0","package":"slashem","fixed_in":["0.0.6E4F8-4.0woody3"],"sources":["osv"]},{"ecosystem":"Debian:3.0","package":"falconseye","fixed_in":["1.9.3-7woody3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"nethack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"nethack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"nethack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.1-1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"slashem","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.6E4F8-6"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"slashem","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.6E4F8-6"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"slashem","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.6E4F8-6"}]}]},{"source":"osv","ecosystem":"Debian:3.0","package":"nethack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.0-3.0woody3"}]}],"bundled":2},{"source":"osv","ecosystem":"Debian:3.0","package":"slashem","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.0.6E4F8-4.0woody3"}]}]},{"source":"osv","ecosystem":"Debian:3.0","package":"jnethack","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.5-11woody2"}]}],"bundled":2},{"source":"osv","ecosystem":"Debian:3.0","package":"falconseye","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.3-7woody3"}]}]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"falconseye_project","product":"falconseye"},{"vendor":"nethack","product":"nethack"}],"references":[{"url":"http://www.debian.org/security/2003/dsa-350","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.debian.org/security/2003/dsa-316","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/11283","tags":["vdb-entry","x_refsource_XF","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"http://www.securityfocus.com/bid/6806","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"http://www.securityfocus.com/archive/1/311172/2003-02-08/2003-02-14/0","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","Exploit","Third Party Advisory","VDB Entry","advisory","evidence"]},{"url":"http://nethack.sourceforge.net/v340/bugmore/secpatch.txt","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2003-0358"},{"url":"https://github.com/advisories/GHSA-h59w-g68x-v974"},{"url":"https://security-tracker.debian.org/tracker/CVE-2003-0358","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2003-0358","description":"Buffer overflow in (1) nethack 3.4.0 and earlier, and (2) falconseye 1.9.3 and earlier, which is based on nethack, allows local users to gain privileges via a long -s command line option.","status":"published","published":"2003-05-30T04:00:00Z","modified":"2024-08-08T01:50:47.917Z","updated_at":"2026-11-02T14:20:17.11067Z"}],"euvd":[{"id":"EUVD-2003-0353","description":"Buffer overflow in (1) nethack 3.4.0 and earlier, and (2) falconseye 1.9.3 and earlier, which is based on nethack, allows local users to gain privileges via a long -s command line option.","status":"published","published":"2003-05-30T04:00:00Z","modified":"2024-08-08T01:50:47Z","updated_at":"2026-11-03T01:15:07.680279Z"}],"ghsa":[{"id":"GHSA-h59w-g68x-v974","title":"Buffer overflow in (1) nethack 3.4.0 and earlier, and (2) falconseye 1.9.3 and earlier, which is...","description":"Buffer overflow in (1) nethack 3.4.0 and earlier, and (2) falconseye 1.9.3 and earlier, which is based on nethack, allows local users to gain privileges via a long -s command line option.","status":"published","published":"2022-04-29T01:26:17Z","modified":"2023-01-30T05:01:07Z","cwes":["CWE-120"],"updated_at":"2026-11-02T14:46:20.638842Z"}],"nvd":[{"id":"CVE-2003-0358","description":"Buffer overflow in (1) nethack 3.4.0 and earlier, and (2) falconseye 1.9.3 and earlier, which is based on nethack, allows local users to gain privileges via a long -s command line option.","status":"published","published":"2003-06-09T04:00:00Z","modified":"2026-06-16T22:02:03.78Z","cvss":[{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-120"],"updated_at":"2026-11-02T14:00:46.710758Z"}],"osv":[{"id":"CVE-2003-0358","description":"Buffer overflow in (1) nethack 3.4.0 and earlier, and (2) falconseye 1.9.3 and earlier, which is based on nethack, allows local users to gain privileges via a long -s command line option.","status":"published","published":"2003-06-09T04:00:00Z","modified":"2026-04-10T03:36:08.082862Z","updated_at":"2026-11-02T15:43:55.998148Z"},{"id":"DEBIAN-CVE-2003-0358","description":"Buffer overflow in (1) nethack 3.4.0 and earlier, and (2) falconseye 1.9.3 and earlier, which is based on nethack, allows local users to gain privileges via a long -s command line option.","status":"published","published":"2003-06-09T04:00:00Z","modified":"2026-10-22T23:47:32.082837695Z","updated_at":"2026-11-02T15:45:22.55978Z"},{"id":"DSA-316","title":"nethack - buffer overflow, incorrect permissions","status":"withdrawn","published":"2003-06-11T00:00:00Z","modified":"2025-05-26T07:14:13.969974Z","updated_at":"2026-11-02T15:46:15.843838Z"},{"id":"DSA-316-1","title":"nethack - buffer overflow, incorrect permissions","status":"published","published":"2003-06-11T00:00:00Z","modified":"2026-03-09T01:19:54.434159Z","updated_at":"2026-11-02T15:46:15.843838Z"},{"id":"DSA-316-2","title":"slashem - buffer overflow","status":"published","published":"2003-06-11T00:00:00Z","modified":"2026-03-09T01:18:15.820604Z","updated_at":"2026-11-02T15:46:15.843838Z"},{"id":"DSA-316-3","title":"jnethack - buffer overflow, incorrect permissions","status":"published","published":"2003-06-17T00:00:00Z","modified":"2026-03-09T01:21:05.234324Z","updated_at":"2026-11-02T15:46:15.843838Z"},{"id":"DSA-350","title":"falconseye - buffer overflow","status":"published","published":"2003-07-15T00:00:00Z","modified":"2026-03-09T01:19:07.675468Z","updated_at":"2026-11-02T15:46:16.199525Z"}]}}
