Common Weakness Enumeration

    CWE Definition / CWE-560

    CWE-560: Use of umask() with chmod-style Argument

    The product calls umask() with an incorrect argument that is specified as if it is an argument to chmod().

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

    Related Weakness

    CWE-687: Function Call With Incorrectly Specified Argument Value

    CWE-560: Use of umask() with chmod-style Argument | CVE-DB