Pixar OpenUSD binary file format specs memory corruption
An out-of-bounds memory corruption vulnerability exists in Pixar OpenUSD 20.05 when parsing SPECS data from binary USD files. A specially crafted malformed file can trigger an out-of-bounds memory access and modification, resulting in memory corruption; the victim needs to access an attacker-provided malformed file.
Originally disclosed on Cisco Talos
An out-of-bounds memory corruption vulnerability exists in the way Pixar OpenUSD 20.05 uses SPECS data from binary USD files. A specially crafted malformed file can trigger an out-of-bounds memory access and modification which results in memory corruption.
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
Likely the code uses a 32-bit path index from the SPECS section as an array index without validating it against the size of the path vector, leading to out-of-bounds access.
Impact
A malformed file could cause memory corruption, potentially leading to arbitrary code execution with precise memory layout control and in combination with other issues.
What the attacker needed
Victim opens a malformed 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.
This report describes a bug in software that reads 3D scene files. The software trusts a number stored in the file to pick an item from a list, but it never checks that the number is small enough. A malicious file can make the software read or write memory outside the list, which can crash it or possibly let an attacker run their own 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.