Invalid-free in igl::MshLoader::~MshLoader in libigl

libigl Updated 02 Oct 2025

Summary

20/04/2022
N/A
No i
Unrated
Not published

OSV-2022-360: Invalid-free in igl::MshLoader::~MshLoader. Affects libigl versions >= e91fb2b9e071c4a54a2c53c405affff9510fffdf. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

libigl is an open-source C++ library for geometry processing that provides a wide range of functionality for working with 3D models. It offers various algorithms and data structures for tasks such as mesh manipulation, shape analysis, and visualization. The library is widely used in the computer graphics and computational geometry communities. However, a vulnerability has been discovered in the MshLoader class destructor, which can lead to an invalid-free issue.

Vulnerability Detail

The vulnerability in libigl's MshLoader class destructor arises from an invalid-free operation. When the destructor is called, it attempts to free memory that has already been freed, resulting in undefined behavior. This can potentially lead to crashes or other security issues. The vulnerability was reported through the OSS-Fuzz project, and the crash state indicates that the issue occurs in the igl_fuzzer.cpp file.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As of now, there is no specific workaround provided for this vulnerability. Developers are advised to apply the fix mentioned above as soon as it becomes available.

Conclusion

In conclusion, libigl is affected by a vulnerability in the MshLoader class destructor, which can result in crashes or other security issues. Developers should apply the recommended fix to address this vulnerability and ensure proper memory management. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for libigl →

Share this vulnerability

FAQ

libigl is an open-source C++ library for geometry processing that provides various algorithms and data structures for tasks such as mesh manipulation, shape analysis, and visualization.

The vulnerability can lead to crashes or other security issues when the MshLoader class destructor is called, due to an invalid-free operation.

The vulnerability was reported through the OSS-Fuzz project, which performs continuous fuzz testing on open-source software.

Currently, no specific workaround has been provided. It is recommended to apply the fix once it becomes available.

Developers should review and modify the MshLoader class destructor to ensure proper memory management, avoiding invalid-free operations. Thorough testing should be conducted to verify the fix.

Related vulnerabilities

Recent vulnerabilities recorded for libigl.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback