Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2026-71266

tinyobjloader-c Stack Buffer Overflow in MTL Material File Line Parsing

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

syoyo tinyobjloader-c

Default version status: unaffected

  • 0 to ≤ *affected

References