Description (CNA)
tinyobjloader-c's tinyobj_parse_and_index_mtl_file (tinyobj_loader_c.h) reads each line of a .mtl material file into a fixed 4096-byte stack buffer via memcpy(linebuf, p, p_len), guarded only by . The identical vulnerable pattern is duplicated in a second function in the same file.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| syoyo / tinyobjloader-c | affected 0 through * |
CWE
CWE-121
References
- https://github.com/syoyo/tinyobjloader-c
- https://github.com/syoyo/tinyobjloader-c/blob/master/tinyobj_loader_c.h
ADP enrichment
No English description supplied.
No references supplied.