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 software provides an Applications Programming Interface (API) or similar interface for interaction with external actors, but the interface includes a dangerous met...
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 program calls a function that can never be guaranteed to work safely.
The software uses low-level functionality that is explicitly prohibited by the framework or specification under which the software is supposed to operate.
The code uses deprecated or obsolete functions, which suggests that the code has not been actively reviewed or maintained.
The program 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...