CVE-2025-2151 Open Asset Import Library Assimp File ParsingUtils.h GetNextLine stack-based overflow
A stack-based buffer overflow in Assimp's file parsing allows remote attackers to execute arbitrary code or cause denial of service via crafted files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-2151?
CVE-2025-2151 is a medium-severity memory corruption vulnerability in Open Asset Import Library Assimp, published on 10 Mar 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A vulnerability classified as critical was found in Open Asset Import Library Assimp 5.4.3. This vulnerability affects the function Assimp::GetNextLine in the library ParsingUtils.h of the component File Handler. The manipulation leads to stack-based buffer overflow. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.
Which versions are affected by CVE-2025-2151?
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 |
Linux distribution packages (1)
assimp openSUSE:Tumbleweed | All versions | 5.4.3-4.1 |
Products include Assimp Assimp.
How do I fix CVE-2025-2151?
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-2151 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-2151 exists.
Other vulnerabilities in Open Asset Import Library Assimp
Sources
Also known as DEBIAN-CVE-2025-2151, GHSA-rrc2-m8v6-jh7q, OESA-2025-1328, PYSEC-2025-158, UBUNTU-CVE-2025-2151, openSUSE-SU-2025:14903-1.