The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-29628

CVE-2026-29628: tinyobjloader Stack Overflow DoS Vulnerability

CVE-2026-29628 is a stack overflow denial of service vulnerability in tinyobjloader that attackers exploit using crafted .mtl files. This article covers technical details, affected versions, impact, and mitigation.

Published: April 17, 2026

CVE-2026-29628 Overview

A stack overflow vulnerability has been identified in the experimental/tinyobj_loader_opt.h file of tinyobjloader at commit d56555b. This vulnerability allows attackers to cause a Denial of Service (DoS) condition by supplying a specially crafted .mtl file. The tinyobjloader library is a widely-used C++ library for loading Wavefront OBJ 3D model files and their associated material files.

Critical Impact

Attackers can cause application crashes and denial of service by providing malicious .mtl material files to applications using the vulnerable tinyobjloader experimental module.

Affected Products

  • tinyobjloader commit d56555b and earlier versions
  • Applications using experimental/tinyobj_loader_opt.h from affected tinyobjloader versions
  • 3D modeling and rendering applications that parse untrusted .mtl files with vulnerable tinyobjloader builds

Discovery Timeline

  • April 13, 2026 - CVE-2026-29628 published to NVD
  • April 13, 2026 - Last updated in NVD database

Technical Details for CVE-2026-29628

Vulnerability Analysis

This vulnerability is classified as CWE-121 (Stack-based Buffer Overflow). The flaw exists in the material file parsing functionality within the experimental optimized loader component of tinyobjloader. When processing .mtl material files, the parser uses sscanf() without proper bounds checking, allowing an attacker to overflow a stack-allocated buffer by providing an excessively long string in the material file.

The vulnerability requires local access to exploit, as an attacker must be able to supply a crafted .mtl file to the target application. No privileges are required, and no user interaction is necessary beyond the application processing the malicious file. While the vulnerability does not compromise confidentiality or integrity, it can completely disrupt availability through application crashes.

Root Cause

The root cause is improper input validation in the sscanf() function call used to parse material names from .mtl files. The original code used an unbounded format specifier (%s) when reading strings into a fixed-size buffer (namebuf), which has a defined size of 4096 characters. When a material name exceeds this buffer size, the stack is corrupted, leading to a crash.

Attack Vector

The attack is locally exploitable by providing a maliciously crafted .mtl file to any application that uses the vulnerable tinyobjloader experimental loader. An attacker would create a material file containing an extremely long material name that exceeds the 4096-byte buffer, triggering the stack overflow when the application attempts to parse the file.

Attack scenarios include:

  • Uploading malicious 3D model files to applications that support OBJ format
  • Sharing crafted material files through collaborative modeling platforms
  • Exploiting file preview features in applications that automatically parse model files
c
// Security patch in experimental/tinyobj_loader_opt.h - fix:buffer overflow
 #ifdef _MSC_VER
       sscanf_s(token, "%s", namebuf, (unsigned)_countof(namebuf));
 #else
-      sscanf(token, "%s", namebuf);
+      sscanf(token, "%4095s", namebuf);
 #endif
       material.name = namebuf;
       continue;

Source: GitHub Commit for tinyobjloader

Detection Methods for CVE-2026-29628

Indicators of Compromise

  • Application crashes when processing .mtl material files
  • Stack corruption or segmentation fault errors in logs related to tinyobjloader
  • Presence of unusually large .mtl files with extremely long material names (>4095 characters)
  • Debug logs showing buffer overflow or stack smashing detection messages

Detection Strategies

  • Monitor for process crashes in applications that parse OBJ/MTL 3D model files
  • Implement file size and content validation for uploaded .mtl files before processing
  • Use static analysis tools to detect usage of vulnerable tinyobjloader versions in codebases
  • Enable stack canary protections (e.g., -fstack-protector) to detect overflow attempts

Monitoring Recommendations

  • Configure crash reporting to capture stack traces from affected applications
  • Implement input validation to reject .mtl files with abnormally long field values
  • Monitor system logs for repeated crashes in 3D rendering or model processing services
  • Set up alerts for unusual patterns in file upload endpoints accepting 3D model formats

How to Mitigate CVE-2026-29628

Immediate Actions Required

  • Update tinyobjloader to a version containing the security patch (commit 386b73bb8c1a855236beb73b11f45f7feac4e03a or later)
  • Audit applications for usage of the experimental tinyobj_loader_opt.h module
  • Implement input validation to reject .mtl files from untrusted sources
  • Consider using the stable, non-experimental tinyobjloader API if possible

Patch Information

The vulnerability has been addressed in a security patch that adds proper bounds checking to the sscanf() call. The fix limits the string read to 4095 characters using the format specifier %4095s, ensuring the buffer cannot overflow regardless of input size. For additional technical details, refer to the GitHub PoC repository.

Workarounds

  • Avoid processing .mtl files from untrusted or unknown sources
  • Implement pre-parsing validation to check material name lengths before processing
  • Use sandboxing or containerization when running applications that process untrusted 3D model files
  • Compile applications with stack protection flags enabled (-fstack-protector-strong)
bash
# Configuration example
# Compile with stack protection enabled
g++ -fstack-protector-strong -D_FORTIFY_SOURCE=2 -o model_viewer model_viewer.cpp

# Validate MTL files before processing (check for long lines)
awk 'length > 4095 { print "Warning: Line too long"; exit 1 }' model.mtl

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechTinyobjloader

  • SeverityMEDIUM

  • CVSS Score6.2

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-121
  • Technical References
  • GitHub PoC for CVE-2026-29628

  • GitHub Commit for tinyobjloader
  • Latest CVEs
  • CVE-2026-43328: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-43329: Linux Kernel Netfilter DoS Vulnerability

  • CVE-2026-43330: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-43331: Linux Kernel DOS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English