An improper array index validation vulnerability exists in the stlfixnormaldirections functionality of ADMesh Master Commit 767a105 and v0.98.4. A specially-crafted stl file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.
ADMesh through 0.98.4 has a heap-based buffer over-read in stlupdateconnectsremove1 (called from stlremovedegenerate) in connect.c in libadmesh.a.