MEDIUM
CVE-2002-1476
NVD-CWE-OtherPublished: April 22, 2003· Updated: Jun 16, 2026
4.6
CVSS v3.1
Official 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.
Technical Analysis
CVE-2002-1476 requires local access, meaning attackers must already have a foothold on the target system.
Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.
CVSS v3.1 Vector Breakdown
Exploitability
Attack VectorLocal
Attack ComplexityLow
Privileges Req.
User Interaction
Scope
Impact
ConfidentialityP
IntegrityP
AvailabilityP
AV:L/AC:L/Au:N/C:P/I:P/A:P
Affected Vendors & Products
netbsd1 product(s)
netbsd
Source: NVD CPE · 6 total CPE entries
Exploit & PoC Resources
NO KNOWN EXPLOITNo public exploit confirmed at this time
Exploit-DB
Offensive Security exploit database
GitHub PoC Search
Community PoC repositories
Rapid7 / Metasploit
Metasploit module search
PacketStorm
Security advisories & exploits
NVD Detail
Official NIST entry
MITRE CVE
CVE Program entry
External links open in a new tab. Always verify in a controlled environment before use.
Official Patches & Advisories
All References (8)
→
http://www.iss.net/security_center/static/10159.phpPatch · Vendor Advisory
→
http://www.securityfocus.com/bid/5724Patch · Vendor Advisory
→
http://www.iss.net/security_center/static/10159.phpPatch · Vendor Advisory
→
http://www.securityfocus.com/bid/5724Patch · Vendor Advisory
Quick Facts
CVE IDCVE-2002-1476
CVSS Score4.6 / 10
SeverityMEDIUM
WeaknessNVD-CWE-Other
CISA KEVNo
Affected1 vendor(s)
PublishedApr 22, 2003
Related CVEs (NVD-CWE-Other)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2002-1476 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.