| Title | assimp master and <=6.0.5 Out-of-bounds Write |
|---|
| Description | assimp: crash at ColladaLoader.cpp:785
Severity: Medium — AddressSanitizer classifies it as an out-of-bounds/heap read that terminates the process (denial of service); no controlled write and no information leak are demonstrated.
Advisory metadata (GitHub Security Advisory form)
field value
Ecosystem Other
Package name assimp
Affected versions master up to the commit verified below — verified here
Patched versions (none)
Severity Medium (5.5)
CVSS 3.1 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H = 5.5 (7.5 server-side)
Summary
Crash signature: SIGSEGV|Assimp::ColladaLoader::[email protected]:785|Assimp::ColladaLoader::[email protected]:535
Observed on the campaign line(s): assimp-dae, assimp-export, assimp-fbx, assimp-glb, assimp-gltf, assimp-ply-nb, assimp-stl, assimp-x
How to reproduce
/home/dell/data1/czh/projects/2026/fogfuzz/.scratch/newfmt/assimp-build/bin/assimp export <poc> /home/dell/data1/czh/projects/2026/fogfuzz/.scratch/tmp/a-nb.ply
Both attached samples crash on every run with the plain build (SIGSEGV/SIGABRT).
Fault site (source, ColladaLoader.cpp:785)
780: // find the vertex weights for this vertex
781: auto iit = weightStartPerVertex[orgIndex];
782: size_t pairCount = pSrcController->mWeightCounts[orgIndex];
783:
784: for (size_t b = 0; b < pairCount; ++b, ++iit) {
785: const size_t jointIndex = iit->first;
786: const size_t vertexIndex = iit->second;
787: ai_real weight = 1.0f;
788: if (!weights.mValues.empty()) {
789: weight = ReadFloat(weightsAcc, weights, vertexIndex, 0);
Evidence on master
Plain build: reproducible 2/2 for each attached sample (AddressSanitizer build evidence).
==562==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x606000003598 at pc 0x5b314d37669f bp 0x7ffee110d850 sp 0x7ffee110d848
#0 0x5b314d37669e in Assimp::ColladaLoader::CreateMesh(Assimp::ColladaParser const&, Assimp::Collada::Mesh const*, Assimp::Collada::SubMesh const&, Assimp::Collada::Controller const*, unsigned long, unsigned long) /home/dell/data1/czh/projects/2026/fogfuzz/.scratch/newfmt/assimp-git/code/AssetLib/Collada/ColladaLoader.cpp:782:32
#1 0x5b314d36dc5b in Assimp::ColladaLoader::BuildMeshesForNode(Assimp::ColladaParser const&, Assimp::Collada::Node const*, aiNode*) /home/dell/data1/czh/projects/2026/fogfuzz/.scratch/newfmt/assimp-git/code/AssetLib/Collada/ColladaLoader.cpp:535:35
#2 0x5b314d367b03 in Assimp::ColladaLoader::BuildHierarchy(Assimp::ColladaParser const&, Assimp::Collada::Node const*) /home/dell/data1/czh/projects/2026/fogfuzz/.scratch/newfmt/assimp-git/code/AssetLib/Collada/ColladaLoader.cpp:273:5
#3 0x5b314d3678c7 in Assimp::ColladaLoader::BuildHierarchy(Assimp::ColladaParser const&, Assimp::Collada::Node const*) /home/dell/data1/czh/projects/2026/fogfuzz/.scratch/newfmt/assimp-git/code/AssetLib/Collada/ColladaLoader.cpp:263:30
Impact
Processing an untrusted input terminates the process (denial of service); CWE-476 / CWE-125 / CWE-787 as applicable.
Attachments
seeds/id:000237,sig:11,src:000099,time:4789072,execs:1117186,op:quick,pos:18656 — crashes every run
seeds/id:000390,sig:11,src:000099,time:5428734,execs:1148483,op:quick,pos:18656 — crashes every run
asan/assimp-colladaloader-785-asan.txt — AddressSanitizer report
Samples are unmodified AFL++ test cases with their original file names. |
|---|
| Source | ⚠️ https://github.com/PassMoon/CVE-application/tree/main/assimp-6-colladaloader-785 |
|---|
| User | Anonymous User |
|---|
| Submission | 10/23/2026 10:51 (1 month ago) |
|---|
| Moderation | 11/22/2026 17:22 (1 month later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 442133 [Open Asset Import Library Assimp up to 6.0.6 ColladaLoader.cpp CreateMesh out-of-bounds] |
|---|
| Points | 20 |
|---|