CVE-2025-3158 Open Asset Import Library Assimp LWO File LWOAnimation.cpp UpdateAnimRangeSetup heap-based overflow
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.
Which versions are affected by CVE-2025-3158?
1 open source package ship an affected version, including pyassimp. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
pyassimp PyPI | All versions to 5.4.3 | None |
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.
Other vulnerabilities in Open Asset Import Library Assimp
Sources
Also known as DEBIAN-CVE-2025-3158, GHSA-6r79-vpvw-rfjj, PYSEC-2025-169, UBUNTU-CVE-2025-3158.