CVE Catalog

CVE-2026-71266

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.13%

3th percentile - higher than 3% of all known CVEs

Summary

tinyobjloader-c's tinyobj_parse_and_index_mtl_file reads each line of a .mtl material file into a fixed 4096-byte stack buffer via memcpy(linebuf, p, p_len), guarded only by [incomplete condition]. The identical vulnerable pattern is duplicated in a second function in the same file.

Risk Assessment

Stack buffer overflow may lead to crashes or remote code execution when processing malicious .mtl files.

Recommendation

Check line length before copying and use safe copy functions with buffer size limits.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS