CVE-2022-38072: ADMesh improper array index validation
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability description explicitly names 'stl_fix_normal_directions' as the vulnerable functionality.
The GitHub commit shows a critical index validation check was added to this function in the patched version.
The Talos report demonstrates the crash occurs at line 147 of normals.c during 'norm_sw' array access.
The CWE-129 (Improper Validation of Array Index) mapping confirms the lack of bounds checking on array indices.
The patch adds 'stl->neighbors_start[facet_num].neighbor[j] < stl->stats.number_of_facets' validation, directly addressing the missing check in the vulnerable function.