{"id":"CVE-2026-71266","aliases":["CVE-2026-71266"],"related":[],"kind":"vulnerability","state":"published","title":"tinyobjloader-c Stack Buffer Overflow in MTL Material File Line Parsing","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"La función tinyobj_parse_and_index_mtl_file() (tinyobj_loader_c.h) de tinyobjloader-c lee cada línea de un archivo de material .mtl en un búfer de pila fijo de 4096 bytes ’linebuf’ a través de memcpy(linebuf, p, p_len), protegida únicamente por ’assert(p_len menor que 4095)’. Debido a que assert() se compila como una operación nula (no-op) bajo -DNDEBUG (estándar para compilaciones de lanzamiento), un archivo .mtl manipulado que contiene una línea (por ejemplo, un nombre de material ’newmtl’) más larga de 4096 bytes desborda ’linebuf’ hacia la variable de pila adyacente ’namebuf’ y más allá, corrompiendo la pila de cualquier aplicación que carga archivos de modelo/material 3D suministrados por el atacante. El patrón vulnerable idéntico se duplica en una segunda función en el mismo archivo.","source":"nvd"}],"published":"2026-08-05T12:26:14.097Z","modified":"2026-10-24T15:10:00.190Z","severity":{"scorer":"TuranSec","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"TuranSec","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-121"],"affected":[{"ranges":[{"type":"custom","introduced":"0","lastAffected":"*","status":"affected"}],"vendor":"syoyo","product":"tinyobjloader-c","source":"cvelist"}],"references":[{"url":"https://github.com/syoyo/tinyobjloader-c","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/syoyo/tinyobjloader-c/blob/master/tinyobj_loader_c.h","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Alibek Baxtiyorov"],"assigner":"TuranSec","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-08-05T15:40:51.537Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-71266","url":"https://www.cve.org/CVERecord?id=CVE-2026-71266","licence":"CVE Terms of Use","modified":"2026-08-10T11:46:35.656Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-71266","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71266","licence":"Public domain","modified":"2026-10-24T15:10:00.190Z"}],"updatedAt":"2026-11-25T22:59:31.102Z","epss":{"score":0.00174,"percentile":0.03997,"date":"2026-11-30T12:00:22.000Z"}}