API / Function Errors
A category in the Common Weakness Enumeration published by The MITRE Corporation.
Categories in the Common Weakness Enumeration (CWE) group entries based on some common characteristic or attribute.
Weaknesses in this category are related to the use of built-in functions or external APIs.
The product provides an Applications Programming Interface (API) or similar interface for interaction with external actors, but the interface includes a dangerous meth...
The behavior of this function is undefined unless its control parameter is set to a specific value.
The code uses a function that has inconsistent implementations across operating systems and versions.
The product calls a function that can never be guaranteed to work safely.
The product uses low-level functionality that is explicitly prohibited by the framework or specification under which the product is supposed to operate.
The code uses deprecated or obsolete functions, which suggests that the code has not been actively reviewed or maintained.
The product invokes a potentially dangerous function that could introduce a vulnerability if it is used incorrectly, but the function can also be used safely.
This view organizes weaknesses around concepts that are frequently used or encountered in software development. This includes all aspects of the software development l...