Vulnerability · Published Jul 21, 2023 · Assigned by talos
CVE-2022-46290
Critical 9.8
In plain English
A critical-severity heap buffer overflow in Open Babel from Open Babel. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Multiple out-of-bounds write vulnerabilities exist in the ORCA format nAtoms 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.The loop that stores the coordinates does not check its index against nAtoms
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | openbabel | no fix listed | DEBIAN-CVE-2022-46290 |
| Debian:13 | openbabel | no fix listed | DEBIAN-CVE-2022-46290 |
| Debian:14 | openbabel | no fix listed | DEBIAN-CVE-2022-46290 |
| PyPI | openbabel | 3.2.0 | GHSA-5rff-8f7c-8jmw |
| PyPI | openbabel | 3.2.0 | PYSEC-2026-2773 |
| Ubuntu:22.04:LTS | openbabel | no fix listed | UBUNTU-CVE-2022-46290 |
| Ubuntu:24.04:LTS | openbabel | no fix listed | UBUNTU-CVE-2022-46290 |
| Ubuntu:25.10 | openbabel | no fix listed | UBUNTU-CVE-2022-46290 |
| Ubuntu:26.04:LTS | openbabel | no fix listed | UBUNTU-CVE-2022-46290 |
| Ubuntu:26.10 | openbabel | no fix listed | UBUNTU-CVE-2022-46290 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Open Babel | Open Babel | 3.1.1master commit 530dbfa3 |
Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H