{"id":"UBUNTU-CVE-2026-2704","details":"A security vulnerability has been detected in Open Babel up to 3.1.1. The affected element is the function OpenBabel::transform3d::DescribeAsString of the file src/math/transform3d.cpp of the component CIF File Handler. The manipulation leads to out-of-bounds read. It is possible to initiate the attack remotely. The exploit has been disclosed publicly and may be used. Upgrading to version 3.2.0 is sufficient to fix this issue. The identifier of the patch is e23a224b8fd9d7c2a7cde9ef4ec6afb4c05aa08a. It is suggested to install a patch to address this issue.","modified":"2026-09-16T14:01:50.730614531Z","published":"2026-02-19T07:17:00Z","upstream":["CVE-2026-2704"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-2704"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-2704"},{"type":"REPORT","url":"https://github.com/openbabel/openbabel/issues/2848"},{"type":"REPORT","url":"https://github.com/oneafter/0128/blob/main/ob1/repro.cif"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.346650"},{"type":"REPORT","url":"https://vuldb.com/?id.346650"},{"type":"REPORT","url":"https://vuldb.com/?submit.754378"}],"affected":[{"package":{"name":"openbabel","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/openbabel?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_name":"libchemistry-openbabel-perl","binary_version":"2.3.2+dfsg-2.2build1"},{"binary_version":"2.3.2+dfsg-2.2build1","binary_name":"libopenbabel4v5"},{"binary_name":"openbabel","binary_version":"2.3.2+dfsg-2.2build1"},{"binary_version":"2.3.2+dfsg-2.2build1","binary_name":"openbabel-gui"},{"binary_name":"python-openbabel","binary_version":"2.3.2+dfsg-2.2build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-2704.json"}},{"package":{"name":"openbabel","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/openbabel?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.2+dfsg-3build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libchemistry-openbabel-perl","binary_version":"2.3.2+dfsg-3build1"},{"binary_version":"2.3.2+dfsg-3build1","binary_name":"libopenbabel4v5"},{"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","binary_version":"2.3.2+dfsg-3build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-2704.json"}},{"package":{"name":"openbabel","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/openbabel?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_name":"libchemistry-openbabel-perl","binary_version":"3.0.0+dfsg-3ubuntu3"},{"binary_version":"3.0.0+dfsg-3ubuntu3","binary_name":"libopenbabel6"},{"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","binary_version":"3.0.0+dfsg-3ubuntu3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-2704.json"}},{"package":{"name":"openbabel","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/openbabel?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":"libopenbabel7"},{"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","binary_version":"3.1.1+dfsg-6ubuntu5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-2704.json"}},{"package":{"name":"openbabel","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/openbabel?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_name":"libchemistry-openbabel-perl","binary_version":"3.1.1+dfsg-9ubuntu5"},{"binary_name":"libopenbabel7","binary_version":"3.1.1+dfsg-9ubuntu5"},{"binary_version":"3.1.1+dfsg-9ubuntu5","binary_name":"openbabel"},{"binary_name":"openbabel-gui","binary_version":"3.1.1+dfsg-9ubuntu5"},{"binary_name":"python3-openbabel","binary_version":"3.1.1+dfsg-9ubuntu5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-2704.json"}},{"package":{"name":"openbabel","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/openbabel?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_name":"libchemistry-openbabel-perl","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","binary_version":"3.1.1+dfsg-11ubuntu4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-2704.json"}},{"package":{"name":"openbabel","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/openbabel?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.1+dfsg-11ubuntu4","3.1.1+dfsg-11ubuntu5"],"ecosystem_specific":{"binaries":[{"binary_version":"3.1.1+dfsg-11ubuntu5","binary_name":"libchemistry-openbabel-perl"},{"binary_version":"3.1.1+dfsg-11ubuntu5","binary_name":"libopenbabel7"},{"binary_name":"openbabel","binary_version":"3.1.1+dfsg-11ubuntu5"},{"binary_name":"openbabel-gui","binary_version":"3.1.1+dfsg-11ubuntu5"},{"binary_name":"python3-openbabel","binary_version":"3.1.1+dfsg-11ubuntu5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-2704.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P"},{"type":"Ubuntu","score":"medium"}]}