CVE-2025-2151 Open Asset Import Library Assimp File ParsingUtils.h GetNextLine stack-based overflow

Medium 5.3 Published Updated

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.

Weakness: CWE-121, CWE-787, CWE-119

Which versions are affected by CVE-2025-2151?

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

PackageAffectedFixed in
pyassimp PyPIAll versions to 5.4.3None
Linux distribution packages (1)
assimp openSUSE:TumbleweedAll versions5.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.

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.

Is CVE-2025-2151 in your software?

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

Check your SBOMs for free