Cloudanix VulnDB

CVE-2024-24686

High · 7.8

CVSS

7.8

EPSS

0.5%

Published

May 28, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A bug in a 3D graphics library could let attackers take over a computer simply by getting someone to open a specially made file.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Full Compromise
Component
Library
Class
Buffer Overflow
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Stack-based buffer overflow triggered during parsing of comments in the faces section of a crafted .off file by the readOFF function in libigl v2.5.0, enabling memory corruption that can lead to arbitrary code execution or application crash.

Why it matters to the business

Systems processing untrusted 3D model files risk remote code execution, potentially compromising design, simulation, or graphics workflows and allowing attackers to gain control of affected machines.

How an attack unfolds

An attacker creates a malicious .off file containing an oversized comment in the faces section, delivers it to a target, and when the file is opened by an application using the vulnerable readOFF function the overflow occurs and attacker-controlled code executes.

How to fix it

Upgrade libigl to the latest patched release that resolves the readOFF buffer overflow; until then, restrict processing of .off files from untrusted sources and consider sandboxing or file-type allow-listing.

How to confirm the fix worked

Confirm the installed libigl version is newer than 2.5.0, run regression tests with known-malicious .off samples, and verify that oversized comments in the faces section no longer cause overflows or crashes.

Typical attack path

  1. Craft a malicious .off file embedding an oversized comment in the faces section
  2. Deliver the file to the victim via email, download, or shared storage
  3. Victim opens the file in an application linked against vulnerable libigl
  4. readOFF parses the comment, triggering stack buffer overflow and code execution

How to detect it

Monitor application logs and crash reports for segmentation faults or buffer-related errors when .off files are processed; inspect file-processing services for unexpected child processes or memory corruption indicators after handling .off content.

What your security team should do

  • Track upstream libigl releases for the official fix and schedule prompt upgrades
  • Implement application-level controls to reject or quarantine untrusted .off files
  • Add .off file handling to sandbox or containerized execution environments
  • Update incident response playbooks to include .off file analysis for suspected exploitation

The record

Multiple stack-based buffer overflow vulnerabilities exist in the readOFF functionality of libigl v2.5.0. A specially crafted .off file can lead to stack-based buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.This vulnerability concerns the parsing of comments within the faces section of an `.off` file processed via the `readOFF` function.

Affected packages

Ecosystem Package Introduced Fixed
Ubuntu:18.04:LTS slic3r-prusa 0 No fix
Ubuntu:20.04:LTS slic3r-prusa 0 No fix
Ubuntu:22.04:LTS slic3r-prusa 0 No fix
Ubuntu:24.04:LTS slic3r-prusa 0 No fix
Ubuntu:24.10 slic3r-prusa 0 No fix
Ubuntu:25.04 slic3r-prusa 0 No fix
Ubuntu:25.10 slic3r-prusa 0 No fix
Ubuntu:Pro:18.04:LTS slic3r-prusa 0 No fix
Ubuntu:Pro:20.04:LTS slic3r-prusa 0 No fix

Related vulnerabilities