CVE-2025-5165 Open Asset Import Library Assimp MDCLoader.cpp ValidateSurfaceHeader out-of-bounds
A local attacker can trigger an out-of-bounds read in Assimp's MDC loader, potentially causing crashes or leaking memory contents.
- 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-5165?
CVE-2025-5165 is a medium-severity memory corruption vulnerability in Open Asset Import Library Assimp, published on 26 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A vulnerability was found in Open Asset Import Library Assimp 5.4.3 and classified as problematic. This issue affects the function MDCImporter::ValidateSurfaceHeader of the file assimp/code/AssetLib/MDC/MDCLoader.cpp. The manipulation of the argument pcSurface2 leads to out-of-bounds read. Attacking locally is a requirement. The exploit has been disclosed to the public and may be used. The project decided to collect all Fuzzer bugs in a main-issue to address them in the future.
Which versions are affected by CVE-2025-5165?
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-5165?
No fix published yet.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-5165 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-5165 exists.
Other vulnerabilities in Open Asset Import Library Assimp
Sources
Also known as DEBIAN-CVE-2025-5165, GHSA-q55x-cgc8-49xh, PYSEC-2025-172, UBUNTU-CVE-2025-5165.