#6771·assimp

Bug: MD2 importer heap-buffer-overflow

Author: kimkullingCreated Aug 12, 2026Updated Sep 20, 2026
LabelsBugSecurity RiskMD2

Describe the bug My name is Ravshan. I'd like to describe the bug/vulnerability: Heap Overflow Memory-safety vulnerability. A heap-buffer-overflow occurs in Assimp’s MD2 importer when processing a malformed input file. The crash happens due to an out-of-bounds read in strlen(), called from Assimp::MD2Importer::InternReadFile().

strlen scans memory until it finds '\0'. If pcSkins->name points to bytes that do not contain a '\0' within the allocated region, strlen reads out-of-bounds. Code:

poc.zip

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Platform (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.