What’s Vulnerable › Vulnerabilities
CVE-2002-1476
- Severity: medium (CVSS 4.6 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2003-04-22 · updated 2026-06-16
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
- Netbsd: 1.4, 1.5, 1.5.1, 1.5.2, 1.5.3, 1.6-beta
References
- http://www.iss.net/security_center/static/10159.php
- http://www.osvdb.org/7565
- http://www.securityfocus.com/bid/5724
- http://www.iss.net/security_center/static/10159.php
- http://www.osvdb.org/7565
- http://www.securityfocus.com/bid/5724
Get alerted when CVE-2002-1476 or the next vulnerability affects your stack