Heap-Based Buffer Overflow Vulnerability in Assimp Package

assimp Updated 02 Oct 2025

Summary

18/09/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-45679: Heap-based buffer overflow vulnerability in Assimp versions prior to 5.4.3 allows a local attacker to execute arbitrary code by importing a specially crafted file into the product. Affects assimp versions < 5.4.0+ds-1. Fixed in 5.4.0+ds-1. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Assimp (Open Asset Import Library) is a powerful library designed for importing and exporting various 3D model formats. It provides a unified interface for developers to work with 3D assets, making it easier to integrate 3D models into applications. However, certain versions of Assimp are vulnerable to a heap-based buffer overflow, which can be exploited by attackers to execute arbitrary code.

Vulnerability Detail

The vulnerability identified as DEBIAN-CVE-2024-45679 is a heap-based buffer overflow that affects Assimp versions prior to 5.4.3. This flaw allows local attackers to craft malicious files that, when imported, can lead to arbitrary code execution within the application. The vulnerability arises from improper handling of input data, which can overflow the allocated memory buffer, leading to potential system compromise.

How To Fix

Minimum fixed version

5.4.0+ds-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade assimp

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, avoid importing untrusted or specially crafted files into applications that utilize Assimp until the package is updated. This can help mitigate the risk of exploitation until a proper fix is applied.

Conclusion

The heap-based buffer overflow vulnerability in the Assimp package poses significant risks to applications that utilize this library. It is crucial for users to update to the patched version to safeguard against potential exploits. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for assimp →

Share this vulnerability

FAQ

A heap-based buffer overflow occurs when data written to a buffer on the heap exceeds the allocated space, potentially overwriting adjacent memory and leading to unpredictable behavior or code execution.

You can use tools like Vulert, which monitors open-source vulnerabilities in your software. By checking your application's manifest file (like package-lock.json), you can determine if it is affected by this vulnerability.

Failing to address this vulnerability can lead to unauthorized access, data breaches, or complete system compromise, as attackers can execute arbitrary code on affected systems.

Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any installation or signup.

If an immediate update is not possible, ensure that you do not import untrusted files into applications using Assimp, and monitor for any updates or patches from the Debian repositories.

Related vulnerabilities

Recent vulnerabilities recorded for assimp.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

5.4.0+ds-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade assimp

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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