Use After Free Vulnerability in Assimp Package - CVE-2022-45748

assimp Updated 02 Oct 2025

Summary

20/01/2023
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2022-45748: An issue was discovered with assimp 5.1.4, a use after free occurred in function ColladaParser::ExtractDataObjectFromChannel in file /code/AssetLib/Collada/ColladaParser.cpp. Affects assimp versions < 5.3.1+ds-2. Fixed in 5.3.1+ds-2. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Assimp (Open Asset Import Library) is a library designed to facilitate the import and export of 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. The library is widely used in game development, visualization, and simulation applications. However, a vulnerability has been identified in versions prior to 5.3.1+ds-2, which could lead to security risks if not addressed.

Vulnerability Detail

An issue was discovered in Assimp version 5.1.4, where a use after free vulnerability occurs in the function ColladaParser::ExtractDataObjectFromChannel located in the file /code/AssetLib/Collada/ColladaParser.cpp. This vulnerability can potentially allow an attacker to exploit the application, leading to arbitrary code execution or crashes, thereby compromising the integrity and security of the application utilizing the library.

How To Fix

Minimum fixed version

5.3.1+ds-2

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 workaround, users can avoid using the affected functionality in the ColladaParser until the package is updated. However, this is not a permanent solution and updating the package is strongly recommended.

Conclusion

The vulnerability CVE-2022-45748 in the Assimp package poses significant security risks due to a use after free condition. It is crucial for users to update to the patched version 5.3.1+ds-2 to mitigate these risks. Regular monitoring for vulnerabilities using tools like Vulert can help maintain application security.

See every vulnerability recorded for assimp →

Share this vulnerability

FAQ

CVE-2022-45748 is a security vulnerability identified in the Assimp package that allows for a use after free condition, potentially leading to code execution.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The risks include potential arbitrary code execution and application crashes, which can compromise the security and stability of applications using the affected library.

Yes, a patch is available in version 5.3.1+ds-2 of the Assimp package.

If an immediate update is not possible, consider avoiding the use of the affected functionality in the ColladaParser as a temporary measure.

Related vulnerabilities

Recent vulnerabilities recorded for assimp.

How To Fix

Minimum fixed version

5.3.1+ds-2

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