Security mailing lists by PureSourceCode

CVE-2002-1476

MEDIUM 4.6CVSS 2.0

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
22 Apr 2003
Last modified
16 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.6 AV:L/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD netbsd netbsd
cpe:2.3:o:netbsd:netbsd:1.4:*:*:*:*:*:*:*
= 1.4
NVD netbsd netbsd
cpe:2.3:o:netbsd:netbsd:1.5:*:*:*:*:*:*:*
= 1.5
NVD netbsd netbsd
cpe:2.3:o:netbsd:netbsd:1.5.1:*:*:*:*:*:*:*
= 1.5.1
NVD netbsd netbsd
cpe:2.3:o:netbsd:netbsd:1.5.2:*:*:*:*:*:*:*
= 1.5.2
NVD netbsd netbsd
cpe:2.3:o:netbsd:netbsd:1.5.3:*:*:*:*:*:*:*
= 1.5.3
NVD netbsd netbsd
cpe:2.3:o:netbsd:netbsd:1.6:beta:*:*:*:*:*:*
= 1.6

References

History

  • 25 Nov 2026 20:11 UTC · NVD: first stored (published 22 Apr 2003)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.