CVE-2002-1476

CVE-2002-1476 is a medium-severity vulnerability in Netbsd with a CVSS 2.0 base score of 4.6. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.

Key facts

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.

Frequently asked questions

What is CVE-2002-1476?
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.
How severe is CVE-2002-1476?
CVE-2002-1476 has a CVSS 2.0 base score of 4.6, rated medium severity.
Is CVE-2002-1476 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (35th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2002-1476?
CVE-2002-1476 primarily affects Netbsd. In total, 6 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2002-1476?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2002-1476 published?
CVE-2002-1476 was published on 2003-04-22 and last updated on 2026-06-16.

References

Affected products (6)

More vulnerabilities in Netbsd

All CVEs affecting Netbsd →