Read the docs
TI-2002-01398 Aliases CVE-2002-1476GHSA-5wm2-qcg4-9wjx

Buffer overflow in setlocale in libc on NetBSD 1.4.x through 1.6, and possibly other…

Priority LOW 22Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Partial · Partial · Partial
Fix status
No fix listed

Attack profile from CVSS 2.0 · NVD. Fix status from CNA.

Summary

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.

Why it matters now

EPSS 0.00441 38th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 6

CPEVersionsRoleVendor
cpe:2.3:o:netbsd:netbsd:1.4:*:*:*:*:*:*:*1.4VulnerableNetBSD
cpe:2.3:o:netbsd:netbsd:1.5:*:*:*:*:*:*:*1.5VulnerableNetBSD
cpe:2.3:o:netbsd:netbsd:1.5.1:*:*:*:*:*:*:*1.5.1VulnerableNetBSD
cpe:2.3:o:netbsd:netbsd:1.5.2:*:*:*:*:*:*:*1.5.2VulnerableNetBSD
cpe:2.3:o:netbsd:netbsd:1.5.3:*:*:*:*:*:*:*1.5.3VulnerableNetBSD
cpe:2.3:o:netbsd:netbsd:1.6:beta:*:*:*:*:*:*1.6 betaVulnerableNetBSD
  • cpe:2.3:o:netbsd:netbsd:1.4:*:*:*:*:*:*:* Versions 1.4 Vulnerable ·NetBSD
  • cpe:2.3:o:netbsd:netbsd:1.5:*:*:*:*:*:*:* Versions 1.5 Vulnerable ·NetBSD
  • cpe:2.3:o:netbsd:netbsd:1.5.1:*:*:*:*:*:*:* Versions 1.5.1 Vulnerable ·NetBSD
  • cpe:2.3:o:netbsd:netbsd:1.5.2:*:*:*:*:*:*:* Versions 1.5.2 Vulnerable ·NetBSD
  • cpe:2.3:o:netbsd:netbsd:1.5.3:*:*:*:*:*:*:* Versions 1.5.3 Vulnerable ·NetBSD
  • cpe:2.3:o:netbsd:netbsd:1.6:beta:*:*:*:*:*:* Versions 1.6 beta Vulnerable ·NetBSD

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2002-1476
  2. 2026-10-03 Alias added: GHSA-5wm2-qcg4-9wjx

References

  • TI-2024-05929 Openssh: regresshion - race condition in ssh allows rce/dos CVSS 3.1HIGH 8.1
  • TI-2003-00437 Off-by-one error in the fb_realpath() function, as derived from the realpath function in… CVSS 3.1CRITICAL 9.8
  • TI-2002-01263 Buffer overflow in Sendmail 5.79 to 8.12.7 allows remote attackers to execute arbitrary… CVSS 2.0HIGH 10.0
  • TI-2003-00642 The prescan function in Sendmail 8.12.9 allows remote attackers to execute arbitrary code… CVSS 2.0HIGH 10.0
  • TI-1999-00045 Buffer overflow of rlogin program using TERM environmental variable. CVSS 2.0HIGH 10.0
  • TI-2014-06993 The fetch_url function in usr.bin/ftp/fetch.c in tnftp, as used in NetBSD 5.1 through… CVSS 2.0HIGH 7.5
See all 167 →

Sources