Description
Assimp through 6.0.5 contains an integer overflow vulnerability in MD2Importer::ValidateHeader() that allows attackers to bypass frame table bounds checks using crafted header fields. Attackers can supply a malicious .md2 file whose numFrames and numVertices values wrap the 32-bit size check, causing heap out-of-bounds reads that crash applications or expose adjacent heap memory.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| assimp | assimp | ≤ 6.0.5 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | assimp | No fix yet | — |
| Debian 13 | assimp | No fix yet | — |
| Debian 12 | assimp | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | assimp | No fix yet | — |
| Ubuntu 26.04 LTS | assimp | No fix yet | — |
| Ubuntu 24.04 LTS | assimp | No fix yet | — |
| Ubuntu 22.04 LTS | assimp | No fix yet | — |
| Ubuntu 20.04 LTS | assimp | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | assimp | No fix yet | — |
| Ubuntu 16.04 LTS | assimp | No fix yet | — |
References
- https://github.com/assimp/assimp/issues/6929 issue-tracking
- https://github.com/assimp/assimp/pull/6963 patch issue-tracking
- https://github.com/assimp/assimp/commit/7dbc85d9218fae017d4fad70269e7569f7b0c870 patch
- https://github.com/assimp/assimp/blob/v6.0.5/code/AssetLib/MD2/MD2Loader.cpp#L171-L176 technical-description
- https://github.com/assimp/assimp product
- VulnCheck Advisory: Assimp through 6.0.5 Heap Out-of-Bounds Read via MD2 Importer Integer Overflow third-party-advisory