Skip to content
Memory corruption Advisory Advanced CVE-2020-6155

Pixar OpenUSD Binary File Format Compressed Value Reps Code Execution Vulnerabilities

A heap buffer overflow exists in Pixar OpenUSD when parsing compressed value rep arrays in binary USD files. An attacker could craft a malformed file that triggers the overflow, potentially leading to remote code execution when the victim opens the file.

Aleksandar Nikolic Follow

Originally disclosed on Cisco Talos

High 8.8 View original

A heap overflow vulnerability exists in the Pixar OpenUSD 20.05 while parsing compressed value rep arrays in binary USD files. A specially crafted malformed file can trigger a heap overflow, which can result in remote code execution.

Aleksandar Nikolic, on Cisco Talos

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 reads a size value from the file and uses it to allocate a buffer, but then reads another size value and uses that to read data into the buffer without checking if it exceeds the allocated size.

Impact

This could lead to remote code execution, but the victim must access the malformed file.

What the attacker needed

Victim opens a malformed USD file

The fix

The vulnerability was fixed by the vendor, as confirmed by testing with a later macOS beta.

How it was found

  1. Place a specific reps entry in the reps array inside the FIELDS section.
  2. Set the entry to point to an offset where a compressed array value is encoded.
  3. At that offset, provide a size value that determines the buffer allocation.
  4. Provide a larger size value for the compressed data read, causing the overflow.

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 is a memory corruption bug where a program writes more data into a memory buffer than it can hold, potentially allowing an attacker to control the program's execution. In this case, a specially crafted 3D model file can cause such an overflow when opened, and the attacker might then run their own code on the victim's computer.

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.

More by Aleksandar Nikolic

View all

147 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.