Open Babel MSI format atom uninitialized pointer dereference vulnerability
A use of an uninitialized pointer in Open Babel's MSI format parser allows an attacker to supply a malformed file that triggers arbitrary memory writes, potentially leading to code execution.
Originally disclosed on Cisco Talos
A use of uninitialized pointer vulnerability exists in the MSI format atom functionality of Open Babel 3.1.1 and master commit 530dbfa3. A specially crafted malformed file can lead to arbitrary 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
Impact
An attacker could achieve arbitrary code execution by providing a malicious file, though the exploitability depends on stack layout and compilation.
What the attacker needed
Victim opens a malicious MSI file; Open Babel used as backend
How it was found
- Create a malformed MSI file containing only 'XYZ' lines.
- Run the obabel converter with the MSI input format and an output format, e.g., SDF.
- The program crashes or executes arbitrary writes due to the uninitialized pointer.
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.
Open Babel is a tool that converts chemical file formats. A bug in how it reads a particular format (MSI) means that if you give it a specially crafted file, it can write data to memory locations it shouldn't, which could let an attacker run their own code on the 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.