CVE Vulnerabilities

CVE-2002-1476

Published: Apr 22, 2003 | Modified: Apr 03, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
4.6 MEDIUM
AV:L/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
root.io logo minimus.io logo echo.ai logo

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 Software

NameVendorStart VersionEnd Version
NetbsdNetbsd1.4 (including)1.4 (including)
NetbsdNetbsd1.5 (including)1.5 (including)
NetbsdNetbsd1.5.1 (including)1.5.1 (including)
NetbsdNetbsd1.5.2 (including)1.5.2 (including)
NetbsdNetbsd1.5.3 (including)1.5.3 (including)
NetbsdNetbsd1.6-beta (including)1.6-beta (including)

References