Pixar OpenUSD Binary File Format Decompressed Path Rebuilding Memory corruption
The OpenUSD library fails to validate path indices when reconstructing paths from a binary USD file, leading to out-of-bounds memory writes. An attacker could craft a malicious file that, when opened, causes memory corruption and potentially remote code execution.
Originally disclosed on Cisco Talos
An out of bounds memory corruption vulnerability exists in the way Pixar OpenUSD 20.05 reconstructs paths from binary USD files. A specially crafted malformed file can trigger an out of bounds memory modification which can result in remote code execution.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The path indices from the file are not checked against the size of the vector before being used as array indices, leading to out-of-bounds writes.
Impact
A crafted file could cause memory corruption and potentially arbitrary code execution when opened by a victim.
What the attacker needed
Victim opens a malicious USD file
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
OpenUSD is a library for 3D scenes. When it reads a file, it uses numbers from the file to decide where to store path information in memory. If those numbers are too large, the program writes outside the intended memory area, which can crash or be exploited to run malicious code.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.