CVE-2024-24584
Medium · 4.3CVSS
4.3
EPSS
0.5%
Published
May 28, 2024
CISA due date
—
Cloudanix analysis
A bug in a common 3D graphics library could let someone see pieces of computer memory if a specially made file is opened.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Data Exposure
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Out-of-bounds read in readMSH during processing of ELEMENT_TET elements from a crafted .msh file, enabling limited memory disclosure.
Why it matters to the business
Attackers may obtain fragments of process memory from applications that load untrusted 3D mesh files, risking exposure of sensitive data in engineering or visualization workflows.
How an attack unfolds
An attacker crafts a .msh file with malformed ELEMENT_TET data, delivers it to a target user or system, and triggers the readMSH function in libigl when the file is opened, causing an out-of-bounds read.
How to fix it
Upgrade libigl to a patched release that corrects the ELEMENT_TET handling in readMSH; until available, avoid loading untrusted .msh files and consider sandboxing mesh-processing applications.
How to confirm the fix worked
Confirm the installed libigl version is newer than 2.5.0, test file loading with known-good and boundary-case .msh files, and review source or patch notes for readMSH ELEMENT_TET fixes.
Typical attack path
- Create a .msh file containing malformed ELEMENT_TET records
- Host or send the file to a victim (email, download, shared storage)
- Victim opens the file in an application linked against vulnerable libigl
- readMSH processes the ELEMENT_TET section and performs the out-of-bounds read
How to detect it
Review application logs for crashes or errors while processing .msh files, inspect file-handling code paths that invoke readMSH, and search for unexpected memory-access patterns during mesh import.
What your security team should do
- Track upstream libigl releases for a fix addressing CVE-2024-24584
- Add policy controls that block or quarantine untrusted .msh files
- Apply application sandboxing or least-privilege execution for mesh loaders
- Update EPSS monitoring; current score remains low with no observed exploitation
The record
Multiple out-of-bounds read vulnerabilities exist in the readMSH functionality of libigl v2.5.0. A specially crafted .msh file can lead to an out-of-bounds read. An attacker can provide a malicious file to trigger this vulnerability.This vulnerabilitty concerns the`readMSH` function while processing `MshLoader::ELEMENT_TET` elements.
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
- CVE-2024-24685 Multiple stack-based buffer overflow vulnerabilities exist in the readOFF functionality… Also affects slic3r-prusa
- CVE-2024-24686 Multiple stack-based buffer overflow vulnerabilities exist in the readOFF functionality… Also affects slic3r-prusa
- CVE-2024-24684 Multiple stack-based buffer overflow vulnerabilities exist in the readOFF functionality… Also affects slic3r-prusa
- CVE-2024-24583 Multiple out-of-bounds read vulnerabilities exist in the readMSH functionality of libigl… Also affects slic3r-prusa
- CVE-2024-23951 Multiple improper array index validation vulnerabilities exist in the readMSH… Also affects slic3r-prusa
- CVE-2024-23949 Multiple improper array index validation vulnerabilities exist in the readMSH… Also affects slic3r-prusa
- CVE-2024-23950 Multiple improper array index validation vulnerabilities exist in the readMSH… Also affects slic3r-prusa
- CVE-2024-23948 Multiple improper array index validation vulnerabilities exist in the readMSH… Also affects slic3r-prusa