Vulnerability Monitor

The vendors, products, and vulnerabilities you care about

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.


Published

2003-04-22T04:00:00.000

Last Modified

2025-04-03T01:03:51.193

Status

Deferred

Source

[email protected]

Severity

CVSSv2: 4.6 (MEDIUM)

CVSSv2 Vector

AV:L/AC:L/Au:N/C:P/I:P/A:P

  • Access Vector: LOCAL
  • Access Complexity: LOW
  • Authentication: NONE
  • Confidentiality Impact: PARTIAL
  • Integrity Impact: PARTIAL
  • Availability Impact: PARTIAL
Exploitability Score

3.9

Impact Score

6.4

Weaknesses
  • Type: Primary
    NVD-CWE-Other

Affected Vendors & Products
Type Vendor Product Version/Range Vulnerable?
Operating System netbsd netbsd 1.4 Yes
Operating System netbsd netbsd 1.5 Yes
Operating System netbsd netbsd 1.5.1 Yes
Operating System netbsd netbsd 1.5.2 Yes
Operating System netbsd netbsd 1.5.3 Yes
Operating System netbsd netbsd 1.6 Yes

References