Pixar OpenUSD binary file format compressed sections code execution vulnerabilities
A heap buffer overflow exists in Pixar OpenUSD when parsing compressed sections of binary USD files, because the buffer size is calculated from one file-controlled value while the read size comes from another. An attacker could craft a malformed file that, when opened, triggers the overflow and potentially leads to remote code execution.
Originally disclosed on Cisco Talos
A heap overflow vulnerability exists in Pixar OpenUSD 20.05 when the software parses compressed sections in binary USD files. A specially crafted malformed file can trigger a heap overflow 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 code allocates a buffer based on one file-controlled count but then reads a different file-controlled size into it without checking that the read fits.
Impact
A crafted USD file could cause a heap overflow that may lead to arbitrary code execution when the file is opened or thumbnailed.
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.
A heap overflow happens when a program writes more data into a memory buffer than it was allocated to hold, corrupting nearby memory. Here, the program reads two numbers from the file: one decides how big a buffer is, the other decides how much data is copied into it. If the second number is larger, the extra data spills over and can 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.