CWE
NVD-CWE-Other 119
Advisory Published
CVE Published
Updated

CVE-2002-1476: Buffer Overflow

First published: Tue Apr 22 2003(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
NetBSD NetBSD=1.5.3
NetBSD NetBSD=1.5
NetBSD NetBSD=1.6-beta
NetBSD NetBSD=1.5.1
NetBSD NetBSD=1.5.2
NetBSD NetBSD=1.4

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2002-1476?

    CVE-2002-1476 has a high severity rating due to the potential for local attackers to execute arbitrary code.

  • How do I fix CVE-2002-1476?

    To fix CVE-2002-1476, it is recommended to update to a patched version of NetBSD that addresses the buffer overflow vulnerability.

  • Which versions of NetBSD are affected by CVE-2002-1476?

    CVE-2002-1476 affects NetBSD versions from 1.4 to 1.6, including specific versions like 1.5, 1.5.1, 1.5.2, and 1.6-beta.

  • Who can exploit CVE-2002-1476?

    CVE-2002-1476 can be exploited by local attackers who have the ability to control locale strings.

  • What kind of attacks can CVE-2002-1476 enable?

    CVE-2002-1476 can enable local code execution attacks, allowing the attacker to run arbitrary code on the affected system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203