漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
tinyobjloader-c Stack Buffer Overflow in MTL Material File Line Parsing
Vulnerability 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 `linebuf` via memcpy(linebuf, p, p_len), guarded only by `assert(p_len < 4095)`. Because assert() compiles to a no-op under -DNDEBUG (standard for release builds), a crafted .mtl file containing a line (e.g. a "newmtl" material name) longer than 4096 bytes overflows linebuf into the adjacent stack variable namebuf and beyond, corrupting the stack of any application that loads attacker-supplied 3D model/material files. The identical vulnerable pattern is duplicated in a second function in the same file.
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Vulnerability Type
栈缓冲区溢出
Vulnerability Title
Syoyo Fujita tinyobjloader in C 缓冲区错误漏洞
Vulnerability Description
Syoyo Fujita tinyobjloader in C是Syoyo Fujita个人开发者的一款基于C语言的OBJ三维模型解析加载库。 Syoyo Fujita tinyobjloader in C存在缓冲区错误漏洞,该漏洞源于tinyobj_parse_and_index_mtl_file()函数将.mtl材质文件中的每一行通过memcpy复制到固定4096字节的栈缓冲区linebuf,且仅由assert(p_len<4095)保护,在NDEBUG编译下assert不生效,恶意文件中超过4096
CVSS Information
N/A
Vulnerability Type
N/A