{"id":"UBUNTU-CVE-2022-37331","details":"An out-of-bounds write vulnerability exists in the Gaussian format orientation 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.","modified":"2026-01-20T17:58:18.935263Z","published":"2023-07-21T21:15:00Z","upstream":["CVE-2022-37331"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-37331"},{"type":"REPORT","url":"https://talosintelligence.com/vulnerability_reports/TALOS-2022-1672"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-37331"}],"affected":[{"package":{"name":"openbabel","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/openbabel@2.3.2+dfsg-2.2build1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.2+dfsg-2.2","2.3.2+dfsg-2.2build1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.3.2+dfsg-2.2build1","binary_name":"libchemistry-openbabel-perl"},{"binary_version":"2.3.2+dfsg-2.2build1","binary_name":"libopenbabel-dev"},{"binary_version":"2.3.2+dfsg-2.2build1","binary_name":"libopenbabel4v5"},{"binary_version":"2.3.2+dfsg-2.2build1","binary_name":"openbabel"},{"binary_version":"2.3.2+dfsg-2.2build1","binary_name":"openbabel-gui"},{"binary_version":"2.3.2+dfsg-2.2build1","binary_name":"python-openbabel"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37331.json"}},{"package":{"name":"openbabel","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/openbabel@2.3.2+dfsg-3build1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.2+dfsg-3build1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.3.2+dfsg-3build1","binary_name":"libchemistry-openbabel-perl"},{"binary_version":"2.3.2+dfsg-3build1","binary_name":"libopenbabel-dev"},{"binary_version":"2.3.2+dfsg-3build1","binary_name":"libopenbabel4v5"},{"binary_version":"2.3.2+dfsg-3build1","binary_name":"openbabel"},{"binary_version":"2.3.2+dfsg-3build1","binary_name":"openbabel-gui"},{"binary_version":"2.3.2+dfsg-3build1","binary_name":"python-openbabel"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37331.json"}},{"package":{"name":"openbabel","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/openbabel@3.0.0+dfsg-3ubuntu3?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.4.1+dfsg-3","2.4.1+dfsg-3build1","2.4.1+dfsg-5.1","2.4.1+dfsg-6","3.0.0+dfsg-3","3.0.0+dfsg-3ubuntu3"],"ecosystem_specific":{"binaries":[{"binary_version":"3.0.0+dfsg-3ubuntu3","binary_name":"libchemistry-openbabel-perl"},{"binary_version":"3.0.0+dfsg-3ubuntu3","binary_name":"libopenbabel-dev"},{"binary_version":"3.0.0+dfsg-3ubuntu3","binary_name":"libopenbabel6"},{"binary_version":"3.0.0+dfsg-3ubuntu3","binary_name":"openbabel"},{"binary_version":"3.0.0+dfsg-3ubuntu3","binary_name":"openbabel-gui"},{"binary_version":"3.0.0+dfsg-3ubuntu3","binary_name":"python3-openbabel"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37331.json"}},{"package":{"name":"openbabel","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/openbabel@3.1.1+dfsg-6ubuntu5?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.1+dfsg-6ubuntu1","3.1.1+dfsg-6ubuntu5"],"ecosystem_specific":{"binaries":[{"binary_version":"3.1.1+dfsg-6ubuntu5","binary_name":"libchemistry-openbabel-perl"},{"binary_version":"3.1.1+dfsg-6ubuntu5","binary_name":"libopenbabel-dev"},{"binary_version":"3.1.1+dfsg-6ubuntu5","binary_name":"libopenbabel7"},{"binary_version":"3.1.1+dfsg-6ubuntu5","binary_name":"openbabel"},{"binary_version":"3.1.1+dfsg-6ubuntu5","binary_name":"openbabel-gui"},{"binary_version":"3.1.1+dfsg-6ubuntu5","binary_name":"python3-openbabel"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37331.json"}},{"package":{"name":"openbabel","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/openbabel@3.1.1+dfsg-9ubuntu5?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.1+dfsg-9build2","3.1.1+dfsg-9ubuntu1","3.1.1+dfsg-9ubuntu2","3.1.1+dfsg-9ubuntu4","3.1.1+dfsg-9ubuntu5"],"ecosystem_specific":{"binaries":[{"binary_version":"3.1.1+dfsg-9ubuntu5","binary_name":"libchemistry-openbabel-perl"},{"binary_version":"3.1.1+dfsg-9ubuntu5","binary_name":"libopenbabel-dev"},{"binary_version":"3.1.1+dfsg-9ubuntu5","binary_name":"libopenbabel7"},{"binary_version":"3.1.1+dfsg-9ubuntu5","binary_name":"openbabel"},{"binary_version":"3.1.1+dfsg-9ubuntu5","binary_name":"openbabel-gui"},{"binary_version":"3.1.1+dfsg-9ubuntu5","binary_name":"python3-openbabel"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37331.json"}},{"package":{"name":"openbabel","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/openbabel@3.1.1+dfsg-11ubuntu4?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.1+dfsg-11ubuntu3","3.1.1+dfsg-11ubuntu4"],"ecosystem_specific":{"binaries":[{"binary_version":"3.1.1+dfsg-11ubuntu4","binary_name":"libchemistry-openbabel-perl"},{"binary_version":"3.1.1+dfsg-11ubuntu4","binary_name":"libopenbabel-dev"},{"binary_version":"3.1.1+dfsg-11ubuntu4","binary_name":"libopenbabel7"},{"binary_version":"3.1.1+dfsg-11ubuntu4","binary_name":"openbabel"},{"binary_version":"3.1.1+dfsg-11ubuntu4","binary_name":"openbabel-gui"},{"binary_version":"3.1.1+dfsg-11ubuntu4","binary_name":"python3-openbabel"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37331.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}