MISRA CWE Coverage
Overview
MISRA (Motor Industry Software Reliability Association) provides essential coding guidelines for safe, secure, and reliable software, especially in safety-critical embedded systems, extending beyond automotive to aerospace, medical, and industrial fields, ensuring developers use C/C++ with fewer errors, better portability, and higher maintainability through rules classified as mandatory, required, or advisory, with compliance managed through documentation and deviation processes.
This article organizes Common Weakness Enumerations (CWEs) relevant to MISRA.
Each row in the table below outlines a specific compliance standard, categorized by the following columns:
Compliance Standard: The specific category of the standard to which the CWE is mapped.
CWE-ID: The relevant CWE for this standard, along with a short description.
Misra C:2025
Compliance Standard | CWE-ID |
|---|---|
1.5 |
|
Dir 4.1 |
|
Dir 4.14 |
|
21.3 |
|
21.6 |
|
21.17 |
|
21.18 |
|
21.21 |
|
22.2 |
|
Misra C++:2023
Compliance Standard | CWE-ID |
|---|---|
4.1.2 |
|
7.0.5 |
|
21.2.3 |
|
21.6.2 |
|
30.0.1 |
|