Assimp crash via integer overflow in Ogre mesh parser
Affects Assimp through 6.0.6 when importing crafted Ogre binary .mesh files. The checked facts name no fixed version or vendor rating.
- Exploited
- No known exploitation
- Fix
- Fix or patch referenced
- Who is exposed
- Specific setups only
Summary
Assimp, a 3D model import library, has an integer overflow in its Ogre binary .mesh parser that an attacker can trigger locally by getting a user to open a crafted file. The result is a crash of the affected application.
Written by a model
Original description
Assimp through 6.0.6 contains an integer overflow vulnerability in OgreBinarySerializer::ReadGeometryVertexBuffer that allows attackers to crash applications via crafted Ogre binary .mesh files. Attackers can supply a large vertex count that wraps the 32-bit size calculation, desynchronising parsing and causing aiScene teardown to delete uninitialised mesh pointers.
Who should check
Teams shipping or running Assimp (6.0.6 and earlier, including 6.0.5 and master) to import Ogre binary .mesh files from untrusted sources, under default configuration.
“Affecting assimp <= 6.0.6”
What to do
Check whether your setup matches what the bug needs.
Affects Assimp through 6.0.6 (OgreBinarySerializer::ReadGeometryVertexBuffer, Ogre binary .mesh import). Requires the importer to parse a crafted Ogre binary .mesh file.Apply the patch listed under Evidence.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-138301 (Assimp through 6.0.6 Integer Overflow via OgreBinarySerializer::ReadGeometryVertexBuffer), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-138301 (entry last updated 2026-11-28):
Affected:
- assimp assimp: through 6.0.6
Fixed versions: none listed yet.
Conditions (all must be true for the bug to be hit):
- Affects Assimp through 6.0.6 (OgreBinarySerializer::ReadGeometryVertexBuffer, Ogre binary .mesh import). (source: https://www.vulncheck.com/advisories/assimp-through-6.0.6-integer-overflow-via-ogrebinaryserializer-readgeometryvertexbuffer)
- Requires the importer to parse a crafted Ogre binary .mesh file. (source: https://www.vulncheck.com/advisories/assimp-through-6.0.6-integer-overflow-via-ogrebinaryserializer-readgeometryvertexbuffer)
Setup: the bug is reachable in a default setup; no special feature or setting is needed.
Attacker needs: local access, no login, a user action.
CISA KEV: CVE-2026-138301 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-138301 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/assimp/assimp/pull/7040
- https://github.com/assimp/assimp/issues/6931
- https://github.com/assimp/assimp/blob/v6.0.6/code/AssetLib/Ogre/OgreBinarySerializer.cpp#L543-L560
- https://www.vulncheck.com/advisories/assimp-through-6.0.6-integer-overflow-via-ogrebinaryserializer-readgeometryvertexbuffer
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-138301
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-138301"}.Affected versions
- assimp assimpthrough 6.0.6
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure5/25Specific setups only
- Reach?/20Unknown. No tracked technology or package matched
- Severity6.8/10CVSS 6.8
- No patch0/5No signal
What would change the score
- Would score about 62 if added to CISA KEV
- Would score about 57 if CISA's SSVC rates exploitation active
- Would score about 22 if CISA's SSVC rates it automatable
Timeline
- CVE published
- First seen by cve.now
Evidence 6
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-138301 |
| Record | NVD · CVE-2026-138301 |
| Other links 4 | |
| Patch | GitHub · assimp/assimp · Pull request #7040 |
| Report | GitHub · assimp/assimp · Issue #6931 |
| Repository | GitHub · assimp/assimp · code/AssetLib/Ogre/OgreBinarySerializer.cpp · L543-L560 |
| Link | vulncheck.com · advisories/assimp-through-6.0.6-integer-overflow-via-ogrebinaryserializer-readgeometryvertexbuffer |
Questions about CVE-2026-138301
Is CVE-2026-138301 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
A crafted Ogre binary .mesh file can crash the application that imports it, because an undersized heap allocation leads to desynchronised parsing and an invalid pointer deletion at scene teardown. The same file can also exhaust memory, with a roughly 4 GiB allocation from a small file, causing a denial of service.
Source: vulncheck.com
Which versions are affected by CVE-2026-138301?
assimp: through 6.0.6.
Source: cve.now feed data
Am I affected, and how do I check?
Assimp versions through 6.0.6 are affected when the importer parses Ogre binary .mesh files through OgreBinarySerializer::ReadGeometryVertexBuffer. To check, look at the Assimp version the application links against and whether it imports .mesh files.
Source: vulncheck.com
How do I fix CVE-2026-138301?
The checked facts do not name a fixed version or patch, so no upgrade target can be given here. Check the Assimp project for a release after 6.0.6 that addresses this issue, and confirm the fix in its release notes before relying on it.
Source: vulncheck.com
Related
- CVE-2026-137093Assimp before 6.0.6 Out-of-Bounds Write via MD5 Importer LoadMD5MeshFile
- CVE-2026-134861Assimp through 6.0.6 Out-of-Bounds Write via glTF 1.0 Accessor Element Size
- CVE-2026-138382Assimp 5.3.0 through 6.0.6 Use-After-Free and Double Free via IRR Importer
- CVE-2026-137092Assimp before 6.0.6 Out-of-Bounds Write via MD5 Importer MakeDataUnique
- CVE-2026-136170Assimp through 6.0.6 Use-After-Free via OpenGEX Importer State Reuse
- CVE-2026-136172Assimp through 6.0.6 Heap Out-of-Bounds Write via NaN Data in OBJ Exporter
No corrections so far. Something wrong on this page? Report an error.