A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2024-23947

CVE-2024-23947: Libigl Buffer Overflow Vulnerability

CVE-2024-23947 is a buffer overflow vulnerability in Libigl v2.5.0 affecting the readMSH function. Malicious .msh files can trigger out-of-bounds writes. This article covers technical details, affected versions, and mitigations.

Published: June 2, 2026

CVE-2024-23947 Overview

CVE-2024-23947 is an out-of-bounds write vulnerability in the readMSH functionality of libigl v2.5.0. The flaw resides in the igl::MshLoader::parse_nodes function when handling binary .msh files. A specially crafted .msh file triggers improper array index validation, leading to memory corruption. An attacker can deliver a malicious file to an application that links libigl, achieving an out-of-bounds write that can result in arbitrary code execution. The vulnerability is tracked under [CWE-787: Out-of-bounds Write].

Critical Impact

Successful exploitation enables an out-of-bounds write that can be leveraged for arbitrary code execution with the privileges of the user processing the malicious mesh file.

Affected Products

  • libigl v2.5.0
  • Applications and libraries that embed or link libigl v2.5.0 for mesh processing
  • Tools relying on igl::MshLoader::parse_nodes to parse binary .msh files

Discovery Timeline

  • 2024-05-28 - CVE-2024-23947 published to the National Vulnerability Database (NVD) following coordinated disclosure by Cisco Talos
  • 2025-02-12 - Last updated in NVD database

Technical Details for CVE-2024-23947

Vulnerability Analysis

The vulnerability exists in libigl, an open-source C++ geometry processing library used in computer graphics, simulation, and computer-aided design (CAD) workflows. The readMSH interface deserializes Gmsh .msh files, which describe finite-element meshes including node coordinates and element connectivity. When parsing the binary variant of this format, the igl::MshLoader::parse_nodes routine fails to validate array indices read from attacker-controlled fields before using them to index destination buffers.

Because libigl is consumed as a header-only or static library in downstream tooling, exploitation occurs in the address space of any application that opens an untrusted .msh file. The attack requires user interaction, as a victim must open or import the crafted file. Successful exploitation results in high impact to confidentiality, integrity, and availability.

Root Cause

The binary parser in parse_nodes trusts node identifiers and count fields from the input file without enforcing upper bounds against the size of the buffers it writes to. The parser uses these unvalidated indices when writing node data, allowing writes outside the allocated region. This pattern of missing index validation classifies the issue as [CWE-787].

Attack Vector

An attacker crafts a malicious binary .msh file with index or count values that fall outside the valid range for the destination arrays. The file is delivered through any channel that results in it being parsed by a libigl-based application, such as email attachments, project asset bundles, model marketplaces, or web downloads. When the victim opens the file, libigl invokes parse_nodes, performs the unchecked write, and corrupts adjacent memory. Detailed technical analysis is published by Cisco Talos. See the Talos Intelligence Vulnerability Report TALOS-2024-1926 for proof-of-concept details and reproduction steps.

Detection Methods for CVE-2024-23947

Indicators of Compromise

  • Unexpected crashes, segmentation faults, or heap corruption messages in processes that load .msh files via libigl
  • Binary .msh files originating from untrusted sources, especially those with malformed node section headers or unusually large node counts
  • Child processes, shell spawns, or outbound network connections originating from CAD, simulation, or geometry-processing applications after opening a mesh file

Detection Strategies

  • Inventory binaries and Python/C++ projects that statically link or vendor libigl and flag versions at or below v2.5.0
  • Use software composition analysis (SCA) tooling to identify libigl v2.5.0 in dependency graphs, including transitive inclusions in research code
  • Inspect inbound .msh files at email and web gateways and quarantine samples failing format validation against the Gmsh specification

Monitoring Recommendations

  • Monitor endpoint telemetry for crashes in processes known to embed libigl, correlating with recent .msh file access
  • Alert on process-injection-style child process creation from geometry or simulation applications
  • Log file-open events for .msh extensions on workstations used by engineering, research, and graphics teams

How to Mitigate CVE-2024-23947

Immediate Actions Required

  • Upgrade libigl beyond v2.5.0 to a release containing the upstream fix once available from the libigl project
  • Audit downstream applications and rebuild any binaries that statically link the vulnerable version
  • Block or quarantine .msh files received from untrusted external sources at the email and web proxy layer
  • Restrict execution of mesh-processing applications to standard user accounts to limit post-exploitation impact

Patch Information

Review the Talos Intelligence Vulnerability Report TALOS-2024-1926 for vendor coordination details. Track the libigl repository for the patched release addressing the igl::MshLoader::parse_nodes index validation flaw and rebuild dependent software against the corrected version.

Workarounds

  • Disable binary .msh import paths in applications that expose user-selectable file formats and accept only ASCII .msh variants where feasible
  • Process untrusted .msh files inside sandboxed containers or virtual machines with no network access and minimal filesystem privileges
  • Apply application allowlisting to prevent unsigned child processes from spawning out of mesh-processing tools
bash
# Example: validate libigl version in a build environment before compiling
grep -R "IGL_VERSION" path/to/libigl/include/igl/ | head -n 5
# Reject builds that resolve to libigl 2.5.0

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechLibigl

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.24%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-787
  • Vendor Resources
  • Talos Intelligence Vulnerability Report

  • Talos Intelligence Vulnerability Report
  • Related CVEs
  • CVE-2024-23948: Libigl Buffer Overflow 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