(0Day) Open Robotics RViz fillIndexBuffer Heap-based Buffer Overflow Remote Code Execution Vulnerability
RViz does not properly check the length of user-supplied data when handling mesh resources in PointCloud and Marker displays, then copies that data into a heap-based buffer. A network-adjacent attacker could exploit this to execute arbitrary code in the context of the service account.
Originally disclosed on Zero Day Initiative
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Open Robotics RViz. Authentication is not required to exploit this vulnerability.
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 a missing length check before copying attacker-controlled mesh data into a fixed-size heap buffer.
Impact
A network-adjacent attacker could execute arbitrary code in the context of the service account; the only suggested mitigation is to restrict interaction with the product.
What the attacker needed
Network-adjacent access to the product; crafted mesh resource loaded by RViz
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.
RViz is a tool for visualising robot sensor data. It reads mesh files, and when it copies data from such a file into memory it does not first check how much data there is, so a crafted file can overflow the memory area and let an attacker run their own code. 'Heap-based buffer' just means a block of working memory that the program manages at runtime.
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.