# CVE-2026-71266: tinyobjloader-c Stack Buffer Overflow in MTL Material File Line Parsing

- Severity: High 7.8 (CVSS:3.1, scored by TuranSec) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 4% of CVEs (2026-11-30)
- Published: 2026-08-05T12:26:14.097Z
- Modified: 2026-10-24T15:10:00.190Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: TuranSec

## 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.

(As written by CVE List.)

## Affected

- syoyo tinyobjloader-c: up to *

## References

- <https://github.com/syoyo/tinyobjloader-c> (third-party-advisory)
- <https://github.com/syoyo/tinyobjloader-c/blob/master/tinyobj_loader_c.h> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-71266](https://www.cve.org/CVERecord?id=CVE-2026-71266), CVE Terms of Use, modified 2026-08-10
- NVD: [CVE-2026-71266](https://nvd.nist.gov/vuln/detail/CVE-2026-71266), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-71266 · Whole record: https://cve.day/CVE-2026-71266.json · Rebuilt by cve.day 2026-11-25T22:59:31.102Z
