← Back to search

CVE-2026-71266

7.8 HIGHpublic exploit available

Published 2026-08-05 · Updated 2026-08-10

AI risk analysis

Summary
The flaw in tinyobjloader-c allows an attacker to overflow a stack buffer by manipulating a .mtl file, leading to potential code execution or data corruption.
Exploitability
Exploitation is moderately hard as it requires crafting a specific .mtl file with a payload that overflows the buffer, and the vulnerability is only triggered via a read operation.
Blast radius
If exploited, the impact could be severe, potentially leading to remote code execution or data loss on the affected system.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to the fixed version 2.590 or later.
buffer-overflowstack-overflowfile-inclusion

Analysis generated locally by qwen2.5:7b-instruct (no data left the box). AI-assisted — verify against primary sources before acting.

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

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weaknesses

CWE-121

Public exploit & PoC references

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.