CVE-2025-3158 Open Asset Import Library Assimp LWO File LWOAnimation.cpp UpdateAnimRangeSetup heap-based overflow

Medium 4.8 Published Updated

A heap-based buffer overflow in Assimp's LWO file handler allows local attackers to execute arbitrary code or cause denial of service via malicious files.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-3158?

CVE-2025-3158 is a medium-severity memory corruption vulnerability in Open Asset Import Library Assimp, published on 3 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability, which was classified as critical, has been found in Open Asset Import Library Assimp 5.4.3. Affected by this issue is the function Assimp::LWO::AnimResolver::UpdateAnimRangeSetup of the file code/AssetLib/LWO/LWOAnimation.cpp of the component LWO File Handler. The manipulation leads to heap-based buffer overflow. It is possible to launch the attack on the local host. The exploit has been disclosed to the public and may be used.

Weakness: CWE-122, CWE-119

Which versions are affected by CVE-2025-3158?

1 open source package ship an affected version, including pyassimp. It affects 1 product.

PackageAffectedFixed in
pyassimp PyPIAll versions to 5.4.3None

Products include Assimp Assimp.

How do I fix CVE-2025-3158?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-3158 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-3158 exists.

Sources

Also known as DEBIAN-CVE-2025-3158, GHSA-6r79-vpvw-rfjj, PYSEC-2025-169, UBUNTU-CVE-2025-3158.

Is CVE-2025-3158 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free