VYPR
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

8
  • NetBSD/NetBSD7 versions
    cpe: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
  • NetBSD/libcllm-fuzzy
    Range: 1.4.x - 1.6

Patches

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

4

News mentions

0

No linked articles in our index yet.