Live threats

All CVEs / Netbsd

CVE-2002-1476Netbsd

Medium 4.6

Priority
28
CVSS 2.0
4.6
EPSS
0.4%
probability of exploitation in 30 days · percentile 30
Auth required
Yes
Published
Apr 22, 2003
Updated
Jun 16, 2026
Category
Operating system · Cross-platform
Vector
AV:L/AC:L/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Netbsd.

Affected products (CPE)

VendorProductVersions
netbsdnetbsd1.4
netbsdnetbsd1.5
netbsdnetbsd1.5.1
netbsdnetbsd1.5.2
netbsdnetbsd1.5.3
netbsdnetbsd1.6

Official sources

References

Links published by the sources. Open them with care.