Unrated severityNVD Advisory· Published Apr 22, 2003· Updated Jun 16, 2026
CVE-2002-1476
CVE-2002-1476
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.
Affected products
8cpe:2.3:o:netbsd:netbsd:1.4:*:*:*:*:*:*:*+ 6 more
- cpe:2.3:o:netbsd:netbsd:1.4:*:*:*:*:*:*:*
- cpe:2.3:o:netbsd:netbsd:1.5:*:*:*:*:*:*:*
- cpe:2.3:o:netbsd:netbsd:1.5.1:*:*:*:*:*:*:*
- cpe:2.3:o:netbsd:netbsd:1.5.2:*:*:*:*:*:*:*
- cpe:2.3:o:netbsd:netbsd:1.5.3:*:*:*:*:*:*:*
- cpe:2.3:o:netbsd:netbsd:1.6:beta:*:*:*:*:*:*
- (no CPE)range: 1.4.x - 1.6
Patches
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4- www.iss.net/security_center/static/10159.phpnvdPatchVendor Advisory
- www.securityfocus.com/bid/5724nvdPatchVendor Advisory
- ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2002-012.txt.ascnvd
- www.osvdb.org/7565nvd
News mentions
0No linked articles in our index yet.