Heap-use-after-free Vulnerability in Assimp Package

assimp Updated 02 Oct 2025

Summary

17/05/2025
HIGH
Yes i
High
Not published

OSV-2025-373: Heap-use-after-free in aiMesh::~aiMesh. Affects assimp versions >= 9d9a80739df416d89bcd69e1f2532732269a7f67, < a38ec50fd3a8189d4ec0f0e9251f4203b312b9b6. Fixed in a38ec50fd3a8189d4ec0f0e9251f4203b312b9b6. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Assimp (Open Asset Import Library) is a widely used library designed for importing and exporting various 3D model formats. It provides developers with a unified interface to handle different file types, making it easier to integrate 3D assets into applications. However, like many libraries, Assimp is susceptible to vulnerabilities that can compromise the integrity and security of applications that rely on it.

Vulnerability Detail

The vulnerability identified as OSV-2025-373 is a heap-use-after-free issue occurring in the aiMesh destructor. This flaw can lead to a crash when the library attempts to access memory that has already been freed, potentially allowing an attacker to exploit this behavior. The crash occurs during the destruction of aiMesh and aiScene objects, which are critical components in the processing of 3D models. If exploited, this vulnerability could lead to application instability or even arbitrary code execution in severe cases.

How To Fix

Minimum fixed version

a38ec50fd3a8189d4ec0f0e9251f4203b312b9b6

This is the first release that contains the fix.

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

Workaround

Currently, there are no specific workarounds provided for this vulnerability. It is advisable to update the package as soon as a patched version is available to mitigate any risks associated with this issue.

Conclusion

The heap-use-after-free vulnerability in the Assimp package poses significant risks to applications utilizing this library. It is crucial for developers to stay informed about such vulnerabilities and promptly apply updates to maintain the security and stability of their applications.

See every vulnerability recorded for assimp →

Share this vulnerability

FAQ

A heap-use-after-free vulnerability occurs when a program continues to use a memory location after it has been freed, which can lead to crashes or arbitrary code execution.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Simply upload your manifest file like package-lock.json to check for vulnerabilities.

The consequences can range from application crashes to potential exploitation by attackers, leading to unauthorized access or control over the affected system.

Always refer to the official Assimp repository for the latest patched version that addresses this vulnerability.

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

Related vulnerabilities

Recent vulnerabilities recorded for assimp.

How To Fix

Minimum fixed version

a38ec50fd3a8189d4ec0f0e9251f4203b312b9b6

This is the first release that contains the fix.

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