Vulnerability · Published Aug 5, 2026 · Assigned by TuranSec

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

High 7.8

In plain English

A high-severity stack buffer overflow in tinyobjloader-c from syoyo. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities).

Severity (CVSS 3.1)7.8High
Exploit odds (30 days)0.2%top 93.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Ubuntu:22.04:LTSgoxelno fix listedUBUNTU-CVE-2026-71266
Ubuntu:24.04:LTSgoxelno fix listedUBUNTU-CVE-2026-71266
Ubuntu:26.04:LTSgoxelno fix listedUBUNTU-CVE-2026-71266
Ubuntu:26.10goxelno fix listedUBUNTU-CVE-2026-71266
Ubuntu:26.10raylibno fix listedUBUNTU-CVE-2026-71266

Affected products (as reported)

VendorProductVersions
syoyo tinyobjloader-c 0 – through *

Weakness: CWE-121 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References