CVE-2026-71266
tinyobjloader-c Stack Buffer Overflow in MTL Material File Line Parsing
- State
- Published
- Severity
- 7.8 High
- Published
- Aug 5, 2026
- Updated
- Aug 10, 2026
- Reserved
- Aug 5, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.8 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | TuranSec |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
tinyobjloader-csyoyo |
|
References
- https://github.com/syoyo/tinyobjloader-cthird-party-advisory
- https://github.com/syoyo/tinyobjloader-c/blob/master/tinyobj_loader_c.hthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.