CVE-2025-3196 Open Asset Import Library Assimp Malformed File MD2Loader.cpp InternReadFile stack-based overflow

Medium 4.8 Published Updated

A stack-based buffer overflow in Assimp's MD2 loader allows attackers to execute arbitrary code or cause denial of service via a malformed file.

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

CVE-2025-3196 is a medium-severity memory corruption vulnerability in Open Asset Import Library Assimp, published on 4 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, was found in Open Asset Import Library Assimp 5.4.3. Affected is the function Assimp::MD2Importer::InternReadFile in the library code/AssetLib/MD2/MD2Loader.cpp of the component Malformed File Handler. The manipulation of the argument Name leads to stack-based buffer overflow. The attack needs to be approached locally. The exploit has been disclosed to the public and may be used. It is recommended to upgrade the affected component.

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

Which versions are affected by CVE-2025-3196?

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

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

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

Sources

Also known as DEBIAN-CVE-2025-3196, GHSA-hj96-872g-wqc5, PYSEC-2025-170, UBUNTU-CVE-2025-3196.

Is CVE-2025-3196 in your software?

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

Check your SBOMs for free