CVE-2002-1476

NetBSD 1.4.x-1.6 - Local Buffer Overflow in setlocale LC_ALL Category

Title source: llm
STIX 2.1

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.

References (4)

Core 4
Core References
Vendor Advisory vendor-advisory x_refsource_netbsd
ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2002-012.txt.asc
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://www.osvdb.org/7565
Patch, Vendor Advisory vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/5724
Patch, Vendor Advisory vdb-entry x_refsource_xf
http://www.iss.net/security_center/static/10159.php

Scores

EPSS 0.0010
EPSS Percentile 27.0%

Details

Status published
Products (6)
netbsd/netbsd 1.4
netbsd/netbsd 1.5
netbsd/netbsd 1.5.1
netbsd/netbsd 1.5.2
netbsd/netbsd 1.5.3
netbsd/netbsd 1.6 beta
Published Apr 22, 2003
Tracked Since Feb 18, 2026