Common Weakness Enumeration

    CWE Definition / CWE-558

    CWE-558: Use of getlogin() in Multithreaded Application

    The product uses the getlogin() function in a multithreaded context, potentially causing it to return incorrect values.

    Published:19 Jul 2006
    Organization:MITRE
    Modified:11 Dec 2025

    Related Weakness

    CWE-663: Use of a Non-reentrant Function in a Concurrent Context

    CWE-558: Use of getlogin() in Multithreaded Application | CVE-DB