Description
Assimp 5.1.0 through 6.0.6 contains a memory leak vulnerability in AMFImporter::ParseFile that overwrites the previous XML parser pointer without releasing it. Attackers can supply repeated AMF files to applications using a long-lived Assimp::Importer to retain parsed documents and exhaust memory.
Affected products and versions
assimp assimp5.1.0 – ≤ 6.0.6
CVSS vector, explained
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None (no login)
- User interaction
- Required
- Scope
- Vulnerable component only
- Confidentiality
- None
- Integrity
- None
- Availability
- Low impact
Weakness type (CWE)
- CWE-401 Missing Release of Memory after Effective Lifetime
References
- github.com/assimp/assimp/issues/7058
- github.com/assimp/assimp/pull/7092 patch
- github.com/assimp/assimp/blob/v6.0.6/code/AssetLib/AMF/AMFImporter.cpp#L237-L257
- www.vulncheck.com/advisories/assimp-5.1.0-through-6.0.6-memory-leak-via-amfimporter-parsef
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.