{"id":"CVE-2002-1476","state":"PUBLISHED","title":"Buffer overflow in setlocale in libc on NetBSD 1.4.x through 1.6, and possibly other operating systems, when called with the LC_ALL category, allows local attackers to execute arbi","description":"Buffer overflow in setlocale in libc on NetBSD 1.4.x through 1.6, and possibly other operating systems, when called with the LC_ALL category, allows local attackers to execute arbitrary code via a user-controlled locale string that has more than 6 elements, which exceeds the boundaries of the new_categories category array, as exploitable through programs such as xterm and zsh.","publishedAt":"2004-09-01T04:00:00.000Z","updatedAt":"2024-08-08T03:26:28.434Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.osvdb.org/7565","http://www.securityfocus.com/bid/5724","http://www.iss.net/security_center/static/10159.php"],"weaknesses":[],"ingestedAt":"2026-10-29T19:26:41.272Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2002/1xxx/CVE-2002-1476.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2002-1476","state":"PUBLISHED","datePublished":"2004-09-01T04:00:00.000Z","dateUpdated":"2024-08-08T03:26:28.434Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2003-02-05T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"Buffer overflow in setlocale in libc on NetBSD 1.4.x through 1.6, and possibly other operating systems, when called with the LC_ALL category, allows local attackers to execute arbitrary code via a user-controlled locale string that has more than 6 elements, which exceeds the boundaries of the new_categories category array, as exploitable through programs such as xterm and zsh."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2002-012.txt.asc","name":"NetBSD-SA2002-012","tags":["vendor-advisory","x_refsource_NETBSD"]},{"url":"http://www.osvdb.org/7565","name":"7565","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://www.securityfocus.com/bid/5724","name":"5724","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.iss.net/security_center/static/10159.php","name":"netbsd-libc-setlocale-bo(10159)","tags":["vdb-entry","x_refsource_XF"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2004-08-18T00:00:00.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2002-09-17T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2002-1476","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Buffer overflow in setlocale in libc on NetBSD 1.4.x through 1.6, and possibly other operating systems, when called with the LC_ALL category, allows local attackers to execute arbitrary code via a user-controlled locale string that has more than 6 elements, which exceeds the boundaries of the new_categories category array, as exploitable through programs such as xterm and zsh."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"NetBSD-SA2002-012","refsource":"NETBSD","url":"ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2002-012.txt.asc"},{"name":"7565","refsource":"OSVDB","url":"http://www.osvdb.org/7565"},{"name":"5724","refsource":"BID","url":"http://www.securityfocus.com/bid/5724"},{"name":"netbsd-libc-setlocale-bo(10159)","refsource":"XF","url":"http://www.iss.net/security_center/static/10159.php"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2002-012.txt.asc","name":"NetBSD-SA2002-012","tags":["vendor-advisory","x_refsource_NETBSD","x_transferred"]},{"url":"http://www.osvdb.org/7565","name":"7565","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://www.securityfocus.com/bid/5724","name":"5724","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.iss.net/security_center/static/10159.php","name":"netbsd-libc-setlocale-bo(10159)","tags":["vdb-entry","x_refsource_XF","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-08T03:26:28.434Z"}}]}}}