CVE-2025-2152 Open Asset Import Library Assimp File BaseImporter.cpp ConvertToUTF8 heap-based overflow

Medium 5.3 Published Updated

A heap-based buffer overflow in Assimp's ConvertToUTF8 function 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-2152?

CVE-2025-2152 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, which was classified as critical, has been found in Open Asset Import Library Assimp 5.4.3. This issue affects the function Assimp::BaseImporter::ConvertToUTF8 of the file BaseImporter.cpp of the component File Handler. The manipulation leads to heap-based buffer overflow. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-122, CWE-787, CWE-119

Which versions are affected by CVE-2025-2152?

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-2152?

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-2152 being exploited?

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

Sources

Also known as DEBIAN-CVE-2025-2152, GHSA-38j2-f744-46qw, PYSEC-2025-159, UBUNTU-CVE-2025-2152.

Is CVE-2025-2152 in your software?

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

Check your SBOMs for free