Skip to content
Memory corruption Advisory Advanced CVE-2022-44451

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.

Claudio Bozzato Follow

Originally disclosed on Cisco Talos

Critical 9.8 View original

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.

Claudio Bozzato, 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

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

  1. Create a malformed MSI file containing only 'XYZ' lines.
  2. Run the obabel converter with the MSI input format and an output format, e.g., SDF.
  3. 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.

More by Claudio Bozzato

View all

185 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.