Blender Sequencer dpxOpen Buffer Overflow Code Execution Vulnerability
A crafted DPX/CINEON image file can cause an integer overflow when Blender calculates buffer size, leading to a heap-based buffer overflow. An attacker could exploit this to execute code under the context of the application by convincing a user to load the file.
An exploitable integer overflow exists in the DPX loading functionality of the Blender open-source 3d creation suite version 2.78c. A specially crafted .cin file can cause an integer overflow resulting in a buffer overflow which can allow for code execution under the context of the application.
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 application fails to validate the number of elements read from the file header before using it to index into a fixed-size array, causing an out-of-bounds write.
Impact
A specially crafted file could allow code execution under the context of the application, but the attacker must convince a user to load the file.
What the attacker needed
Victim opens a malicious .cin file
How it was found
- Create a malicious .cin file using the provided generator.
- Open the file in Blender as an asset or pass it as a command-line argument.
- The application loads the file and triggers the buffer 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.
Blender, a 3D creation tool, can open image files. A specially made image file can trick Blender into reserving too little memory for the image data, and then writing more data than fits, which can crash the program or let an attacker run their own code. The attacker needs the victim to open the malicious file.
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.