CVE-2022-46291
High · 7.8CVSS
7.8
EPSS
0.8%
Published
Jul 21, 2023
CISA due date
—
Cloudanix analysis
A flaw in widely used chemistry file software can let attackers take over a computer if someone opens a specially made data file.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Out-of-bounds write during translationVectors parsing in multiple file formats including MSI, enabling arbitrary code execution when a malformed file is processed.
Why it matters to the business
Systems handling molecular data files can be compromised, allowing attackers to execute code and potentially disrupt scientific workflows or exfiltrate research data.
How an attack unfolds
An attacker creates a specially crafted MSI file containing malformed translationVectors data; when the file is opened or converted using the vulnerable library, the parser writes outside allocated buffers and executes attacker-controlled code.
How to fix it
Upgrade to a patched version of Open Babel once released; in the interim, disable or sandbox processing of untrusted MSI files and restrict Open Babel usage to trusted inputs only.
How to confirm the fix worked
Verify the installed Open Babel version against security advisories; test file processing with known-good and known-malformed MSI samples in an isolated environment to confirm absence of crashes or unexpected behavior.
Typical attack path
- Craft a malicious MSI file with oversized or invalid translationVectors structures
- Deliver the file via email, download, or shared storage
- Victim opens or processes the file with Open Babel
- Parser triggers out-of-bounds write leading to code execution
How to detect it
Review process execution logs and crash reports for Open Babel invocations involving MSI files; look for unexpected child processes or memory corruption indicators following file conversion attempts.
What your security team should do
- Block or sandbox Open Babel execution on untrusted MSI files
- Monitor vendor channels for official fixed releases and apply promptly
- Restrict Open Babel to internal, vetted data sources only
The record
Multiple out-of-bounds write vulnerabilities exist in the translationVectors parsing functionality in multiple supported formats of Open Babel 3.1.1 and master commit 530dbfa3. A specially-crafted malformed file can lead to arbitrary code execution. An attacker can provide a malicious file to trigger this vulnerability.This vulnerability affects the MSI file format
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | openbabel | 0 | No fix |
| Debian:12 | openbabel | 0 | No fix |
| Debian:13 | openbabel | 0 | No fix |
| Debian:14 | openbabel | 0 | No fix |
| Ubuntu:16.04:LTS | openbabel | 0 | No fix |
| Ubuntu:18.04:LTS | openbabel | 0 | No fix |
| Ubuntu:20.04:LTS | openbabel | 0 | No fix |
| Ubuntu:22.04:LTS | openbabel | 0 | No fix |
| Ubuntu:24.04:LTS | openbabel | 0 | No fix |
| Ubuntu:24.10 | openbabel | 0 | No fix |
| Ubuntu:25.04 | openbabel | 0 | No fix |
| Ubuntu:25.10 | openbabel | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | openbabel | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | openbabel | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | openbabel | 0 | No fix |
| openSUSE:Leap 16.0 | openbabel | 0 | 3.2.0-bp160.1.1 |
| openSUSE:Tumbleweed | openbabel | 0 | 3.2.0-1.1 |
Related vulnerabilities
- CVE-2022-46294 Multiple out-of-bounds write vulnerabilities exist in the translationVectors parsing… Also affects openbabel
- CVE-2022-46293 Multiple out-of-bounds write vulnerabilities exist in the translationVectors parsing… Also affects openbabel
- CVE-2022-46295 Multiple out-of-bounds write vulnerabilities exist in the translationVectors parsing… Also affects openbabel
- CVE-2022-37331 An out-of-bounds write vulnerability exists in the Gaussian format orientation… Also affects openbabel
- CVE-2022-43607 An out-of-bounds write vulnerability exists in the MOL2 format attribute and value… Also affects openbabel
- CVE-2022-42885 A use of uninitialized pointer vulnerability exists in the GRO format res functionality… Also affects openbabel
- CVE-2022-41793 An out-of-bounds write vulnerability exists in the CSR format title functionality of Open… Also affects openbabel
- CVE-2022-43467 An out-of-bounds write vulnerability exists in the PQS format coord_file functionality of… Also affects openbabel