CVE-2022-43467
High · 7.8CVSS
7.8
EPSS
0.8%
Published
Jul 21, 2023
CISA due date
—
Cloudanix analysis
A bug in widely used chemistry software can let attackers take over a computer simply by getting someone to open a specially made 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 PQS format coord_file parsing allows memory corruption that can be leveraged for arbitrary code execution.
Why it matters to the business
Systems that process chemistry or molecular files with Open Babel become susceptible to remote code execution, risking data theft, ransomware deployment, or full host compromise in research and scientific computing environments.
How an attack unfolds
An attacker crafts a malformed PQS file containing specially constructed coordinate data, then delivers it via email, download, or shared storage; when a user or automated workflow opens the file with vulnerable Open Babel, the parser writes beyond allocated buffers and achieves code execution.
How to fix it
Upgrade Open Babel to a patched release once available; until then, disable or sandbox the PQS format parser and avoid opening untrusted molecular files with the library.
How to confirm the fix worked
Rebuild or obtain a patched binary, then attempt to parse both benign and known-triggering PQS test files in an isolated environment while monitoring for crashes or unexpected memory writes.
Typical attack path
- Generate malformed PQS coordinate file exploiting coord_file parsing
- Host or transmit the file through common delivery channels
- Victim opens the file directly or via batch processing with Open Babel
- Out-of-bounds write triggers shellcode or ROP chain for code execution
How to detect it
Review application and system logs for Open Babel crashes or segmentation faults during PQS file handling; correlate with file creation or download events involving .pqs extensions.
What your security team should do
- Inventory all instances of Open Babel across development, research, and CI systems
- Block or quarantine untrusted PQS and related molecular files at email gateways and file shares
- Apply updates immediately upon release and verify removal of the vulnerable commit
- Consider replacing Open Babel with maintained alternatives for production workflows
The record
An out-of-bounds write vulnerability exists in the PQS format coord_file functionality 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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | openbabel | 0 | No fix |
| Debian:12 | openbabel | 0 | No fix |
| Debian:13 | 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-46290 Multiple out-of-bounds write vulnerabilities exist in the ORCA format nAtoms… Also affects openbabel