Skip to content
OpenAdvisories
High · 7.8 CVE-2026-71266 EUVD-2026-53351GHSA-gr59-p4q8-r75g

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

Published Aug 5, 2026 · Updated Aug 10, 2026 · 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.

Affected products

VendorProductAffectedFixed
syoyo tinyobjloader-c — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 goxel +1 No fix yet —
Ubuntu 26.04 LTS goxel No fix yet —
Ubuntu 24.04 LTS goxel No fix yet —
Ubuntu 22.04 LTS goxel No fix yet —
Ubuntu 20.04 LTS goxel No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS goxel No fix yet —

References